public final class Person
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 |
---|
Person() |
Modifier and Type | Method and Description |
---|---|
Person |
clone() |
java.util.List<Address> |
getAddresses()
The person's street addresses.
|
java.lang.String |
getAgeRange()
Output only.
|
java.util.List<AgeRangeType> |
getAgeRanges()
Output only.
|
java.util.List<Biography> |
getBiographies()
The person's biographies.
|
java.util.List<Birthday> |
getBirthdays()
The person's birthdays.
|
java.util.List<BraggingRights> |
getBraggingRights()
**DEPRECATED**: No data will be returned The person's bragging rights.
|
java.util.List<CoverPhoto> |
getCoverPhotos()
Output only.
|
java.util.List<EmailAddress> |
getEmailAddresses()
The person's email addresses.
|
java.lang.String |
getEtag()
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
java.util.List<Event> |
getEvents()
The person's events.
|
java.util.List<Gender> |
getGenders()
The person's genders.
|
java.util.List<ImClient> |
getImClients()
The person's instant messaging clients.
|
java.util.List<Interest> |
getInterests()
The person's interests.
|
java.util.List<Locale> |
getLocales()
The person's locale preferences.
|
java.util.List<Membership> |
getMemberships()
The person's group memberships.
|
PersonMetadata |
getMetadata()
Output only.
|
java.util.List<Name> |
getNames()
The person's names.
|
java.util.List<Nickname> |
getNicknames()
The person's nicknames.
|
java.util.List<Occupation> |
getOccupations()
The person's occupations.
|
java.util.List<Organization> |
getOrganizations()
The person's past or current organizations.
|
java.util.List<PhoneNumber> |
getPhoneNumbers()
The person's phone numbers.
|
java.util.List<Photo> |
getPhotos()
Output only.
|
java.util.List<Relation> |
getRelations()
The person's relations.
|
java.util.List<RelationshipInterest> |
getRelationshipInterests()
Output only.
|
java.util.List<RelationshipStatus> |
getRelationshipStatuses()
Output only.
|
java.util.List<Residence> |
getResidences()
The person's residences.
|
java.lang.String |
getResourceName()
The resource name for the person, assigned by the server.
|
java.util.List<SipAddress> |
getSipAddresses()
The person's SIP addresses.
|
java.util.List<Skill> |
getSkills()
The person's skills.
|
java.util.List<Tagline> |
getTaglines()
Output only.
|
java.util.List<Url> |
getUrls()
The person's associated URLs.
|
java.util.List<UserDefined> |
getUserDefined()
The person's user defined data.
|
Person |
set(java.lang.String fieldName,
java.lang.Object value) |
Person |
setAddresses(java.util.List<Address> addresses)
The person's street addresses.
|
Person |
setAgeRange(java.lang.String ageRange)
Output only.
|
Person |
setAgeRanges(java.util.List<AgeRangeType> ageRanges)
Output only.
|
Person |
setBiographies(java.util.List<Biography> biographies)
The person's biographies.
|
Person |
setBirthdays(java.util.List<Birthday> birthdays)
The person's birthdays.
|
Person |
setBraggingRights(java.util.List<BraggingRights> braggingRights)
**DEPRECATED**: No data will be returned The person's bragging rights.
|
Person |
setCoverPhotos(java.util.List<CoverPhoto> coverPhotos)
Output only.
|
Person |
setEmailAddresses(java.util.List<EmailAddress> emailAddresses)
The person's email addresses.
|
Person |
setEtag(java.lang.String etag)
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
Person |
setEvents(java.util.List<Event> events)
The person's events.
|
Person |
setGenders(java.util.List<Gender> genders)
The person's genders.
|
Person |
setImClients(java.util.List<ImClient> imClients)
The person's instant messaging clients.
|
Person |
setInterests(java.util.List<Interest> interests)
The person's interests.
|
Person |
setLocales(java.util.List<Locale> locales)
The person's locale preferences.
|
Person |
setMemberships(java.util.List<Membership> memberships)
The person's group memberships.
|
Person |
setMetadata(PersonMetadata metadata)
Output only.
|
Person |
setNames(java.util.List<Name> names)
The person's names.
|
Person |
setNicknames(java.util.List<Nickname> nicknames)
The person's nicknames.
|
Person |
setOccupations(java.util.List<Occupation> occupations)
The person's occupations.
|
Person |
setOrganizations(java.util.List<Organization> organizations)
The person's past or current organizations.
|
Person |
setPhoneNumbers(java.util.List<PhoneNumber> phoneNumbers)
The person's phone numbers.
|
Person |
setPhotos(java.util.List<Photo> photos)
Output only.
|
Person |
setRelations(java.util.List<Relation> relations)
The person's relations.
|
Person |
setRelationshipInterests(java.util.List<RelationshipInterest> relationshipInterests)
Output only.
|
Person |
setRelationshipStatuses(java.util.List<RelationshipStatus> relationshipStatuses)
Output only.
|
Person |
setResidences(java.util.List<Residence> residences)
The person's residences.
|
Person |
setResourceName(java.lang.String resourceName)
The resource name for the person, assigned by the server.
|
Person |
setSipAddresses(java.util.List<SipAddress> sipAddresses)
The person's SIP addresses.
|
Person |
setSkills(java.util.List<Skill> skills)
The person's skills.
|
Person |
setTaglines(java.util.List<Tagline> taglines)
Output only.
|
Person |
setUrls(java.util.List<Url> urls)
The person's associated URLs.
|
Person |
setUserDefined(java.util.List<UserDefined> userDefined)
The person's user defined data.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<Address> getAddresses()
null
for nonepublic Person setAddresses(java.util.List<Address> addresses)
addresses
- addresses or null
for nonepublic java.lang.String getAgeRange()
null
for nonepublic Person setAgeRange(java.lang.String ageRange)
ageRange
- ageRange or null
for nonepublic java.util.List<AgeRangeType> getAgeRanges()
null
for nonepublic Person setAgeRanges(java.util.List<AgeRangeType> ageRanges)
ageRanges
- ageRanges or null
for nonepublic java.util.List<Biography> getBiographies()
null
for nonepublic Person setBiographies(java.util.List<Biography> biographies)
biographies
- biographies or null
for nonepublic java.util.List<Birthday> getBirthdays()
null
for nonepublic Person setBirthdays(java.util.List<Birthday> birthdays)
birthdays
- birthdays or null
for nonepublic java.util.List<BraggingRights> getBraggingRights()
null
for nonepublic Person setBraggingRights(java.util.List<BraggingRights> braggingRights)
braggingRights
- braggingRights or null
for nonepublic java.util.List<CoverPhoto> getCoverPhotos()
null
for nonepublic Person setCoverPhotos(java.util.List<CoverPhoto> coverPhotos)
coverPhotos
- coverPhotos or null
for nonepublic java.util.List<EmailAddress> getEmailAddresses()
null
for nonepublic Person setEmailAddresses(java.util.List<EmailAddress> emailAddresses)
emailAddresses
- emailAddresses or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Person setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.util.List<Event> getEvents()
null
for nonepublic Person setEvents(java.util.List<Event> events)
events
- events or null
for nonepublic java.util.List<Gender> getGenders()
null
for nonepublic Person setGenders(java.util.List<Gender> genders)
genders
- genders or null
for nonepublic java.util.List<ImClient> getImClients()
null
for nonepublic Person setImClients(java.util.List<ImClient> imClients)
imClients
- imClients or null
for nonepublic java.util.List<Interest> getInterests()
null
for nonepublic Person setInterests(java.util.List<Interest> interests)
interests
- interests or null
for nonepublic java.util.List<Locale> getLocales()
null
for nonepublic Person setLocales(java.util.List<Locale> locales)
locales
- locales or null
for nonepublic java.util.List<Membership> getMemberships()
null
for nonepublic Person setMemberships(java.util.List<Membership> memberships)
memberships
- memberships or null
for nonepublic PersonMetadata getMetadata()
null
for nonepublic Person setMetadata(PersonMetadata metadata)
metadata
- metadata or null
for nonepublic java.util.List<Name> getNames()
null
for nonepublic Person setNames(java.util.List<Name> names)
names
- names or null
for nonepublic java.util.List<Nickname> getNicknames()
null
for nonepublic Person setNicknames(java.util.List<Nickname> nicknames)
nicknames
- nicknames or null
for nonepublic java.util.List<Occupation> getOccupations()
null
for nonepublic Person setOccupations(java.util.List<Occupation> occupations)
occupations
- occupations or null
for nonepublic java.util.List<Organization> getOrganizations()
null
for nonepublic Person setOrganizations(java.util.List<Organization> organizations)
organizations
- organizations or null
for nonepublic java.util.List<PhoneNumber> getPhoneNumbers()
null
for nonepublic Person setPhoneNumbers(java.util.List<PhoneNumber> phoneNumbers)
phoneNumbers
- phoneNumbers or null
for nonepublic java.util.List<Photo> getPhotos()
null
for nonepublic Person setPhotos(java.util.List<Photo> photos)
photos
- photos or null
for nonepublic java.util.List<Relation> getRelations()
null
for nonepublic Person setRelations(java.util.List<Relation> relations)
relations
- relations or null
for nonepublic java.util.List<RelationshipInterest> getRelationshipInterests()
null
for nonepublic Person setRelationshipInterests(java.util.List<RelationshipInterest> relationshipInterests)
relationshipInterests
- relationshipInterests or null
for nonepublic java.util.List<RelationshipStatus> getRelationshipStatuses()
null
for nonepublic Person setRelationshipStatuses(java.util.List<RelationshipStatus> relationshipStatuses)
relationshipStatuses
- relationshipStatuses or null
for nonepublic java.util.List<Residence> getResidences()
null
for nonepublic Person setResidences(java.util.List<Residence> residences)
residences
- residences or null
for nonepublic java.lang.String getResourceName()
null
for nonepublic Person setResourceName(java.lang.String resourceName)
resourceName
- resourceName or null
for nonepublic java.util.List<SipAddress> getSipAddresses()
null
for nonepublic Person setSipAddresses(java.util.List<SipAddress> sipAddresses)
sipAddresses
- sipAddresses or null
for nonepublic java.util.List<Skill> getSkills()
null
for nonepublic Person setSkills(java.util.List<Skill> skills)
skills
- skills or null
for nonepublic java.util.List<Tagline> getTaglines()
null
for nonepublic Person setTaglines(java.util.List<Tagline> taglines)
taglines
- taglines or null
for nonepublic java.util.List<Url> getUrls()
null
for nonepublic Person setUrls(java.util.List<Url> urls)
urls
- urls or null
for nonepublic java.util.List<UserDefined> getUserDefined()
null
for nonepublic Person setUserDefined(java.util.List<UserDefined> userDefined)
userDefined
- userDefined or null
for nonepublic Person set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Person clone()
clone
in class com.google.api.client.json.GenericJson