public final class Nickname
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 |
|---|
Nickname() |
| Modifier and Type | Method and Description |
|---|---|
Nickname |
clone() |
FieldMetadata |
getMetadata()
Metadata about the nickname.
|
java.lang.String |
getType()
The type of the nickname.
|
java.lang.String |
getValue()
The nickname.
|
Nickname |
set(java.lang.String fieldName,
java.lang.Object value) |
Nickname |
setMetadata(FieldMetadata metadata)
Metadata about the nickname.
|
Nickname |
setType(java.lang.String type)
The type of the nickname.
|
Nickname |
setValue(java.lang.String value)
The nickname.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic FieldMetadata getMetadata()
null for nonepublic Nickname setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getType()
null for nonepublic Nickname setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getValue()
null for nonepublic Nickname setValue(java.lang.String value)
value - value or null for nonepublic Nickname set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Nickname clone()
clone in class com.google.api.client.json.GenericJson