public class BitbucketProfile extends OAuth10Profile
This class is the user profile for Bitbucket with appropriate getters.
It is returned by the BitbucketClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | the email attribute |
| String getFirstName() | the first_name attribute |
| String getFamilyName() | the last_name attribute |
| String getDisplayName() | the display_name attribute |
| String getUsername() | the username attribute |
| Gender getGender() | Gender.UNSPECIFIED |
| Locale getLocale() | null |
| String getPictureUrl() | the avatar attribute |
| String getProfileUrl() | the html_url attribute |
| String getLocation() | the resource_uri attribute |
| More specific attributes | |
| boolean isTeam() | the is_team attribute |
USERNAMElogger, SEPARATOR| Constructor and Description |
|---|
BitbucketProfile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
String |
getFamilyName() |
String |
getPictureUrl() |
String |
getProfileUrl() |
boolean |
isTeam() |
getAccessSecret, setAccessSecretclear, getAccessToken, setAccessTokengetDisplayName, getEmail, getFirstName, getGender, getLocale, getLocation, getUsernameaddAttribute, 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 getFamilyName()
getFamilyName in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic boolean isTeam()
Copyright © 2016. All Rights Reserved.