public final class ChannelStatistics
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 |
|---|
ChannelStatistics() |
| Modifier and Type | Method and Description |
|---|---|
ChannelStatistics |
clone() |
java.math.BigInteger |
getCommentCount()
The number of comments for the channel.
|
java.lang.Boolean |
getHiddenSubscriberCount()
Whether or not the number of subscribers is shown for this user.
|
java.math.BigInteger |
getSubscriberCount()
The number of subscribers that the channel has.
|
java.math.BigInteger |
getVideoCount()
The number of videos uploaded to the channel.
|
java.math.BigInteger |
getViewCount()
The number of times the channel has been viewed.
|
ChannelStatistics |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelStatistics |
setCommentCount(java.math.BigInteger commentCount)
The number of comments for the channel.
|
ChannelStatistics |
setHiddenSubscriberCount(java.lang.Boolean hiddenSubscriberCount)
Whether or not the number of subscribers is shown for this user.
|
ChannelStatistics |
setSubscriberCount(java.math.BigInteger subscriberCount)
The number of subscribers that the channel has.
|
ChannelStatistics |
setVideoCount(java.math.BigInteger videoCount)
The number of videos uploaded to the channel.
|
ChannelStatistics |
setViewCount(java.math.BigInteger viewCount)
The number of times the channel has been viewed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.math.BigInteger getCommentCount()
null for nonepublic ChannelStatistics setCommentCount(java.math.BigInteger commentCount)
commentCount - commentCount or null for nonepublic java.lang.Boolean getHiddenSubscriberCount()
null for nonepublic ChannelStatistics setHiddenSubscriberCount(java.lang.Boolean hiddenSubscriberCount)
hiddenSubscriberCount - hiddenSubscriberCount or null for nonepublic java.math.BigInteger getSubscriberCount()
null for nonepublic ChannelStatistics setSubscriberCount(java.math.BigInteger subscriberCount)
subscriberCount - subscriberCount or null for nonepublic java.math.BigInteger getVideoCount()
null for nonepublic ChannelStatistics setVideoCount(java.math.BigInteger videoCount)
videoCount - videoCount or null for nonepublic java.math.BigInteger getViewCount()
null for nonepublic ChannelStatistics setViewCount(java.math.BigInteger viewCount)
viewCount - viewCount or null for nonepublic ChannelStatistics set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ChannelStatistics clone()
clone in class com.google.api.client.json.GenericJson