public final class Residence
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 |
---|
Residence() |
Modifier and Type | Method and Description |
---|---|
Residence |
clone() |
java.lang.Boolean |
getCurrent()
True if the residence is the person's current residence; false if the residence is a past
residence.
|
FieldMetadata |
getMetadata()
Metadata about the residence.
|
java.lang.String |
getValue()
The address of the residence.
|
Residence |
set(java.lang.String fieldName,
java.lang.Object value) |
Residence |
setCurrent(java.lang.Boolean current)
True if the residence is the person's current residence; false if the residence is a past
residence.
|
Residence |
setMetadata(FieldMetadata metadata)
Metadata about the residence.
|
Residence |
setValue(java.lang.String value)
The address of the residence.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getCurrent()
null
for nonepublic Residence setCurrent(java.lang.Boolean current)
current
- current or null
for nonepublic FieldMetadata getMetadata()
null
for nonepublic Residence setMetadata(FieldMetadata metadata)
metadata
- metadata or null
for nonepublic java.lang.String getValue()
null
for nonepublic Residence setValue(java.lang.String value)
value
- value or null
for nonepublic Residence set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Residence clone()
clone
in class com.google.api.client.json.GenericJson