public final class Property 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-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
Property |
clone() |
String |
getEtag()
ETag of the property.
|
String |
getKey()
The key of this property.
|
String |
getKind()
This is always drive#property.
|
String |
getSelfLink()
The link back to this property.
|
String |
getValue()
The value of this property.
|
String |
getVisibility()
The visibility of this property.
|
Property |
set(String fieldName,
Object value) |
Property |
setEtag(String etag)
ETag of the property.
|
Property |
setKey(String key)
The key of this property.
|
Property |
setKind(String kind)
This is always drive#property.
|
Property |
setSelfLink(String selfLink)
The link back to this property.
|
Property |
setValue(String value)
The value of this property.
|
Property |
setVisibility(String visibility)
The visibility of this property.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEtag()
null
for nonepublic Property setEtag(String etag)
etag
- etag or null
for nonepublic String getKey()
null
for nonepublic Property setKey(String key)
key
- key or null
for nonepublic String getKind()
null
for nonepublic Property setKind(String kind)
kind
- kind or null
for nonepublic String getSelfLink()
null
for nonepublic Property setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getValue()
null
for nonepublic Property setValue(String value)
value
- value or null
for nonepublic String getVisibility()
null
for nonepublic Property setVisibility(String visibility)
visibility
- visibility or null
for nonepublic Property set(String fieldName, Object value)
set
in class GenericJson
public Property clone()
clone
in class GenericJson