public class TwitterProfile extends OAuth10Profile
This class is the user profile for Twitter with appropriate getters.
It is returned by the TwitterClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | null |
String getFirstName() | null |
String getFamilyName() | null |
String getDisplayName() | the name attribute |
String getUsername() | the screen_name attribute |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | the lang attribute |
String getPictureUrl() | the profile_image_url attribute |
String getProfileUrl() | the url attribute |
String getLocation() | the location attribute |
More specific attributes | |
Boolean getContributorsEnabled() | the contributors_enabled attribute |
Date getCreatedAt() | the created_at attribute |
Boolean getDefaultProfile() | the default_profile attribute |
Boolean getDefaultProfileImage() | the default_profile_image attribute |
String getDescription() | the description attribute |
Integer getFavouritesCount() | the favourites_count attribute |
Boolean getFollowRequestSent() | the follow_request_sent attribute |
Integer getFollowersCount() | the followers_count attribute |
Boolean getFollowing() | the following attribute |
Integer getFriendsCount() | the friends_count attribute |
Boolean getGeoEnabled() | the geo_enabled attribute |
Boolean getIsTranslator() | the is_translator attribute |
Integer getListedCount() | the listed_count attribute |
Boolean getNotifications() | the notifications attribute |
Color getProfileBackgroundColor() | the profile_background_color attribute |
String getProfileBackgroundImageUrl() | the profile_background_image_url attribute |
String getProfileBackgroundImageUrlHttps() | the profile_background_image_url_https attribute |
Boolean getProfileBackgroundTile() | the profile_background_tile attribute |
String getProfileImageUrlHttps() | the profile_image_url_https attribute |
Color getProfileLinkColor() | the profile_link_color attribute |
Color getProfileSidebarBorderColor() | the profile_sidebar_border_color attribute |
Color getProfileSidebarFillColor() | the profile_sidebar_fill_color attribute |
Color getProfileTextColor() | the profile_text_color attribute |
Boolean getProfileUseBackgroundImage() | the profile_use_background_image attribute |
Boolean getProtected() | the protected attribute |
Boolean getShowAllInlineMedia() | the show_all_inline_media attribute |
Integer getStatusesCount() | the statuses_count attribute |
String getTimeZone() | the time_zone attribute |
Integer getUtcOffset() | the utc_offset attribute |
Boolean getVerified() | the verified attribute |
TwitterClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
TwitterProfile() |
getAccessSecret, setAccessSecret
clear, getAccessToken, setAccessToken
getEmail, getFamilyName, getFirstName, getGender, getLocation
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getUsername()
CommonProfile
getUsername
in class CommonProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public Boolean getContributorsEnabled()
public Date getCreatedAt()
public Boolean getDefaultProfile()
public Boolean getDefaultProfileImage()
public String getDescription()
public Integer getFavouritesCount()
public Boolean getFollowRequestSent()
public Integer getFollowersCount()
public Boolean getFollowing()
public Integer getFriendsCount()
public Boolean getGeoEnabled()
public Boolean getIsTranslator()
public Integer getListedCount()
public Boolean getNotifications()
public Color getProfileBackgroundColor()
public String getProfileBackgroundImageUrl()
public String getProfileBackgroundImageUrlHttps()
public Boolean getProfileBackgroundTile()
public String getProfileImageUrlHttps()
public Color getProfileLinkColor()
public Color getProfileSidebarBorderColor()
public Color getProfileSidebarFillColor()
public Color getProfileTextColor()
public Boolean getProfileUseBackgroundImage()
public Boolean getProtected()
public Boolean getShowAllInlineMedia()
public Integer getStatusesCount()
public String getTimeZone()
public Integer getUtcOffset()
public Boolean getVerified()
Copyright © 2016. All rights reserved.