Class PeoplePerson
- java.lang.Object
-
- org.springframework.social.google.api.ApiEntity
-
- org.springframework.social.google.api.people.PeoplePerson
-
public class PeoplePerson extends ApiEntity
Model class representing a full Google profile in people- Author:
- Oscar Carballo
-
-
Constructor Summary
Constructors Constructor Description PeoplePerson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AgeRange>getAgeRanges()Will need https://www.googleapis.com/auth/user.birthday.read scopeList<Birthday>getBirthdays()Will need https://www.googleapis.com/auth/user.birthday.read scopeList<Photo>getCoverPhotos()List<EmailAddress>getEmailAddresses()For account email address will need https://www.googleapis.com/auth/user.emails.read scopeStringgetEtag()List<Gender>getGenders()StringgetId()List<ImClient>getImClients()List<Local>getLocals()PersonMetadagetMetadata()List<Name>getNames()List<Organization>getOrganizations()List<PhoneNumber>getPhoneNumbers()List<Photo>getPhotos()List<Residence>getResidences()List<Url>getUrls()
-
-
-
Method Detail
-
getBirthdays
public List<Birthday> getBirthdays()
Will need https://www.googleapis.com/auth/user.birthday.read scope- Returns:
- list of birthdays
-
getEmailAddresses
public List<EmailAddress> getEmailAddresses()
For account email address will need https://www.googleapis.com/auth/user.emails.read scope- Returns:
- list of email addresses
-
getMetadata
public PersonMetada getMetadata()
-
getOrganizations
public List<Organization> getOrganizations()
-
getPhoneNumbers
public List<PhoneNumber> getPhoneNumbers()
-
getAgeRanges
public List<AgeRange> getAgeRanges()
Will need https://www.googleapis.com/auth/user.birthday.read scope- Returns:
- list of age ranges
-
-