|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.ParentReference
public final class ParentReference
A reference to a file's parent.
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()
| 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 | |
|---|---|
ParentReference()
|
|
| Method Summary | |
|---|---|
String |
getId()
The ID of the parent. |
Boolean |
getIsRoot()
Whether or not the parent is the root folder. |
String |
getKind()
This is always drive#parentReference. |
String |
getParentLink()
A link to the parent. |
String |
getSelfLink()
A link back to this reference. |
ParentReference |
setId(String id)
The ID of the parent. |
ParentReference |
setIsRoot(Boolean isRoot)
Whether or not the parent is the root folder. |
ParentReference |
setKind(String kind)
This is always drive#parentReference. |
ParentReference |
setParentLink(String parentLink)
A link to the parent. |
ParentReference |
setSelfLink(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 |
|---|
public ParentReference()
| Method Detail |
|---|
public String getId()
null.
public ParentReference setId(String id)
null.
public Boolean getIsRoot()
null.
public ParentReference setIsRoot(Boolean isRoot)
null.
public String getKind()
null.
public ParentReference setKind(String kind)
null.
public String getParentLink()
null.
public ParentReference setParentLink(String parentLink)
null.
public String getSelfLink()
null.
public ParentReference setSelfLink(String selfLink)
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||