Drive API v2 (revision 1)



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

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.ChildList
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class ChildList
extends GenericJson

A list of children of a file.

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

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
ChildList()
           
 
Method Summary
 String getEtag()
          The ETag of the list.
 List<ChildReference> getItems()
          The actual list of children.
 String getKind()
          This is always drive#childList.
 String getNextLink()
          A link to the next page of children.
 String getNextPageToken()
          The page token for the next page of children.
 HttpHeaders getResponseHeaders()
          Returns the HTTP headers that were returned with the server response, or null.
 String getSelfLink()
          A link back to this list.
 ChildList setEtag(String etag)
          The ETag of the list.
 ChildList setItems(List<ChildReference> items)
          The actual list of children.
 ChildList setKind(String kind)
          This is always drive#childList.
 ChildList setNextLink(String nextLink)
          A link to the next page of children.
 ChildList setNextPageToken(String nextPageToken)
          The page token for the next page of children.
 void setResponseHeaders(HttpHeaders responseHeaders)
          Sets the HTTP headers returned with the server response, or null.
 ChildList setSelfLink(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

ChildList

public ChildList()
Method Detail

getNextPageToken

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


setNextPageToken

public ChildList setNextPageToken(String nextPageToken)
The page token for the next page of children. The value set may be null.


getKind

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


setKind

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


getItems

public List<ChildReference> getItems()
The actual list of children. The value returned may be null.


setItems

public ChildList setItems(List<ChildReference> items)
The actual list of children. The value set may be null.


getNextLink

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


setNextLink

public ChildList setNextLink(String nextLink)
A link to the next page of children. The value set may be null.


getEtag

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


setEtag

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


getSelfLink

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


setSelfLink

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


setResponseHeaders

public void setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP headers returned with the server response, or null. This member should only be non-null if this object was the top level element of a response. For example, a request that returns a single ChildList would include the response headers, while a request which returns an array of ChildList, would have a non-null response header in the enclosing object only.


getResponseHeaders

public HttpHeaders getResponseHeaders()
Returns the HTTP headers that were returned with the server response, or null.