Drive API v2 (revision 30)



com.google.api.services.drive.model
Class CommentList

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.drive.model.CommentList
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class CommentList
extends GenericJson

A JSON representation of a list of comments on a file in Google Drive.

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-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
CommentList()
           
 
Method Summary
 List<Comment> getItems()
          List of comments.
 String getKind()
          This is always drive#commentList.
 String getNextPageToken()
          The token to use to request the next page of results.
 CommentList setItems(List<Comment> items)
          List of comments.
 CommentList setKind(String kind)
          This is always drive#commentList.
 CommentList setNextPageToken(String nextPageToken)
          The token to use to request the next page of results.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentList

public CommentList()
Method Detail

getItems

public List<Comment> getItems()
List of comments. The value returned may be null.


setItems

public CommentList setItems(List<Comment> items)
List of comments. The value set may be null.


getKind

public String getKind()
This is always drive#commentList. The value returned may be null.


setKind

public CommentList setKind(String kind)
This is always drive#commentList. The value set may be null.


getNextPageToken

public String getNextPageToken()
The token to use to request the next page of results. The value returned may be null.


setNextPageToken

public CommentList setNextPageToken(String nextPageToken)
The token to use to request the next page of results. The value set may be null.