From b54b7592d3e2a89de1b5ee19c12538b5c4d86d92 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Sat, 7 Feb 2026 18:30:47 -0800
Subject: [PATCH] chore: regenerate youtube client
---
.../v3/2.0.0/README.md | 4 +-
.../google/api/services/youtube/YouTube.java | 221 -----------------
.../youtube/model/BatchGetStatsResponse.java | 119 ---------
.../youtube/model/LiveChatGiftDetails.java | 234 ++++++++++++++++++
.../youtube/model/LiveChatMessageSnippet.java | 26 +-
.../api/services/youtube/model/VideoStat.java | 195 ---------------
.../model/VideoStatsContentDetails.java | 73 ------
.../youtube/model/VideoStatsSnippet.java | 73 ------
.../youtube/model/VideoStatsStatistics.java | 117 ---------
.../v3/2.0.0/pom.xml | 4 +-
.../google-api-services-youtube/v3/README.md | 4 +-
11 files changed, 265 insertions(+), 805 deletions(-)
delete mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/BatchGetStatsResponse.java
create mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/LiveChatGiftDetails.java
delete mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStat.java
delete mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsContentDetails.java
delete mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsSnippet.java
delete mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsStatistics.java
diff --git a/clients/google-api-services-youtube/v3/2.0.0/README.md b/clients/google-api-services-youtube/v3/2.0.0/README.md
index a9129564aca..7473174ecfb 100644
--- a/clients/google-api-services-youtube/v3/2.0.0/README.md
+++ b/clients/google-api-services-youtube/v3/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
- *
- * {@code YouTube youtube = new YouTube(...);}
- * {@code YouTube.Videos.List request = youtube.videos().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Videos videos() {
- return new Videos();
- }
-
- /**
- * The "videos" collection of methods.
- */
- public class Videos {
-
- /**
- * Retrieves a batch of VideoStat resources, possibly filtered.
- *
- * Create a request for the method "videos.batchGetStats".
- *
- * This request holds the parameters needed by the youtube server. After setting any optional
- * parameters, call the {@link BatchGetStats#execute()} method to invoke the remote operation.
- *
- * @return the request
- */
- public BatchGetStats batchGetStats() throws java.io.IOException {
- BatchGetStats result = new BatchGetStats();
- initialize(result);
- return result;
- }
-
- public class BatchGetStats extends YouTubeRequest- * {@link BatchGetStats#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR - * equest)} must be called to initialize this instance immediately after invoking the constructor. - *
- * - * @since 1.13 - */ - protected BatchGetStats() { - super(YouTube.this, "GET", REST_PATH, null, com.google.api.services.youtube.model.BatchGetStatsResponse.class); - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public BatchGetStats set$Xgafv(java.lang.String $Xgafv) { - return (BatchGetStats) super.set$Xgafv($Xgafv); - } - - @Override - public BatchGetStats setAccessToken(java.lang.String accessToken) { - return (BatchGetStats) super.setAccessToken(accessToken); - } - - @Override - public BatchGetStats setAlt(java.lang.String alt) { - return (BatchGetStats) super.setAlt(alt); - } - - @Override - public BatchGetStats setCallback(java.lang.String callback) { - return (BatchGetStats) super.setCallback(callback); - } - - @Override - public BatchGetStats setFields(java.lang.String fields) { - return (BatchGetStats) super.setFields(fields); - } - - @Override - public BatchGetStats setKey(java.lang.String key) { - return (BatchGetStats) super.setKey(key); - } - - @Override - public BatchGetStats setOauthToken(java.lang.String oauthToken) { - return (BatchGetStats) super.setOauthToken(oauthToken); - } - - @Override - public BatchGetStats setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchGetStats) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchGetStats setQuotaUser(java.lang.String quotaUser) { - return (BatchGetStats) super.setQuotaUser(quotaUser); - } - - @Override - public BatchGetStats setUploadType(java.lang.String uploadType) { - return (BatchGetStats) super.setUploadType(uploadType); - } - - @Override - public BatchGetStats setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchGetStats) super.setUploadProtocol(uploadProtocol); - } - - /** Required. Return videos with the given ids. */ - @com.google.api.client.util.Key - private java.util.ListThis 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: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class BatchGetStatsResponse extends com.google.api.client.json.GenericJson { - - /** - * Output only. Etag of this resource. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** - * Output only. The videos' stats information. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LiveChatGiftDetails extends com.google.api.client.json.GenericJson { + + /** + * The alternative text to be used for accessibility. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String altText; + + /** + * The number of times the gift has been sent in a row. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer comboCount; + + /** + * The duration of the gift. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String giftDuration; + + /** + * The name of the gift. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String giftName; + + /** + * The URL of the gift image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String giftUrl; + + /** + * Whether the gift involves a visual effect. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasVisualEffect; + + /** + * The cost of the gift in jewels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer jewelsCount; + + /** + * The BCP-47 language code of the gift. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String language; + + /** + * The alternative text to be used for accessibility. + * @return value or {@code null} for none + */ + public java.lang.String getAltText() { + return altText; + } + + /** + * The alternative text to be used for accessibility. + * @param altText altText or {@code null} for none + */ + public LiveChatGiftDetails setAltText(java.lang.String altText) { + this.altText = altText; + return this; + } + + /** + * The number of times the gift has been sent in a row. + * @return value or {@code null} for none + */ + public java.lang.Integer getComboCount() { + return comboCount; + } + + /** + * The number of times the gift has been sent in a row. + * @param comboCount comboCount or {@code null} for none + */ + public LiveChatGiftDetails setComboCount(java.lang.Integer comboCount) { + this.comboCount = comboCount; + return this; + } + + /** + * The duration of the gift. + * @return value or {@code null} for none + */ + public String getGiftDuration() { + return giftDuration; + } + + /** + * The duration of the gift. + * @param giftDuration giftDuration or {@code null} for none + */ + public LiveChatGiftDetails setGiftDuration(String giftDuration) { + this.giftDuration = giftDuration; + return this; + } + + /** + * The name of the gift. + * @return value or {@code null} for none + */ + public java.lang.String getGiftName() { + return giftName; + } + + /** + * The name of the gift. + * @param giftName giftName or {@code null} for none + */ + public LiveChatGiftDetails setGiftName(java.lang.String giftName) { + this.giftName = giftName; + return this; + } + + /** + * The URL of the gift image. + * @return value or {@code null} for none + */ + public java.lang.String getGiftUrl() { + return giftUrl; + } + + /** + * The URL of the gift image. + * @param giftUrl giftUrl or {@code null} for none + */ + public LiveChatGiftDetails setGiftUrl(java.lang.String giftUrl) { + this.giftUrl = giftUrl; + return this; + } + + /** + * Whether the gift involves a visual effect. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasVisualEffect() { + return hasVisualEffect; + } + + /** + * Whether the gift involves a visual effect. + * @param hasVisualEffect hasVisualEffect or {@code null} for none + */ + public LiveChatGiftDetails setHasVisualEffect(java.lang.Boolean hasVisualEffect) { + this.hasVisualEffect = hasVisualEffect; + return this; + } + + /** + * The cost of the gift in jewels. + * @return value or {@code null} for none + */ + public java.lang.Integer getJewelsCount() { + return jewelsCount; + } + + /** + * The cost of the gift in jewels. + * @param jewelsCount jewelsCount or {@code null} for none + */ + public LiveChatGiftDetails setJewelsCount(java.lang.Integer jewelsCount) { + this.jewelsCount = jewelsCount; + return this; + } + + /** + * The BCP-47 language code of the gift. + * @return value or {@code null} for none + */ + public java.lang.String getLanguage() { + return language; + } + + /** + * The BCP-47 language code of the gift. + * @param language language or {@code null} for none + */ + public LiveChatGiftDetails setLanguage(java.lang.String language) { + this.language = language; + return this; + } + + @Override + public LiveChatGiftDetails set(String fieldName, Object value) { + return (LiveChatGiftDetails) super.set(fieldName, value); + } + + @Override + public LiveChatGiftDetails clone() { + return (LiveChatGiftDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/LiveChatMessageSnippet.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/LiveChatMessageSnippet.java index cc108187dd0..5fec6f3046b 100644 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/LiveChatMessageSnippet.java +++ b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/LiveChatMessageSnippet.java @@ -17,7 +17,7 @@ package com.google.api.services.youtube.model; /** - * Next ID: 34 + * Next ID: 35 * *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: @@ -59,6 +59,13 @@ public final class LiveChatMessageSnippet extends com.google.api.client.json.Gen @com.google.api.client.util.Key private LiveChatFanFundingEventDetails fanFundingEventDetails; + /** + * Details about the gift event, this is only set if the type is 'giftEvent'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LiveChatGiftDetails giftDetails; + /** * Details about the Gift Membership Received event, this is only set if the type is * 'giftMembershipReceivedEvent'. @@ -234,6 +241,23 @@ public LiveChatMessageSnippet setFanFundingEventDetails(LiveChatFanFundingEventD return this; } + /** + * Details about the gift event, this is only set if the type is 'giftEvent'. + * @return value or {@code null} for none + */ + public LiveChatGiftDetails getGiftDetails() { + return giftDetails; + } + + /** + * Details about the gift event, this is only set if the type is 'giftEvent'. + * @param giftDetails giftDetails or {@code null} for none + */ + public LiveChatMessageSnippet setGiftDetails(LiveChatGiftDetails giftDetails) { + this.giftDetails = giftDetails; + return this; + } + /** * Details about the Gift Membership Received event, this is only set if the type is * 'giftMembershipReceivedEvent'. diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStat.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStat.java deleted file mode 100644 index 69315ae9af0..00000000000 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStat.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * 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; - -/** - * A *VideoStat* resource represents a YouTube video's stats. - * - *
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: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class VideoStat extends com.google.api.client.json.GenericJson { - - /** - * Output only. The VideoStatsContentDetails object contains information about the video content, - * including the length of the video. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private VideoStatsContentDetails contentDetails; - - /** - * Output only. Etag of this resource. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** - * Output only. The ID that YouTube uses to uniquely identify the video. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String id; - - /** - * Output only. Identifies what kind of resource this is. Value: the fixed string - * "youtube#videoStats". - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String kind; - - /** - * Output only. The VideoStatsSnippet object contains basic details about the video, such publish - * time. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private VideoStatsSnippet snippet; - - /** - * Output only. The VideoStatsStatistics object contains statistics about the video. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private VideoStatsStatistics statistics; - - /** - * Output only. The VideoStatsContentDetails object contains information about the video content, - * including the length of the video. - * @return value or {@code null} for none - */ - public VideoStatsContentDetails getContentDetails() { - return contentDetails; - } - - /** - * Output only. The VideoStatsContentDetails object contains information about the video content, - * including the length of the video. - * @param contentDetails contentDetails or {@code null} for none - */ - public VideoStat setContentDetails(VideoStatsContentDetails contentDetails) { - this.contentDetails = contentDetails; - return this; - } - - /** - * Output only. Etag of this resource. - * @return value or {@code null} for none - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * Output only. Etag of this resource. - * @param etag etag or {@code null} for none - */ - public VideoStat setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - - /** - * Output only. The ID that YouTube uses to uniquely identify the video. - * @return value or {@code null} for none - */ - public java.lang.String getId() { - return id; - } - - /** - * Output only. The ID that YouTube uses to uniquely identify the video. - * @param id id or {@code null} for none - */ - public VideoStat setId(java.lang.String id) { - this.id = id; - return this; - } - - /** - * Output only. Identifies what kind of resource this is. Value: the fixed string - * "youtube#videoStats". - * @return value or {@code null} for none - */ - public java.lang.String getKind() { - return kind; - } - - /** - * Output only. Identifies what kind of resource this is. Value: the fixed string - * "youtube#videoStats". - * @param kind kind or {@code null} for none - */ - public VideoStat setKind(java.lang.String kind) { - this.kind = kind; - return this; - } - - /** - * Output only. The VideoStatsSnippet object contains basic details about the video, such publish - * time. - * @return value or {@code null} for none - */ - public VideoStatsSnippet getSnippet() { - return snippet; - } - - /** - * Output only. The VideoStatsSnippet object contains basic details about the video, such publish - * time. - * @param snippet snippet or {@code null} for none - */ - public VideoStat setSnippet(VideoStatsSnippet snippet) { - this.snippet = snippet; - return this; - } - - /** - * Output only. The VideoStatsStatistics object contains statistics about the video. - * @return value or {@code null} for none - */ - public VideoStatsStatistics getStatistics() { - return statistics; - } - - /** - * Output only. The VideoStatsStatistics object contains statistics about the video. - * @param statistics statistics or {@code null} for none - */ - public VideoStat setStatistics(VideoStatsStatistics statistics) { - this.statistics = statistics; - return this; - } - - @Override - public VideoStat set(String fieldName, Object value) { - return (VideoStat) super.set(fieldName, value); - } - - @Override - public VideoStat clone() { - return (VideoStat) super.clone(); - } - -} diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsContentDetails.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsContentDetails.java deleted file mode 100644 index ababfe45f2e..00000000000 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsContentDetails.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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; - -/** - * Details about the content of a YouTube Video. This is a subset of the information in - * VideoContentDetails specifically for the Videos.stats API. - * - *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: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class VideoStatsContentDetails extends com.google.api.client.json.GenericJson { - - /** - * Output only. The length of the video. The property value is a - * [`google.protobuf.Duration`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#duration) object. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private String duration; - - /** - * Output only. The length of the video. The property value is a - * [`google.protobuf.Duration`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#duration) object. - * @return value or {@code null} for none - */ - public String getDuration() { - return duration; - } - - /** - * Output only. The length of the video. The property value is a - * [`google.protobuf.Duration`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#duration) object. - * @param duration duration or {@code null} for none - */ - public VideoStatsContentDetails setDuration(String duration) { - this.duration = duration; - return this; - } - - @Override - public VideoStatsContentDetails set(String fieldName, Object value) { - return (VideoStatsContentDetails) super.set(fieldName, value); - } - - @Override - public VideoStatsContentDetails clone() { - return (VideoStatsContentDetails) super.clone(); - } - -} diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsSnippet.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsSnippet.java deleted file mode 100644 index b173e40bd03..00000000000 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsSnippet.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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; - -/** - * Basic details about a video. This is a subset of the information in VideoSnippet specifically for - * the Videos.stats API. - * - *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: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class VideoStatsSnippet extends com.google.api.client.json.GenericJson { - - /** - * Output only. The date and time that the video was uploaded. The property value is a - * [`google.protobuf.Timestamp`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#timestamp) object. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private String publishTime; - - /** - * Output only. The date and time that the video was uploaded. The property value is a - * [`google.protobuf.Timestamp`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#timestamp) object. - * @return value or {@code null} for none - */ - public String getPublishTime() { - return publishTime; - } - - /** - * Output only. The date and time that the video was uploaded. The property value is a - * [`google.protobuf.Timestamp`](https://developers.google.com/protocol- - * buffers/docs/reference/google.protobuf#timestamp) object. - * @param publishTime publishTime or {@code null} for none - */ - public VideoStatsSnippet setPublishTime(String publishTime) { - this.publishTime = publishTime; - return this; - } - - @Override - public VideoStatsSnippet set(String fieldName, Object value) { - return (VideoStatsSnippet) super.set(fieldName, value); - } - - @Override - public VideoStatsSnippet clone() { - return (VideoStatsSnippet) super.clone(); - } - -} diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsStatistics.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsStatistics.java deleted file mode 100644 index 39329615638..00000000000 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/VideoStatsStatistics.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * 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; - -/** - * Statistics about the video, such as the number of times the video was viewed or liked. - * - *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: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class VideoStatsStatistics extends com.google.api.client.json.GenericJson { - - /** - * Output only. The number of comments for the video. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key @com.google.api.client.json.JsonString - private java.lang.Long commentCount; - - /** - * Output only. The number of users who have indicated that they liked the video by giving it a - * positive rating. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key @com.google.api.client.json.JsonString - private java.lang.Long likeCount; - - /** - * Output only. The number of times the video has been viewed. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key @com.google.api.client.json.JsonString - private java.lang.Long viewCount; - - /** - * Output only. The number of comments for the video. - * @return value or {@code null} for none - */ - public java.lang.Long getCommentCount() { - return commentCount; - } - - /** - * Output only. The number of comments for the video. - * @param commentCount commentCount or {@code null} for none - */ - public VideoStatsStatistics setCommentCount(java.lang.Long commentCount) { - this.commentCount = commentCount; - return this; - } - - /** - * Output only. The number of users who have indicated that they liked the video by giving it a - * positive rating. - * @return value or {@code null} for none - */ - public java.lang.Long getLikeCount() { - return likeCount; - } - - /** - * Output only. The number of users who have indicated that they liked the video by giving it a - * positive rating. - * @param likeCount likeCount or {@code null} for none - */ - public VideoStatsStatistics setLikeCount(java.lang.Long likeCount) { - this.likeCount = likeCount; - return this; - } - - /** - * Output only. The number of times the video has been viewed. - * @return value or {@code null} for none - */ - public java.lang.Long getViewCount() { - return viewCount; - } - - /** - * Output only. The number of times the video has been viewed. - * @param viewCount viewCount or {@code null} for none - */ - public VideoStatsStatistics setViewCount(java.lang.Long viewCount) { - this.viewCount = viewCount; - return this; - } - - @Override - public VideoStatsStatistics set(String fieldName, Object value) { - return (VideoStatsStatistics) super.set(fieldName, value); - } - - @Override - public VideoStatsStatistics clone() { - return (VideoStatsStatistics) super.clone(); - } - -} diff --git a/clients/google-api-services-youtube/v3/2.0.0/pom.xml b/clients/google-api-services-youtube/v3/2.0.0/pom.xml index f4ff87aba75..520bbf7a5d8 100644 --- a/clients/google-api-services-youtube/v3/2.0.0/pom.xml +++ b/clients/google-api-services-youtube/v3/2.0.0/pom.xml @@ -8,8 +8,8 @@