public final class ChildReference
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 |
|---|
ChildReference() |
| Modifier and Type | Method and Description |
|---|---|
ChildReference |
clone() |
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 |
set(java.lang.String fieldName,
java.lang.Object value) |
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getChildLink()
null for nonepublic ChildReference setChildLink(java.lang.String childLink)
childLink - childLink or null for nonepublic java.lang.String getId()
null for nonepublic ChildReference setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic ChildReference setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getSelfLink()
null for nonepublic ChildReference setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic ChildReference set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ChildReference clone()
clone in class com.google.api.client.json.GenericJson