public class YahooProfile extends OAuth10Profile
This class is the user profile for Yahoo with appropriate getters.
It is returned by the YahooClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | the primary (or only one) email from the emails attribute |
| String getFirstName() | the given_name attribute |
| String getFamilyName() | the family_name attribute |
| String getDisplayName() | the given_name attribute followed by a space and the family_name attribute |
| String getUsername() | the nickname attribute |
| Gender getGender() | the gender attribute |
| Locale getLocale() | the lang attribute |
| String getPictureUrl() | the imageUrl sub-attribute from the image attribute |
| String getProfileUrl() | the profile_url attribute |
| String getLocation() | the location attribute |
| More specific attributes | |
| String getAboutMe() | the aboutMe attribute |
| List<YahooAddress> getAddresses() | the addresses attribute |
| Integer getBirthYear() | the birthYear attribute |
| Date getBirthdate() | the birthdate attribute |
| Date getCreated() | the created attribute |
| Integer getDisplayAge() | the displayAge attribute |
| List<YahooDisclosure> getDisclosures() | the disclosures attribute |
| List<YahooEmail> getEmails() | the emails attribute |
| YahooImage getImage() | the image attribute |
| List<YahooInterest> getInterests() | the interests attribute |
| Boolean getIsConnected() | the isConnected attribute |
| Date getMemberSince() | the memberSince attribute |
| String getTimeZone() | the timeZone attribute |
| Date getUpdated() | the updated attribute |
| String getUri() | the uri attribute |
YahooClient,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
YahooProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAboutMe() |
List<YahooAddress> |
getAddresses() |
protected AttributesDefinition |
getAttributesDefinition() |
Date |
getBirthdate() |
Integer |
getBirthYear() |
Date |
getCreated() |
List<YahooDisclosure> |
getDisclosures() |
Integer |
getDisplayAge() |
String |
getDisplayName() |
String |
getEmail() |
List<YahooEmail> |
getEmails() |
String |
getFamilyName() |
String |
getFirstName() |
YahooImage |
getImage() |
List<YahooInterest> |
getInterests() |
Boolean |
getIsConnected() |
Locale |
getLocale() |
Date |
getMemberSince() |
String |
getPictureUrl() |
String |
getProfileUrl() |
String |
getTimeZone() |
Date |
getUpdated() |
String |
getUri() |
String |
getUsername() |
getAccessSecret, setAccessSecretclear, getAccessToken, setAccessTokengetGender, getLocationaddAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternalprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic String getEmail()
getEmail in class CommonProfilepublic String getFirstName()
getFirstName in class CommonProfilepublic String getFamilyName()
getFamilyName in class CommonProfilepublic String getDisplayName()
getDisplayName in class CommonProfilepublic String getUsername()
getUsername in class CommonProfilepublic Locale getLocale()
getLocale in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic String getAboutMe()
public List<YahooAddress> getAddresses()
public Integer getBirthYear()
public Date getBirthdate()
public Date getCreated()
public Integer getDisplayAge()
public List<YahooDisclosure> getDisclosures()
public List<YahooEmail> getEmails()
public YahooImage getImage()
public List<YahooInterest> getInterests()
public Boolean getIsConnected()
public Date getMemberSince()
public String getTimeZone()
public Date getUpdated()
public String getUri()
Copyright © 2016. All Rights Reserved.