public final class CommentList
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 Drive 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 |
---|
CommentList() |
Modifier and Type | Method and Description |
---|---|
CommentList |
clone() |
java.util.List<Comment> |
getComments()
The list of comments.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getNextPageToken()
The page token for the next page of comments.
|
CommentList |
set(java.lang.String fieldName,
java.lang.Object value) |
CommentList |
setComments(java.util.List<Comment> comments)
The list of comments.
|
CommentList |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
CommentList |
setNextPageToken(java.lang.String nextPageToken)
The page token for the next page of comments.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<Comment> getComments()
null
for nonepublic CommentList setComments(java.util.List<Comment> comments)
comments
- comments or null
for nonepublic java.lang.String getKind()
null
for nonepublic CommentList setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic CommentList setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic CommentList set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CommentList clone()
clone
in class com.google.api.client.json.GenericJson