public final class Property
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 |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
Property |
clone() |
java.lang.String |
getEtag()
ETag of the property.
|
java.lang.String |
getKey()
The key of this property.
|
java.lang.String |
getKind()
This is always drive#property.
|
java.lang.String |
getSelfLink()
The link back to this property.
|
java.lang.String |
getValue()
The value of this property.
|
java.lang.String |
getVisibility()
The visibility of this property.
|
Property |
set(java.lang.String fieldName,
java.lang.Object value) |
Property |
setEtag(java.lang.String etag)
ETag of the property.
|
Property |
setKey(java.lang.String key)
The key of this property.
|
Property |
setKind(java.lang.String kind)
This is always drive#property.
|
Property |
setSelfLink(java.lang.String selfLink)
The link back to this property.
|
Property |
setValue(java.lang.String value)
The value of this property.
|
Property |
setVisibility(java.lang.String visibility)
The visibility of this property.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEtag()
null for nonepublic Property setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getKey()
null for nonepublic Property setKey(java.lang.String key)
key - key or null for nonepublic java.lang.String getKind()
null for nonepublic Property setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Property setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getValue()
null for nonepublic Property setValue(java.lang.String value)
value - value or null for nonepublic java.lang.String getVisibility()
null for nonepublic Property setVisibility(java.lang.String visibility)
visibility - visibility or null for nonepublic Property set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Property clone()
clone in class com.google.api.client.json.GenericJson