public final class SubscriptionListResponse
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SubscriptionListResponse() |
Modifier and Type | Method and Description |
---|---|
SubscriptionListResponse |
clone() |
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getEventId()
Serialized EventId of the request which produced this response.
|
java.util.List<Subscription> |
getItems()
A list of subscriptions that match the request criteria.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getNextPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
|
PageInfo |
getPageInfo() |
java.lang.String |
getPrevPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
|
TokenPagination |
getTokenPagination() |
java.lang.String |
getVisitorId()
The visitorId identifies the visitor.
|
SubscriptionListResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
SubscriptionListResponse |
setEtag(java.lang.String etag)
Etag of this resource.
|
SubscriptionListResponse |
setEventId(java.lang.String eventId)
Serialized EventId of the request which produced this response.
|
SubscriptionListResponse |
setItems(java.util.List<Subscription> items)
A list of subscriptions that match the request criteria.
|
SubscriptionListResponse |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
SubscriptionListResponse |
setNextPageToken(java.lang.String nextPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
|
SubscriptionListResponse |
setPageInfo(PageInfo pageInfo) |
SubscriptionListResponse |
setPrevPageToken(java.lang.String prevPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
|
SubscriptionListResponse |
setTokenPagination(TokenPagination tokenPagination) |
SubscriptionListResponse |
setVisitorId(java.lang.String visitorId)
The visitorId identifies the visitor.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getEtag()
null
for nonepublic SubscriptionListResponse setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getEventId()
null
for nonepublic SubscriptionListResponse setEventId(java.lang.String eventId)
eventId
- eventId or null
for nonepublic java.util.List<Subscription> getItems()
null
for nonepublic SubscriptionListResponse setItems(java.util.List<Subscription> items)
items
- items or null
for nonepublic java.lang.String getKind()
null
for nonepublic SubscriptionListResponse setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic SubscriptionListResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic PageInfo getPageInfo()
null
for nonepublic SubscriptionListResponse setPageInfo(PageInfo pageInfo)
pageInfo
- pageInfo or null
for nonepublic java.lang.String getPrevPageToken()
null
for nonepublic SubscriptionListResponse setPrevPageToken(java.lang.String prevPageToken)
prevPageToken
- prevPageToken or null
for nonepublic TokenPagination getTokenPagination()
null
for nonepublic SubscriptionListResponse setTokenPagination(TokenPagination tokenPagination)
tokenPagination
- tokenPagination or null
for nonepublic java.lang.String getVisitorId()
null
for nonepublic SubscriptionListResponse setVisitorId(java.lang.String visitorId)
visitorId
- visitorId or null
for nonepublic SubscriptionListResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionListResponse clone()
clone
in class com.google.api.client.json.GenericJson