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: https://developers.google.com/api-client-library/java/google-http-java-client/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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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
Copyright © 2011–2020 Google. All rights reserved.