public final class ActivityListResponse
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 |
|---|
ActivityListResponse() |
| Modifier and Type | Method and Description |
|---|---|
ActivityListResponse |
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<Activity> |
getItems()
A list of activities, or events, 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.
|
ActivityListResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ActivityListResponse |
setEtag(java.lang.String etag)
Etag of this resource.
|
ActivityListResponse |
setEventId(java.lang.String eventId)
Serialized EventId of the request which produced this response.
|
ActivityListResponse |
setItems(java.util.List<Activity> items)
A list of activities, or events, that match the request criteria.
|
ActivityListResponse |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
ActivityListResponse |
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.
|
ActivityListResponse |
setPageInfo(PageInfo pageInfo) |
ActivityListResponse |
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.
|
ActivityListResponse |
setTokenPagination(TokenPagination tokenPagination) |
ActivityListResponse |
setVisitorId(java.lang.String visitorId)
The visitorId identifies the visitor.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEtag()
null for nonepublic ActivityListResponse setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getEventId()
null for nonepublic ActivityListResponse setEventId(java.lang.String eventId)
eventId - eventId or null for nonepublic java.util.List<Activity> getItems()
null for nonepublic ActivityListResponse setItems(java.util.List<Activity> items)
items - items or null for nonepublic java.lang.String getKind()
null for nonepublic ActivityListResponse setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getNextPageToken()
null for nonepublic ActivityListResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic PageInfo getPageInfo()
null for nonepublic ActivityListResponse setPageInfo(PageInfo pageInfo)
pageInfo - pageInfo or null for nonepublic java.lang.String getPrevPageToken()
null for nonepublic ActivityListResponse setPrevPageToken(java.lang.String prevPageToken)
prevPageToken - prevPageToken or null for nonepublic TokenPagination getTokenPagination()
null for nonepublic ActivityListResponse setTokenPagination(TokenPagination tokenPagination)
tokenPagination - tokenPagination or null for nonepublic java.lang.String getVisitorId()
null for nonepublic ActivityListResponse setVisitorId(java.lang.String visitorId)
visitorId - visitorId or null for nonepublic ActivityListResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ActivityListResponse clone()
clone in class com.google.api.client.json.GenericJson