public class GitHubProfile extends OAuth20Profile
This class is the user profile for GitHub with appropriate getters.
It is returned by the GitHubClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | the email attribute |
| String getFirstName() | null |
| String getFamilyName() | null |
| String getDisplayName() | the name attribute |
| String getUsername() | the login attribute |
| Gender getGender() | Gender.UNSPECIFIED |
| Locale getLocale() | null |
| String getPictureUrl() | the avatar_url attribute |
| String getProfileUrl() | the html_url attribute |
| String getLocation() | the location attribute |
| More specific attributes | |
| String getCompany() | the company attribute |
| Integer getFollowing() | the following attribute |
| String getBlog() | the blog attribute |
| Integer getPublicRepos() | the public_repos attribute |
| Integer getPublicGists() | the public_gists attribute |
| Integer getDiskUsage() | the disk_usage attribute |
| Integer getCollaborators() | the collaborators attribute |
| GitHubPlan getPlan() | the plan attribute |
| Integer getOwnedPrivateRepos() | the owned_private_repos attribute |
| Integer getTotalPrivateRepos() | the total_private_repos attribute |
| Integer getPrivateGists() | the private_gists attribute |
| Integer getFollowers() | the followers attribute |
| Date getCreatedAt() | the created_at attribute |
| String getType() | the type attribute |
| String getGravatarId() | the gravatar_id attribute |
| String getUrl() | the url attribute |
| Boolean getHireable() | the hireable attribute |
| String getBio() | the bio attribute |
GitHubClient,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
GitHubProfile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
String |
getBio() |
String |
getBlog() |
Integer |
getCollaborators() |
String |
getCompany() |
Date |
getCreatedAt() |
Integer |
getDiskUsage() |
String |
getDisplayName() |
Integer |
getFollowers() |
Integer |
getFollowing() |
String |
getGravatarId() |
Boolean |
getHireable() |
Integer |
getOwnedPrivateRepos() |
String |
getPictureUrl() |
GitHubPlan |
getPlan() |
Integer |
getPrivateGists() |
String |
getProfileUrl() |
Integer |
getPublicGists() |
Integer |
getPublicRepos() |
Integer |
getTotalPrivateRepos() |
String |
getType() |
Date |
getUpdatedAt() |
String |
getUrl() |
String |
getUsername() |
clear, getAccessToken, setAccessTokengetEmail, getFamilyName, getFirstName, getGender, getLocale, 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 getDisplayName()
getDisplayName in class CommonProfilepublic String getUsername()
getUsername in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic String getCompany()
public Integer getFollowing()
public String getBlog()
public Integer getPublicRepos()
public Integer getPublicGists()
public Integer getDiskUsage()
public Integer getCollaborators()
public GitHubPlan getPlan()
public Integer getOwnedPrivateRepos()
public Integer getTotalPrivateRepos()
public Integer getPrivateGists()
public Integer getFollowers()
public Date getCreatedAt()
public Date getUpdatedAt()
public String getType()
public String getGravatarId()
public String getUrl()
public Boolean getHireable()
public String getBio()
Copyright © 2016. All Rights Reserved.