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