public final class PersonMetadata
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 |
---|
PersonMetadata() |
Modifier and Type | Method and Description |
---|---|
PersonMetadata |
clone() |
java.lang.Boolean |
getDeleted()
Output only.
|
java.util.List<java.lang.String> |
getLinkedPeopleResourceNames()
Output only.
|
java.lang.String |
getObjectType()
Output only.
|
java.util.List<java.lang.String> |
getPreviousResourceNames()
Output only.
|
java.util.List<Source> |
getSources()
The sources of data for the person.
|
PersonMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
PersonMetadata |
setDeleted(java.lang.Boolean deleted)
Output only.
|
PersonMetadata |
setLinkedPeopleResourceNames(java.util.List<java.lang.String> linkedPeopleResourceNames)
Output only.
|
PersonMetadata |
setObjectType(java.lang.String objectType)
Output only.
|
PersonMetadata |
setPreviousResourceNames(java.util.List<java.lang.String> previousResourceNames)
Output only.
|
PersonMetadata |
setSources(java.util.List<Source> sources)
The sources of data for the person.
|
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 getDeleted()
null
for nonepublic PersonMetadata setDeleted(java.lang.Boolean deleted)
deleted
- deleted or null
for nonepublic java.util.List<java.lang.String> getLinkedPeopleResourceNames()
null
for nonepublic PersonMetadata setLinkedPeopleResourceNames(java.util.List<java.lang.String> linkedPeopleResourceNames)
linkedPeopleResourceNames
- linkedPeopleResourceNames or null
for nonepublic java.lang.String getObjectType()
null
for nonepublic PersonMetadata setObjectType(java.lang.String objectType)
objectType
- objectType or null
for nonepublic java.util.List<java.lang.String> getPreviousResourceNames()
null
for nonepublic PersonMetadata setPreviousResourceNames(java.util.List<java.lang.String> previousResourceNames)
previousResourceNames
- previousResourceNames or null
for nonepublic java.util.List<Source> getSources()
null
for nonepublic PersonMetadata setSources(java.util.List<Source> sources)
sources
- sources or null
for nonepublic PersonMetadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PersonMetadata clone()
clone
in class com.google.api.client.json.GenericJson