public final class UserDefined
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 People API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
UserDefined() |
| Modifier and Type | Method and Description |
|---|---|
UserDefined |
clone() |
java.lang.String |
getKey()
The end user specified key of the user defined data.
|
FieldMetadata |
getMetadata()
Metadata about the user defined data.
|
java.lang.String |
getValue()
The end user specified value of the user defined data.
|
UserDefined |
set(java.lang.String fieldName,
java.lang.Object value) |
UserDefined |
setKey(java.lang.String key)
The end user specified key of the user defined data.
|
UserDefined |
setMetadata(FieldMetadata metadata)
Metadata about the user defined data.
|
UserDefined |
setValue(java.lang.String value)
The end user specified value of the user defined data.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKey()
null for nonepublic UserDefined setKey(java.lang.String key)
key - key or null for nonepublic FieldMetadata getMetadata()
null for nonepublic UserDefined setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getValue()
null for nonepublic UserDefined setValue(java.lang.String value)
value - value or null for nonepublic UserDefined set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UserDefined clone()
clone in class com.google.api.client.json.GenericJson