public final class ChannelStatistics 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. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ChannelStatistics() |
Modifier and Type | Method and Description |
---|---|
ChannelStatistics |
clone() |
BigInteger |
getCommentCount()
The number of comments for the channel.
|
Boolean |
getHiddenSubscriberCount()
Whether or not the number of subscribers is shown for this user.
|
BigInteger |
getSubscriberCount()
The number of subscribers that the channel has.
|
BigInteger |
getVideoCount()
The number of videos uploaded to the channel.
|
BigInteger |
getViewCount()
The number of times the channel has been viewed.
|
ChannelStatistics |
set(String fieldName,
Object value) |
ChannelStatistics |
setCommentCount(BigInteger commentCount)
The number of comments for the channel.
|
ChannelStatistics |
setHiddenSubscriberCount(Boolean hiddenSubscriberCount)
Whether or not the number of subscribers is shown for this user.
|
ChannelStatistics |
setSubscriberCount(BigInteger subscriberCount)
The number of subscribers that the channel has.
|
ChannelStatistics |
setVideoCount(BigInteger videoCount)
The number of videos uploaded to the channel.
|
ChannelStatistics |
setViewCount(BigInteger viewCount)
The number of times the channel has been viewed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public BigInteger getCommentCount()
null
for nonepublic ChannelStatistics setCommentCount(BigInteger commentCount)
commentCount
- commentCount or null
for nonepublic Boolean getHiddenSubscriberCount()
null
for nonepublic ChannelStatistics setHiddenSubscriberCount(Boolean hiddenSubscriberCount)
hiddenSubscriberCount
- hiddenSubscriberCount or null
for nonepublic BigInteger getSubscriberCount()
null
for nonepublic ChannelStatistics setSubscriberCount(BigInteger subscriberCount)
subscriberCount
- subscriberCount or null
for nonepublic BigInteger getVideoCount()
null
for nonepublic ChannelStatistics setVideoCount(BigInteger videoCount)
videoCount
- videoCount or null
for nonepublic BigInteger getViewCount()
null
for nonepublic ChannelStatistics setViewCount(BigInteger viewCount)
viewCount
- viewCount or null
for nonepublic ChannelStatistics set(String fieldName, Object value)
set
in class GenericJson
public ChannelStatistics clone()
clone
in class GenericJson