Drive API v2 (revision 47)



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

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

public final class ChildReference
extends GenericJson

A reference to a file's child.

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
ChildReference()
           
 
Method Summary
 java.lang.String getChildLink()
          A link to the child.
 java.lang.String getId()
          The ID of the child.
 java.lang.String getKind()
          This is always drive#childReference.
 java.lang.String getSelfLink()
          A link back to this reference.
 ChildReference setChildLink(java.lang.String childLink)
          A link to the child.
 ChildReference setId(java.lang.String id)
          The ID of the child.
 ChildReference setKind(java.lang.String kind)
          This is always drive#childReference.
 ChildReference setSelfLink(java.lang.String selfLink)
          A link back to this reference.
 
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

ChildReference

public ChildReference()
Method Detail

getChildLink

public java.lang.String getChildLink()
A link to the child. The value returned may be null.


setChildLink

public ChildReference setChildLink(java.lang.String childLink)
A link to the child. The value set may be null.


getId

public java.lang.String getId()
The ID of the child. The value returned may be null.


setId

public ChildReference setId(java.lang.String id)
The ID of the child. The value set may be null.


getKind

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


setKind

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


getSelfLink

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


setSelfLink

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