-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate youtube client (#25014)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
a98df69
commit 340d03c
Showing
5 changed files
with
292 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
141 changes: 141 additions & 0 deletions
141
...pi-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoTrainability.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.youtube.model; | ||
|
||
/** | ||
* Specifies who is allowed to train on the video. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: | ||
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class VideoTrainability extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Etag of this resource. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String etag; | ||
|
||
/** | ||
* Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability". | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String kind; | ||
|
||
/** | ||
* Specifies who is allowed to train on the video. Valid values are: - a single string "all" - a | ||
* single string "none" - a list of allowed parties | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<java.lang.String> permitted; | ||
|
||
/** | ||
* The ID of the video. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String videoId; | ||
|
||
/** | ||
* Etag of this resource. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getEtag() { | ||
return etag; | ||
} | ||
|
||
/** | ||
* Etag of this resource. | ||
* @param etag etag or {@code null} for none | ||
*/ | ||
public VideoTrainability setEtag(java.lang.String etag) { | ||
this.etag = etag; | ||
return this; | ||
} | ||
|
||
/** | ||
* Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability". | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getKind() { | ||
return kind; | ||
} | ||
|
||
/** | ||
* Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability". | ||
* @param kind kind or {@code null} for none | ||
*/ | ||
public VideoTrainability setKind(java.lang.String kind) { | ||
this.kind = kind; | ||
return this; | ||
} | ||
|
||
/** | ||
* Specifies who is allowed to train on the video. Valid values are: - a single string "all" - a | ||
* single string "none" - a list of allowed parties | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<java.lang.String> getPermitted() { | ||
return permitted; | ||
} | ||
|
||
/** | ||
* Specifies who is allowed to train on the video. Valid values are: - a single string "all" - a | ||
* single string "none" - a list of allowed parties | ||
* @param permitted permitted or {@code null} for none | ||
*/ | ||
public VideoTrainability setPermitted(java.util.List<java.lang.String> permitted) { | ||
this.permitted = permitted; | ||
return this; | ||
} | ||
|
||
/** | ||
* The ID of the video. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getVideoId() { | ||
return videoId; | ||
} | ||
|
||
/** | ||
* The ID of the video. | ||
* @param videoId videoId or {@code null} for none | ||
*/ | ||
public VideoTrainability setVideoId(java.lang.String videoId) { | ||
this.videoId = videoId; | ||
return this; | ||
} | ||
|
||
@Override | ||
public VideoTrainability set(String fieldName, Object value) { | ||
return (VideoTrainability) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public VideoTrainability clone() { | ||
return (VideoTrainability) super.clone(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters