public final class VideoStatistics
extends com.google.api.client.json.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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
VideoStatistics() |
| Modifier and Type | Method and Description |
|---|---|
VideoStatistics |
clone() |
java.math.BigInteger |
getCommentCount()
The number of comments for the video.
|
java.math.BigInteger |
getDislikeCount()
The number of users who have indicated that they disliked the video by giving it a negative
rating.
|
java.math.BigInteger |
getFavoriteCount()
The number of users who currently have the video marked as a favorite video.
|
java.math.BigInteger |
getLikeCount()
The number of users who have indicated that they liked the video by giving it a positive
rating.
|
java.math.BigInteger |
getViewCount()
The number of times the video has been viewed.
|
VideoStatistics |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoStatistics |
setCommentCount(java.math.BigInteger commentCount)
The number of comments for the video.
|
VideoStatistics |
setDislikeCount(java.math.BigInteger dislikeCount)
The number of users who have indicated that they disliked the video by giving it a negative
rating.
|
VideoStatistics |
setFavoriteCount(java.math.BigInteger favoriteCount)
The number of users who currently have the video marked as a favorite video.
|
VideoStatistics |
setLikeCount(java.math.BigInteger likeCount)
The number of users who have indicated that they liked the video by giving it a positive
rating.
|
VideoStatistics |
setViewCount(java.math.BigInteger viewCount)
The number of times the video has been viewed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.math.BigInteger getCommentCount()
null for nonepublic VideoStatistics setCommentCount(java.math.BigInteger commentCount)
commentCount - commentCount or null for nonepublic java.math.BigInteger getDislikeCount()
null for nonepublic VideoStatistics setDislikeCount(java.math.BigInteger dislikeCount)
dislikeCount - dislikeCount or null for nonepublic java.math.BigInteger getFavoriteCount()
null for nonepublic VideoStatistics setFavoriteCount(java.math.BigInteger favoriteCount)
favoriteCount - favoriteCount or null for nonepublic java.math.BigInteger getLikeCount()
null for nonepublic VideoStatistics setLikeCount(java.math.BigInteger likeCount)
likeCount - likeCount or null for nonepublic java.math.BigInteger getViewCount()
null for nonepublic VideoStatistics setViewCount(java.math.BigInteger viewCount)
viewCount - viewCount or null for nonepublic VideoStatistics set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic VideoStatistics clone()
clone in class com.google.api.client.json.GenericJson