public final class SubscriptionContentDetails 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 |
|---|
SubscriptionContentDetails() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionContentDetails |
clone() |
String |
getActivityType()
The type of activity this subscription is for (only uploads, everything).
|
Long |
getNewItemCount()
The number of new items in the subscription since its content was last read.
|
Long |
getTotalItemCount()
The approximate number of items that the subscription points to.
|
SubscriptionContentDetails |
set(String fieldName,
Object value) |
SubscriptionContentDetails |
setActivityType(String activityType)
The type of activity this subscription is for (only uploads, everything).
|
SubscriptionContentDetails |
setNewItemCount(Long newItemCount)
The number of new items in the subscription since its content was last read.
|
SubscriptionContentDetails |
setTotalItemCount(Long totalItemCount)
The approximate number of items that the subscription points to.
|
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 String getActivityType()
null for nonepublic SubscriptionContentDetails setActivityType(String activityType)
activityType - activityType or null for nonepublic Long getNewItemCount()
null for nonepublic SubscriptionContentDetails setNewItemCount(Long newItemCount)
newItemCount - newItemCount or null for nonepublic Long getTotalItemCount()
null for nonepublic SubscriptionContentDetails setTotalItemCount(Long totalItemCount)
totalItemCount - totalItemCount or null for nonepublic SubscriptionContentDetails set(String fieldName, Object value)
set in class GenericJsonpublic SubscriptionContentDetails clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.