public final class ParentReference
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 |
---|
ParentReference() |
Modifier and Type | Method and Description |
---|---|
ParentReference |
clone() |
java.lang.String |
getId()
The ID of the parent.
|
java.lang.Boolean |
getIsRoot()
Whether or not the parent is the root folder.
|
java.lang.String |
getKind()
This is always drive#parentReference.
|
java.lang.String |
getParentLink()
A link to the parent.
|
java.lang.String |
getSelfLink()
A link back to this reference.
|
ParentReference |
set(java.lang.String fieldName,
java.lang.Object value) |
ParentReference |
setId(java.lang.String id)
The ID of the parent.
|
ParentReference |
setIsRoot(java.lang.Boolean isRoot)
Whether or not the parent is the root folder.
|
ParentReference |
setKind(java.lang.String kind)
This is always drive#parentReference.
|
ParentReference |
setParentLink(java.lang.String parentLink)
A link to the parent.
|
ParentReference |
setSelfLink(java.lang.String selfLink)
A link back to this reference.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getId()
null
for nonepublic ParentReference setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.Boolean getIsRoot()
null
for nonepublic ParentReference setIsRoot(java.lang.Boolean isRoot)
isRoot
- isRoot or null
for nonepublic java.lang.String getKind()
null
for nonepublic ParentReference setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getParentLink()
null
for nonepublic ParentReference setParentLink(java.lang.String parentLink)
parentLink
- parentLink or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic ParentReference setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic ParentReference set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ParentReference clone()
clone
in class com.google.api.client.json.GenericJson