public final class ChildReference extends 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-api-java-client/wiki/Json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ChildReference() |
Modifier and Type | Method and Description |
---|---|
ChildReference |
clone() |
String |
getChildLink()
A link to the child.
|
String |
getId()
The ID of the child.
|
String |
getKind()
This is always drive#childReference.
|
String |
getSelfLink()
A link back to this reference.
|
ChildReference |
set(String fieldName,
Object value) |
ChildReference |
setChildLink(String childLink)
A link to the child.
|
ChildReference |
setId(String id)
The ID of the child.
|
ChildReference |
setKind(String kind)
This is always drive#childReference.
|
ChildReference |
setSelfLink(String selfLink)
A link back to this reference.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getChildLink()
null
for nonepublic ChildReference setChildLink(String childLink)
childLink
- childLink or null
for nonepublic String getId()
null
for nonepublic ChildReference setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic ChildReference setKind(String kind)
kind
- kind or null
for nonepublic String getSelfLink()
null
for nonepublic ChildReference setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic ChildReference set(String fieldName, Object value)
set
in class GenericJson
public ChildReference clone()
clone
in class GenericJson