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> |
getItems()
List of comments.
|
java.lang.String |
getKind()
This is always drive#commentList.
|
java.lang.String |
getNextLink()
A link to the next page of comments.
|
java.lang.String |
getNextPageToken()
The token to use to request the next page of results.
|
java.lang.String |
getSelfLink()
A link back to this list.
|
CommentList |
set(java.lang.String fieldName,
java.lang.Object value) |
CommentList |
setItems(java.util.List<Comment> items)
List of comments.
|
CommentList |
setKind(java.lang.String kind)
This is always drive#commentList.
|
CommentList |
setNextLink(java.lang.String nextLink)
A link to the next page of comments.
|
CommentList |
setNextPageToken(java.lang.String nextPageToken)
The token to use to request the next page of results.
|
CommentList |
setSelfLink(java.lang.String selfLink)
A link back to this list.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<Comment> getItems()
null
for nonepublic CommentList setItems(java.util.List<Comment> items)
items
- items 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 getNextLink()
null
for nonepublic CommentList setNextLink(java.lang.String nextLink)
nextLink
- nextLink or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic CommentList setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic CommentList setSelfLink(java.lang.String selfLink)
selfLink
- selfLink 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