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