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: http://code.google.com/p/google-http-java-client/wiki/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 page of comments.
|
java.lang.String |
getKind()
This is always drive#commentList.
|
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 page of comments.
|
CommentList |
setKind(java.lang.String kind)
This is always drive#commentList.
|
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