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 FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
DropBoxProfile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
Locale |
getLocale() |
Long |
getNormal() |
String |
getProfileUrl() |
Long |
getQuota() |
Long |
getShared() |
getAccessSecret, setAccessSecretgetAccessToken, setAccessTokengetDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocation, getPictureUrl, getUsernameaddAttribute, addAttributes, addPermission, addRole, build, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, hasAccess, hasAllRoles, hasAnyRole, isRemembered, setId, setRemembered, toStringprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic Locale getLocale()
getLocale in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic Long getNormal()
public Long getQuota()
public Long getShared()
Copyright © 2015. All Rights Reserved.