public class DropBoxProfile extends OAuth10Profile
This class is the user profile for DropBox with appropriate getters.
It is returned by the DropBoxClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | null |
String getFirstName() | null |
String getFamilyName() | null |
String getDisplayName() | the display_name attribute |
String getUsername() | null |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | the country attribute |
String getPictureUrl() | null |
String getProfileUrl() | the referral_link attribute |
String getLocation() | null |
More specific attributes | |
Long getNormal() | the normal attribute |
Long getQuota() | the quota attribute |
Long getShared() | the shared attribute |
DropBoxClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
DropBoxProfile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
Locale |
getLocale()
Return the locale of the user.
|
Long |
getNormal() |
String |
getProfileUrl()
Return the url of the profile of the user.
|
Long |
getQuota() |
Long |
getShared() |
getAccessSecret, setAccessSecret
clear, getAccessToken, setAccessToken
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocation, getPictureUrl, getUsername
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 Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public Long getNormal()
public Long getQuota()
public Long getShared()
Copyright © 2016. All rights reserved.