public final class Gender
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 |
|---|
Gender() |
| Modifier and Type | Method and Description |
|---|---|
Gender |
clone() |
java.lang.String |
getFormattedValue()
The read-only value of the gender translated and formatted in the viewer's account locale or
the `Accept-Language` HTTP header locale.
|
FieldMetadata |
getMetadata()
Metadata about the gender.
|
java.lang.String |
getValue()
The gender for the person.
|
Gender |
set(java.lang.String fieldName,
java.lang.Object value) |
Gender |
setFormattedValue(java.lang.String formattedValue)
The read-only value of the gender translated and formatted in the viewer's account locale or
the `Accept-Language` HTTP header locale.
|
Gender |
setMetadata(FieldMetadata metadata)
Metadata about the gender.
|
Gender |
setValue(java.lang.String value)
The gender for the person.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFormattedValue()
null for nonepublic Gender setFormattedValue(java.lang.String formattedValue)
formattedValue - formattedValue or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Gender setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getValue()
null for nonepublic Gender setValue(java.lang.String value)
value - value or null for nonepublic Gender set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Gender clone()
clone in class com.google.api.client.json.GenericJson