public class GitHubProfile extends OAuth20Profile
This class is the user profile for GitHub with appropriate getters.
It is returned by the GitHubClient
.
logger, SEPARATOR
Constructor and Description |
---|
GitHubProfile() |
Modifier and Type | Method and Description |
---|---|
String |
getBio() |
String |
getBlog() |
Integer |
getCollaborators() |
String |
getCompany() |
Date |
getCreatedAt() |
Integer |
getDiskUsage() |
String |
getDisplayName()
Return the displayed name of the user.
|
Integer |
getFollowers() |
Integer |
getFollowing() |
String |
getGravatarId() |
Boolean |
getHireable() |
Integer |
getOwnedPrivateRepos() |
URI |
getPictureUrl()
Return the url of the picture of the user.
|
GitHubPlan |
getPlan() |
Integer |
getPrivateGists() |
URI |
getProfileUrl()
Return the url of the profile of the user.
|
Integer |
getPublicGists() |
Integer |
getPublicRepos() |
Integer |
getTotalPrivateRepos() |
String |
getType() |
Date |
getUpdatedAt() |
String |
getUrl() |
String |
getUsername()
Return the username of the user.
|
clearSensitiveData, getAccessToken, setAccessToken
getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternal
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getUsername()
CommonProfile
getUsername
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public 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 © 2017. All rights reserved.