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 v3. 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
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 com.google.api.client.json.GenericJson
public ChannelStatistics clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.