Drive API v2 (revision 47)



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

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.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.ChangeList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class ChangeList
extends GenericJson

A list of changes for a user.

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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
ChangeList()
           
 
Method Summary
 java.lang.String getEtag()
          The ETag of the list.
 java.util.List<Change> getItems()
          The actual list of changes.
 java.lang.String getKind()
          This is always drive#changeList.
 java.lang.Long getLargestChangeId()
          The current largest change ID.
 java.lang.String getNextLink()
          A link to the next page of changes.
 java.lang.String getNextPageToken()
          The page token for the next page of changes.
 java.lang.String getSelfLink()
          A link back to this list.
 ChangeList setEtag(java.lang.String etag)
          The ETag of the list.
 ChangeList setItems(java.util.List<Change> items)
          The actual list of changes.
 ChangeList setKind(java.lang.String kind)
          This is always drive#changeList.
 ChangeList setLargestChangeId(java.lang.Long largestChangeId)
          The current largest change ID.
 ChangeList setNextLink(java.lang.String nextLink)
          A link to the next page of changes.
 ChangeList setNextPageToken(java.lang.String nextPageToken)
          The page token for the next page of changes.
 ChangeList setSelfLink(java.lang.String selfLink)
          A link back to this list.
 
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

ChangeList

public ChangeList()
Method Detail

getEtag

public java.lang.String getEtag()
The ETag of the list. The value returned may be null.


setEtag

public ChangeList setEtag(java.lang.String etag)
The ETag of the list. The value set may be null.


getItems

public java.util.List<Change> getItems()
The actual list of changes. The value returned may be null.


setItems

public ChangeList setItems(java.util.List<Change> items)
The actual list of changes. The value set may be null.


getKind

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


setKind

public ChangeList setKind(java.lang.String kind)
This is always drive#changeList. The value set may be null.


getLargestChangeId

public java.lang.Long getLargestChangeId()
The current largest change ID. The value returned may be null.


setLargestChangeId

public ChangeList setLargestChangeId(java.lang.Long largestChangeId)
The current largest change ID. The value set may be null.


getNextLink

public java.lang.String getNextLink()
A link to the next page of changes. The value returned may be null.


setNextLink

public ChangeList setNextLink(java.lang.String nextLink)
A link to the next page of changes. The value set may be null.


getNextPageToken

public java.lang.String getNextPageToken()
The page token for the next page of changes. The value returned may be null.


setNextPageToken

public ChangeList setNextPageToken(java.lang.String nextPageToken)
The page token for the next page of changes. The value set may be null.


getSelfLink

public java.lang.String getSelfLink()
A link back to this list. The value returned may be null.


setSelfLink

public ChangeList setSelfLink(java.lang.String selfLink)
A link back to this list. The value set may be null.