public final class VideoStatistics extends GenericJson
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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VideoStatistics() |
| Modifier and Type | Method and Description |
|---|---|
VideoStatistics |
clone() |
BigInteger |
getCommentCount()
The number of comments for the video.
|
BigInteger |
getDislikeCount()
The number of users who have indicated that they disliked the video by giving it a negative
rating.
|
BigInteger |
getFavoriteCount()
The number of users who currently have the video marked as a favorite video.
|
BigInteger |
getLikeCount()
The number of users who have indicated that they liked the video by giving it a positive
rating.
|
BigInteger |
getViewCount()
The number of times the video has been viewed.
|
VideoStatistics |
set(String fieldName,
Object value) |
VideoStatistics |
setCommentCount(BigInteger commentCount)
The number of comments for the video.
|
VideoStatistics |
setDislikeCount(BigInteger dislikeCount)
The number of users who have indicated that they disliked the video by giving it a negative
rating.
|
VideoStatistics |
setFavoriteCount(BigInteger favoriteCount)
The number of users who currently have the video marked as a favorite video.
|
VideoStatistics |
setLikeCount(BigInteger likeCount)
The number of users who have indicated that they liked the video by giving it a positive
rating.
|
VideoStatistics |
setViewCount(BigInteger viewCount)
The number of times the video has been viewed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic BigInteger getCommentCount()
null for nonepublic VideoStatistics setCommentCount(BigInteger commentCount)
commentCount - commentCount or null for nonepublic BigInteger getDislikeCount()
null for nonepublic VideoStatistics setDislikeCount(BigInteger dislikeCount)
dislikeCount - dislikeCount or null for nonepublic BigInteger getFavoriteCount()
null for nonepublic VideoStatistics setFavoriteCount(BigInteger favoriteCount)
favoriteCount - favoriteCount or null for nonepublic BigInteger getLikeCount()
null for nonepublic VideoStatistics setLikeCount(BigInteger likeCount)
likeCount - likeCount or null for nonepublic BigInteger getViewCount()
null for nonepublic VideoStatistics setViewCount(BigInteger viewCount)
viewCount - viewCount or null for nonepublic VideoStatistics set(String fieldName, Object value)
set in class GenericJsonpublic VideoStatistics clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.