public final class SubscriptionContentDetails
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 |
---|
SubscriptionContentDetails() |
Modifier and Type | Method and Description |
---|---|
SubscriptionContentDetails |
clone() |
java.lang.String |
getActivityType()
The type of activity this subscription is for (only uploads, everything).
|
java.lang.Long |
getNewItemCount()
The number of new items in the subscription since its content was last read.
|
java.lang.Long |
getTotalItemCount()
The approximate number of items that the subscription points to.
|
SubscriptionContentDetails |
set(java.lang.String fieldName,
java.lang.Object value) |
SubscriptionContentDetails |
setActivityType(java.lang.String activityType)
The type of activity this subscription is for (only uploads, everything).
|
SubscriptionContentDetails |
setNewItemCount(java.lang.Long newItemCount)
The number of new items in the subscription since its content was last read.
|
SubscriptionContentDetails |
setTotalItemCount(java.lang.Long totalItemCount)
The approximate number of items that the subscription points to.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getActivityType()
null
for nonepublic SubscriptionContentDetails setActivityType(java.lang.String activityType)
activityType
- activityType or null
for nonepublic java.lang.Long getNewItemCount()
null
for nonepublic SubscriptionContentDetails setNewItemCount(java.lang.Long newItemCount)
newItemCount
- newItemCount or null
for nonepublic java.lang.Long getTotalItemCount()
null
for nonepublic SubscriptionContentDetails setTotalItemCount(java.lang.Long totalItemCount)
totalItemCount
- totalItemCount or null
for nonepublic SubscriptionContentDetails set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionContentDetails clone()
clone
in class com.google.api.client.json.GenericJson