Interface Person
-
public interface PersonThis bean class represents People/Person
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPerson.FieldThe fields that represent the person object in json form.static classPerson.GenderEnumeration of genders.
-
Field Summary
Fields Modifier and Type Field Description static StringPROFILE_URL_TYPEThe type of a profile url when represented as a list field.static StringTHUMBNAIL_PHOTO_TYPEThe type of thumbnail photo types when represented as list fields.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAboutMe()Get a general statement about the person, specified as a string.List<Account>getAccounts()Get the list of online accounts held by this person.List<String>getActivities()Get the person's favorite activities, specified as an List of strings.List<Address>getAddresses()Get addresses associated with the person, specified as an List of Address objects.IntegergetAge()Get the person's age, specified as a number.Map<String,? extends Object>getAppData()Get app data for the person.DategetBirthday()Get the person's date of birth, specified as aDateobject.BodyTypegetBodyType()Get the person's body characteristics, specified as an BodyType.List<String>getBooks()Get the person's favorite books, specified as an List of strings.List<String>getCars()Get the person's favorite cars, specified as an List of strings.StringgetChildren()Get a description of the person's children, specified as a string.AddressgetCurrentLocation()Get the person's current location, specified as anAddress.StringgetDisplayName()The display name for the user.Enum<Drinker>getDrinker()List<ListField>getEmails()Get the person's Emails associated with the person.StringgetEthnicity()Get the person's ethnicity, specified as a string.StringgetFashion()Get the person's thoughts on fashion, specified as a string.List<String>getFood()Get the person's favorite food, specified as an List of strings.Person.GendergetGender()Get a person's gender, specified as anPerson.Gender.StringgetHappiestWhen()Get a description of when the person is happiest, specified as a string.BooleangetHasApp()Get if the person has used the current app.List<String>getHeroes()Get a person's favorite heroes, specified as an Array of strings.StringgetHumor()Get the person's thoughts on humor, specified as a string.StringgetId()Get A string ID that can be permanently associated with this person.List<ListField>getIms()Get a list of Instant messaging address for this Person.List<String>getInterests()Get the person's interests, hobbies or passions, specified as an List of strings.booleangetIsOwner()booleangetIsViewer()Returns true if this person object represents the currently logged in user.StringgetJobInterests()Get the Person's favorite jobs, or job interests and skills, specified as a string.List<String>getLanguagesSpoken()Get a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings.StringgetLivingArrangement()Get a description of the person's living arrangement, specified as a string.List<Enum<LookingFor>>getLookingFor()Get a person's statement about who or what they are looking for, or what they are interested in meeting people for.List<String>getMovies()Get the Person's favorite movies, specified as an List of strings.List<String>getMusic()Get the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.NamegetName()Get the person's name Container support for this field is REQUIRED.Enum<NetworkPresence>getNetworkPresence()Get the person's current network status.StringgetNickname()Get the person's nickname.List<Organization>getOrganizations()Get a list of current or past organizational affiliations of this Person.StringgetPets()Get a description of the person's pets Container support for this field is OPTIONAL.List<ListField>getPhoneNumbers()Get the Phone numbers associated with the person.List<ListField>getPhotos()URL of a photo of this person.StringgetPoliticalViews()Get the Person's political views, specified as a string.StringgetPreferredUsername()Get the Person's preferred username, specified as a string.UrlgetProfileSong()Get the Person's profile song, specified as anUrl.StringgetProfileUrl()Get the person's profile URL.UrlgetProfileVideo()Get the Person's profile video.List<String>getQuotes()Get the person's favorite quotes Container support for this field is OPTIONAL.StringgetRelationshipStatus()Get the person's relationship status.StringgetReligion()Get the person's relgion or religious views.StringgetRomance()Get the person's comments about romance.StringgetScaredOf()Get what the person is scared of Container support for this field is OPTIONAL.StringgetSexualOrientation()Get the person's sexual orientation.Enum<Smoker>getSmoker()Get the person's smoking status.List<String>getSports()Get the person's favorite sports.StringgetStatus()Get the person's status, headline or shoutout.List<String>getTags()Get arbitrary tags about the person.StringgetThumbnailUrl()Get the person's photo thumbnail URL, specified as a string.List<String>getTurnOffs()Get the person's turn offs.List<String>getTurnOns()Get the person's turn ons.List<String>getTvShows()Get the person's favorite TV shows.DategetUpdated()The time this person was last updated.List<Url>getUrls()Get the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.LonggetUtcOffset()Get the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time.voidsetAboutMe(String aboutMe)Set a general statement about the person, specified as a string.voidsetAccounts(List<Account> accounts)Set the list of online accounts held by this person.voidsetActivities(List<String> activities)Set the person's favorite activities, specified as an List of strings.voidsetAddresses(List<Address> addresses)Set addresses associated with the person, specified as an List of Address objects.voidsetAge(Integer age)Set the person's age, specified as a number.voidsetAppData(Map<String,? extends Object> appData)Sets app data for the person.voidsetBirthday(Date birthday)Set the person's date of birth, specified as aDateobject.voidsetBodyType(BodyType bodyType)Set the person's body characteristics, specified as an BodyType.voidsetBooks(List<String> books)Set the person's favorite books, specified as an List of strings.voidsetCars(List<String> cars)Set the person's favorite cars, specified as an List of strings.voidsetChildren(String children)Set a description of the person's children, specified as a string.voidsetCurrentLocation(Address currentLocation)Set the person's current location, specified as anAddress.voidsetDisplayName(String displayName)Set the display name.voidsetDrinker(Enum<Drinker> newDrinker)voidsetEmails(List<ListField> emails)Set the person's Emails associated with the person.voidsetEthnicity(String ethnicity)Set the person's ethnicity, specified as a string.voidsetFashion(String fashion)Set the person's thoughts on fashion, specified as a string.voidsetFood(List<String> food)Set the person's favorite food, specified as an List of strings.voidsetGender(Person.Gender newGender)Set a person's gender, specified as anPerson.Gender.voidsetHappiestWhen(String happiestWhen)Set a description of when the person is happiest, specified as a string.voidsetHasApp(Boolean hasApp)Set if the person has used the current app.voidsetHeroes(List<String> heroes)Set a person's favorite heroes, specified as an Array of strings.voidsetHumor(String humor)Set the person's thoughts on humor, specified as a string.voidsetId(String id)Set A string ID that can be permanently associated with this person.voidsetIms(List<ListField> ims)Set a list of Instant messaging address for this Person.voidsetInterests(List<String> interests)Set the person's interests, hobbies or passions, specified as an List of strings.voidsetIsOwner(boolean isOwner)Set the owner flag.voidsetIsViewer(boolean isViewer)Returns true if this person object represents the currently logged in user.voidsetJobInterests(String jobInterests)Set the Person's favorite jobs, or job interests and skills, specified as a string.voidsetLanguagesSpoken(List<String> languagesSpoken)Set a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings.voidsetLivingArrangement(String livingArrangement)Set a description of the person's living arrangement, specified as a string.voidsetLookingFor(List<Enum<LookingFor>> lookingFor)Get a person's statement about who or what they are looking for, or what they are interested in meeting people for.voidsetMovies(List<String> movies)Set the Person's favorite movies, specified as an List of strings.voidsetMusic(List<String> music)Set the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.voidsetName(Name name)Set the person's name Container support for this field is REQUIRED.voidsetNetworkPresence(Enum<NetworkPresence> networkPresence)Set the person's current network status.voidsetNickname(String nickname)Set the the person's nickname.voidsetOrganizations(List<Organization> organizations)Set a list of current or past organizational affiliations of this Person.voidsetPets(String pets)Set a description of the person's pets Container support for this field is OPTIONAL.voidsetPhoneNumbers(List<ListField> phoneNumbers)Set the Phone numbers associated with the person.voidsetPhotos(List<ListField> photos)Set a list of Photos for the person.voidsetPoliticalViews(String politicalViews)Set the Person's political views, specified as a string.voidsetPreferredUsername(String preferredString)Set the Person's preferred username, specified as a string.voidsetProfileSong(Url profileSong)Set the Person's profile song, specified as anUrl.voidsetProfileUrl(String profileUrl)Set the person's profile URL.voidsetProfileVideo(Url profileVideo)Set the Person's profile video.voidsetQuotes(List<String> quotes)Set the person's favorite quotes.voidsetRelationshipStatus(String relationshipStatus)Set the person's relationship status.voidsetReligion(String religion)Set the person's relgion or religious views.voidsetRomance(String romance)Set a the person's comments about romance, Container support for this field is OPTIONAL.voidsetScaredOf(String scaredOf)Set what the person is scared of Container support for this field is OPTIONAL.voidsetSexualOrientation(String sexualOrientation)Set the person's sexual orientation Container support for this field is OPTIONAL.voidsetSmoker(Enum<Smoker> newSmoker)Set the person's smoking status.voidsetSports(List<String> sports)Set the person's favorite sports.voidsetStatus(String status)Set the person's status, headline or shoutout.voidsetTags(List<String> tags)Set arbitrary tags about the person.voidsetThumbnailUrl(String thumbnailUrl)Set the person's photo thumbnail URL, specified as a string.voidsetTurnOffs(List<String> turnOffs)Set the person's turn offs.voidsetTurnOns(List<String> turnOns)Set the person's turn ons.voidsetTvShows(List<String> tvShows)Set the person's favorite TV shows.voidsetUpdated(Date updated)Set the time this record was last updated.voidsetUrls(List<Url> urls)Set the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.voidsetUtcOffset(Long utcOffset)Set the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time.
-
-
-
Field Detail
-
PROFILE_URL_TYPE
static final String PROFILE_URL_TYPE
The type of a profile url when represented as a list field.- See Also:
- Constant Field Values
-
THUMBNAIL_PHOTO_TYPE
static final String THUMBNAIL_PHOTO_TYPE
The type of thumbnail photo types when represented as list fields.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayName
String getDisplayName()
The display name for the user.- Returns:
- the display name
-
setDisplayName
void setDisplayName(String displayName)
Set the display name.- Parameters:
displayName- the new display name.
-
getAboutMe
String getAboutMe()
Get a general statement about the person, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the value of aboutMe
-
setAboutMe
void setAboutMe(String aboutMe)
Set a general statement about the person, specified as a string. Container support for this field is OPTIONAL.- Parameters:
aboutMe- the value of aboutMe
-
getAccounts
List<Account> getAccounts()
Get the list of online accounts held by this person.- Returns:
- a list of Account objects
-
setAccounts
void setAccounts(List<Account> accounts)
Set the list of online accounts held by this person.- Parameters:
accounts- a list of Account objects
-
getActivities
List<String> getActivities()
Get the person's favorite activities, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- list of activities.
-
setActivities
void setActivities(List<String> activities)
Set the person's favorite activities, specified as an List of strings.- Parameters:
activities- a list of activities
-
getAddresses
List<Address> getAddresses()
Get addresses associated with the person, specified as an List of Address objects. Container support for this field is OPTIONAL.- Returns:
- a List of address objects
-
setAddresses
void setAddresses(List<Address> addresses)
Set addresses associated with the person, specified as an List of Address objects. Container support for this field is OPTIONAL.- Parameters:
addresses- a list of address objects
-
getAge
Integer getAge()
Get the person's age, specified as a number. Container support for this field is OPTIONAL.- Returns:
- the persons age
-
setAge
void setAge(Integer age)
Set the person's age, specified as a number. Container support for this field is OPTIONAL.- Parameters:
age- the persons age
-
getAppData
Map<String,? extends Object> getAppData()
Get app data for the person.- Returns:
- the app data, possibly a subset.
-
setAppData
void setAppData(Map<String,? extends Object> appData)
Sets app data for the person.- Parameters:
appData- the app data, possibly a subset
-
getBirthday
Date getBirthday()
Get the person's date of birth, specified as aDateobject. Container support for this field is OPTIONAL.- Returns:
- the person's data of birth
-
setBirthday
void setBirthday(Date birthday)
Set the person's date of birth, specified as aDateobject. Container support for this field is OPTIONAL.- Parameters:
birthday- the person's data of birth
-
getBodyType
BodyType getBodyType()
Get the person's body characteristics, specified as an BodyType. Container support for this field is OPTIONAL.- Returns:
- the BodyType
-
setBodyType
void setBodyType(BodyType bodyType)
Set the person's body characteristics, specified as an BodyType. Container support for this field is OPTIONAL.- Parameters:
bodyType- the person's BodyType
-
getBooks
List<String> getBooks()
Get the person's favorite books, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- list of books as strings
-
setBooks
void setBooks(List<String> books)
Set the person's favorite books, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
books- a list of the person's books
-
getCars
List<String> getCars()
Get the person's favorite cars, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- the persons favorite cars
-
setCars
void setCars(List<String> cars)
Set the person's favorite cars, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
cars- a list of the persons favorite cars
-
getChildren
String getChildren()
Get a description of the person's children, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the persons children
-
setChildren
void setChildren(String children)
Set a description of the person's children, specified as a string. Container support for this field is OPTIONAL.- Parameters:
children- the persons children
-
getCurrentLocation
Address getCurrentLocation()
Get the person's current location, specified as anAddress. Container support for this field is OPTIONAL.- Returns:
- the persons current location
-
setCurrentLocation
void setCurrentLocation(Address currentLocation)
Set the person's current location, specified as anAddress. Container support for this field is OPTIONAL.- Parameters:
currentLocation- the persons current location
-
getDrinker
Enum<Drinker> getDrinker()
Get the person's drinking status, specified as anEnumwith the enum's key referencingDrinker. Container support for this field is OPTIONAL.- Returns:
- the persons drinking status
-
setDrinker
void setDrinker(Enum<Drinker> newDrinker)
Get the person's drinking status, specified as anEnumwith the enum's key referencingDrinker. Container support for this field is OPTIONAL.- Parameters:
newDrinker- the persons drinking status
-
getEmails
List<ListField> getEmails()
Get the person's Emails associated with the person. Container support for this field is OPTIONAL.- Returns:
- a list of the person's emails
-
setEmails
void setEmails(List<ListField> emails)
Set the person's Emails associated with the person. Container support for this field is OPTIONAL.- Parameters:
emails- a list of the person's emails
-
getEthnicity
String getEthnicity()
Get the person's ethnicity, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the person's ethnicity
-
setEthnicity
void setEthnicity(String ethnicity)
Set the person's ethnicity, specified as a string. Container support for this field is OPTIONAL.- Parameters:
ethnicity- the person's ethnicity
-
getFashion
String getFashion()
Get the person's thoughts on fashion, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the person's thoughts on fashion
-
setFashion
void setFashion(String fashion)
Set the person's thoughts on fashion, specified as a string. Container support for this field is OPTIONAL.- Parameters:
fashion- the person's thoughts on fashion
-
getFood
List<String> getFood()
Get the person's favorite food, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- the person's favorite food
-
setFood
void setFood(List<String> food)
Set the person's favorite food, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
food- the person's favorite food
-
getGender
Person.Gender getGender()
Get a person's gender, specified as anPerson.Gender.- Returns:
- the person's gender
-
setGender
void setGender(Person.Gender newGender)
Set a person's gender, specified as anPerson.Gender.- Parameters:
newGender- the person's gender
-
getHappiestWhen
String getHappiestWhen()
Get a description of when the person is happiest, specified as a string. Container support for this field is OPTIONAL.- Returns:
- a description of when the person is happiest
-
setHappiestWhen
void setHappiestWhen(String happiestWhen)
Set a description of when the person is happiest, specified as a string. Container support for this field is OPTIONAL.- Parameters:
happiestWhen- a description of when the person is happiest
-
getHasApp
Boolean getHasApp()
Get if the person has used the current app. Container support for this field is OPTIONAL. Has app needs to take account of the context of the application that is performing the query on this person object.- Returns:
- true the current app has been used
-
setHasApp
void setHasApp(Boolean hasApp)
Set if the person has used the current app. Container support for this field is OPTIONAL.- Parameters:
hasApp- set true the current app has been used
-
getHeroes
List<String> getHeroes()
Get a person's favorite heroes, specified as an Array of strings. Container support for this field is OPTIONAL.- Returns:
- a list of the person's favorite heroes
-
setHeroes
void setHeroes(List<String> heroes)
Set a person's favorite heroes, specified as an Array of strings. Container support for this field is OPTIONAL.- Parameters:
heroes- a list of the person's favorite heroes
-
getHumor
String getHumor()
Get the person's thoughts on humor, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the person's thoughts on humor
-
setHumor
void setHumor(String humor)
Set the person's thoughts on humor, specified as a string. Container support for this field is OPTIONAL.- Parameters:
humor- the person's thoughts on humor
-
getId
String getId()
Get A string ID that can be permanently associated with this person. Container support for this field is REQUIRED.- Returns:
- the permanent ID of the person
-
setId
void setId(String id)
Set A string ID that can be permanently associated with this person. Container support for this field is REQUIRED.- Parameters:
id- the permanent ID of the person
-
getIms
List<ListField> getIms()
Get a list of Instant messaging address for this Person. No official canonicalization rules exist for all instant messaging addresses, but Service Providers SHOULD remove all whitespace and convert the address to lowercase, if this is appropriate for the service this IM address is used for. Instead of the standard Canonical Values for type, this field defines the following Canonical Values to represent currently popular IM services: aim, gtalk, icq, xmpp, msn, skype, qq, and yahoo.- Returns:
- A list of IM addresses
-
setIms
void setIms(List<ListField> ims)
Set a list of Instant messaging address for this Person. No official canonicalization rules exist for all instant messaging addresses, but Service Providers SHOULD remove all whitespace and convert the address to lowercase, if this is appropriate for the service this IM address is used for. Instead of the standard Canonical Values for type, this field defines the following Canonical Values to represent currently popular IM services: aim, gtalk, icq, xmpp, msn, skype, qq, and yahoo.- Parameters:
ims- a list ListFields representing IM addresses.
-
getInterests
List<String> getInterests()
Get the person's interests, hobbies or passions, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- the person's interests, hobbies or passions
-
setInterests
void setInterests(List<String> interests)
Set the person's interests, hobbies or passions, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
interests- the person's interests, hobbies or passions
-
getJobInterests
String getJobInterests()
Get the Person's favorite jobs, or job interests and skills, specified as a string. Container support for this field is OPTIONAL- Returns:
- the Person's favorite jobs, or job interests and skills
-
setJobInterests
void setJobInterests(String jobInterests)
Set the Person's favorite jobs, or job interests and skills, specified as a string. Container support for this field is OPTIONAL- Parameters:
jobInterests- the Person's favorite jobs, or job interests and skills
-
getLanguagesSpoken
List<String> getLanguagesSpoken()
Get a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- a List of the languages that the person speaks
-
setLanguagesSpoken
void setLanguagesSpoken(List<String> languagesSpoken)
Set a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
languagesSpoken- a List of the languages that the person speaks
-
getUpdated
Date getUpdated()
The time this person was last updated.- Returns:
- the last update time
-
setUpdated
void setUpdated(Date updated)
Set the time this record was last updated.- Parameters:
updated- the last update time
-
getLivingArrangement
String getLivingArrangement()
Get a description of the person's living arrangement, specified as a string. Container support for this field is OPTIONAL.- Returns:
- a description of the person's living arrangement
-
setLivingArrangement
void setLivingArrangement(String livingArrangement)
Set a description of the person's living arrangement, specified as a string. Container support for this field is OPTIONAL.- Parameters:
livingArrangement- a description of the person's living arrangement
-
getLookingFor
List<Enum<LookingFor>> getLookingFor()
Get a person's statement about who or what they are looking for, or what they are interested in meeting people for. Specified as an List ofEnumwith the enum's key referencingLookingForContainer support for this field is OPTIONAL.- Returns:
- person's statement about who or what they are looking for
-
setLookingFor
void setLookingFor(List<Enum<LookingFor>> lookingFor)
Get a person's statement about who or what they are looking for, or what they are interested in meeting people for. Specified as an List ofEnumwith the enum's key referencingLookingForContainer support for this field is OPTIONAL.- Parameters:
lookingFor- person's statement about who or what they are looking for
-
getMovies
List<String> getMovies()
Get the Person's favorite movies, specified as an List of strings. Container support for this field is OPTIONAL.- Returns:
- the Person's favorite movies
-
setMovies
void setMovies(List<String> movies)
Set the Person's favorite movies, specified as an List of strings. Container support for this field is OPTIONAL.- Parameters:
movies- the Person's favorite movies
-
getMusic
List<String> getMusic()
Get the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.- Returns:
- Person's favorite music
-
setMusic
void setMusic(List<String> music)
Set the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.- Parameters:
music- Person's favorite music
-
getName
Name getName()
Get the person's name Container support for this field is REQUIRED.- Returns:
- the person's name
-
setName
void setName(Name name)
Set the person's name Container support for this field is REQUIRED.- Parameters:
name- the person's name
-
getNetworkPresence
Enum<NetworkPresence> getNetworkPresence()
Get the person's current network status. Specified as anEnumwith the enum's key referencingNetworkPresence. Container support for this field is OPTIONAL.- Returns:
- the person's current network status
-
setNetworkPresence
void setNetworkPresence(Enum<NetworkPresence> networkPresence)
Set the person's current network status. Specified as anEnumwith the enum's key referencingNetworkPresence. Container support for this field is OPTIONAL.- Parameters:
networkPresence- the person's current network status
-
getNickname
String getNickname()
Get the person's nickname. Container support for this field is REQUIRED.- Returns:
- the person's nickname.
-
setNickname
void setNickname(String nickname)
Set the the person's nickname. Container support for this field is REQUIRED.- Parameters:
nickname- the person's nickname.
-
getOrganizations
List<Organization> getOrganizations()
Get a list of current or past organizational affiliations of this Person.- Returns:
- a list of Organization objects
-
setOrganizations
void setOrganizations(List<Organization> organizations)
Set a list of current or past organizational affiliations of this Person.- Parameters:
organizations- a list of Organisation objects
-
getPets
String getPets()
Get a description of the person's pets Container support for this field is OPTIONAL.- Returns:
- a description of the person's pets
-
setPets
void setPets(String pets)
Set a description of the person's pets Container support for this field is OPTIONAL.- Parameters:
pets- a description of the person's pets
-
getPhoneNumbers
List<ListField> getPhoneNumbers()
Get the Phone numbers associated with the person.- Returns:
- the Phone numbers associated with the person
-
setPhoneNumbers
void setPhoneNumbers(List<ListField> phoneNumbers)
Set the Phone numbers associated with the person.- Parameters:
phoneNumbers- the Phone numbers associated with the person
-
getPhotos
List<ListField> getPhotos()
URL of a photo of this person. The value SHOULD be a canonicalized URL, and MUST point to an actual image file (e.g. a GIF, JPEG, or PNG image file) rather than to a web page containing an image. Service Providers MAY return the same image at different sizes, though it is recognized that no standard for describing images of various sizes currently exists. Note that this field SHOULD NOT be used to send down arbitrary photos taken by this user, but specifically profile photos of the contact suitable for display when describing the contact.- Returns:
- a list of Photos
-
setPhotos
void setPhotos(List<ListField> photos)
Set a list of Photos for the person.- Parameters:
photos- a list of photos.- See Also:
getPhotos()
-
getPoliticalViews
String getPoliticalViews()
Get the Person's political views, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the Person's political views
-
setPoliticalViews
void setPoliticalViews(String politicalViews)
Set the Person's political views, specified as a string. Container support for this field is OPTIONAL.- Parameters:
politicalViews- the Person's political views
-
getPreferredUsername
String getPreferredUsername()
Get the Person's preferred username, specified as a string. Container support for this field is OPTIONAL- Returns:
- the Person's preferred username
-
setPreferredUsername
void setPreferredUsername(String preferredString)
Set the Person's preferred username, specified as a string. Container support for this field is OPTIONAL- Parameters:
preferredString- the Person's preferred username
-
getProfileSong
Url getProfileSong()
Get the Person's profile song, specified as anUrl. Container support for this field is OPTIONAL.- Returns:
- the Person's profile song
-
setProfileSong
void setProfileSong(Url profileSong)
Set the Person's profile song, specified as anUrl. Container support for this field is OPTIONAL.- Parameters:
profileSong- the Person's profile song
-
getProfileVideo
Url getProfileVideo()
Get the Person's profile video. Container support for this field is OPTIONAL.- Returns:
- the Person's profile video
-
setProfileVideo
void setProfileVideo(Url profileVideo)
Set the Person's profile video. Container support for this field is OPTIONAL.- Parameters:
profileVideo- the Person's profile video
-
getQuotes
List<String> getQuotes()
Get the person's favorite quotes Container support for this field is OPTIONAL.- Returns:
- the person's favorite quotes
-
setQuotes
void setQuotes(List<String> quotes)
Set the person's favorite quotes. Container support for this field is OPTIONAL.- Parameters:
quotes- the person's favorite quotes
-
getRelationshipStatus
String getRelationshipStatus()
Get the person's relationship status. Container support for this field is OPTIONAL.- Returns:
- the person's relationship status
-
setRelationshipStatus
void setRelationshipStatus(String relationshipStatus)
Set the person's relationship status. Container support for this field is OPTIONAL.- Parameters:
relationshipStatus- the person's relationship status
-
getReligion
String getReligion()
Get the person's relgion or religious views. Container support for this field is OPTIONAL.- Returns:
- the person's relgion or religious views
-
setReligion
void setReligion(String religion)
Set the person's relgion or religious views. Container support for this field is OPTIONAL.- Parameters:
religion- the person's relgion or religious views
-
getRomance
String getRomance()
Get the person's comments about romance. Container support for this field is OPTIONAL.- Returns:
- the person's comments about romance,
-
setRomance
void setRomance(String romance)
Set a the person's comments about romance, Container support for this field is OPTIONAL.- Parameters:
romance- the person's comments about romance,
-
getScaredOf
String getScaredOf()
Get what the person is scared of Container support for this field is OPTIONAL.- Returns:
- what the person is scared of
-
setScaredOf
void setScaredOf(String scaredOf)
Set what the person is scared of Container support for this field is OPTIONAL.- Parameters:
scaredOf- what the person is scared of
-
getSexualOrientation
String getSexualOrientation()
Get the person's sexual orientation. Container support for this field is OPTIONAL.- Returns:
- the person's sexual orientation
-
setSexualOrientation
void setSexualOrientation(String sexualOrientation)
Set the person's sexual orientation Container support for this field is OPTIONAL.- Parameters:
sexualOrientation- the person's sexual orientation
-
getSmoker
Enum<Smoker> getSmoker()
Get the person's smoking status. Container support for this field is OPTIONAL.- Returns:
- the person's smoking status
-
setSmoker
void setSmoker(Enum<Smoker> newSmoker)
Set the person's smoking status. Container support for this field is OPTIONAL.- Parameters:
newSmoker- the person's smoking status
-
getSports
List<String> getSports()
Get the person's favorite sports. Container support for this field is OPTIONAL.- Returns:
- the person's favorite sports
-
setSports
void setSports(List<String> sports)
Set the person's favorite sports. Container support for this field is OPTIONAL.- Parameters:
sports- the person's favorite sports
-
getStatus
String getStatus()
Get the person's status, headline or shoutout. Container support for this field is OPTIONAL.- Returns:
- the person's status, headline or shoutout
-
setStatus
void setStatus(String status)
Set the person's status, headline or shoutout. Container support for this field is OPTIONAL.- Parameters:
status- the person's status, headline or shoutout
-
getTags
List<String> getTags()
Get arbitrary tags about the person. Container support for this field is OPTIONAL.- Returns:
- arbitrary tags about the person.
-
setTags
void setTags(List<String> tags)
Set arbitrary tags about the person. Container support for this field is OPTIONAL.- Parameters:
tags- arbitrary tags about the person.
-
getUtcOffset
Long getUtcOffset()
Get the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time. Container support for this field is OPTIONAL.- Returns:
- the Person's time zone
-
setUtcOffset
void setUtcOffset(Long utcOffset)
Set the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time. Container support for this field is OPTIONAL.- Parameters:
utcOffset- the Person's time zone
-
getTurnOffs
List<String> getTurnOffs()
Get the person's turn offs. Container support for this field is OPTIONAL.- Returns:
- the person's turn offs
-
setTurnOffs
void setTurnOffs(List<String> turnOffs)
Set the person's turn offs. Container support for this field is OPTIONAL.- Parameters:
turnOffs- the person's turn offs
-
getTurnOns
List<String> getTurnOns()
Get the person's turn ons. Container support for this field is OPTIONAL.- Returns:
- the person's turn ons
-
setTurnOns
void setTurnOns(List<String> turnOns)
Set the person's turn ons. Container support for this field is OPTIONAL.- Parameters:
turnOns- the person's turn ons
-
getTvShows
List<String> getTvShows()
Get the person's favorite TV shows. Container support for this field is OPTIONAL.- Returns:
- the person's favorite TV shows.
-
setTvShows
void setTvShows(List<String> tvShows)
Set the person's favorite TV shows. Container support for this field is OPTIONAL.- Parameters:
tvShows- the person's favorite TV shows.
-
getUrls
List<Url> getUrls()
Get the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.- Returns:
- the URLs related to the person, their webpages, or feeds
-
setUrls
void setUrls(List<Url> urls)
Set the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.- Parameters:
urls- the URLs related to the person, their webpages, or feeds
-
getIsOwner
boolean getIsOwner()
- Returns:
- true if this person object represents the owner of the current page.
-
setIsOwner
void setIsOwner(boolean isOwner)
Set the owner flag.- Parameters:
isOwner- the isOwnerflag
-
getIsViewer
boolean getIsViewer()
Returns true if this person object represents the currently logged in user.- Returns:
- true if the person accessing this object is a viewer.
-
setIsViewer
void setIsViewer(boolean isViewer)
Returns true if this person object represents the currently logged in user.- Parameters:
isViewer- the isViewer Flag
-
getProfileUrl
String getProfileUrl()
Get the person's profile URL. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the urls list with a type of "profile". Container support for this field is OPTIONAL.- Returns:
- the person's profile URL
-
setProfileUrl
void setProfileUrl(String profileUrl)
Set the person's profile URL. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the urls list with a type of "profile". Container support for this field is OPTIONAL.- Parameters:
profileUrl- the person's profile URL
-
getThumbnailUrl
String getThumbnailUrl()
Get the person's photo thumbnail URL, specified as a string. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the photos list with a type of "thumbnail". Container support for this field is OPTIONAL.- Returns:
- the person's photo thumbnail URL
-
setThumbnailUrl
void setThumbnailUrl(String thumbnailUrl)
Set the person's photo thumbnail URL, specified as a string. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the photos list with a type of "thumbnail". Container support for this field is OPTIONAL.- Parameters:
thumbnailUrl- the person's photo thumbnail URL
-
-