avatar_url, blog, company, created_at, email, followers, following, gravatar_id, html_url, id, location, login, name, public_gists, public_repos, url| Constructor and Description |
|---|
GHUser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
follow()
Follow this user.
|
GHPersonSet<GHUser> |
getFollowers()
Lists the users who are following this user.
|
GHPersonSet<GHUser> |
getFollows()
Lists the users that this user is following
|
GHPersonSet<GHOrganization> |
getOrganizations()
Gets the organization that this user belongs to publicly.
|
int |
hashCode() |
boolean |
isMemberOf(GHOrganization org)
Returns true if this user belongs to the specified organization.
|
boolean |
isMemberOf(GHTeam team)
Returns true if this user belongs to the specified team.
|
boolean |
isPublicMemberOf(GHOrganization org)
Returns true if this user belongs to the specified organization as a public member.
|
PagedIterable<GHEventInfo> |
listEvents()
Lists events performed by a user (this includes private events if the caller is authenticated.
|
PagedIterable<GHGist> |
listGists()
Lists Gists created by this user.
|
String |
toString() |
void |
unfollow()
Unfollow this user.
|
getAvatarUrl, getBlog, getCompany, getCreatedAt, getEmail, getFollowersCount, getFollowingCount, getGravatarId, getHtmlUrl, getId, getLocation, getLogin, getName, getPublicGistCount, getPublicRepoCount, getRepositories, getRepository, iterateRepositories, listRepositories, listRepositories, populatepublic void follow()
throws IOException
IOExceptionpublic void unfollow()
throws IOException
IOException@WithBridgeMethods(value=java.util.Set.class) public GHPersonSet<GHUser> getFollows() throws IOException
IOException@WithBridgeMethods(value=java.util.Set.class) public GHPersonSet<GHUser> getFollowers() throws IOException
IOExceptionpublic boolean isMemberOf(GHOrganization org)
public boolean isMemberOf(GHTeam team)
public boolean isPublicMemberOf(GHOrganization org)
@WithBridgeMethods(value=java.util.Set.class) public GHPersonSet<GHOrganization> getOrganizations() throws IOException
IOExceptionpublic PagedIterable<GHEventInfo> listEvents() throws IOException
listEvents in class GHPersonIOExceptionpublic PagedIterable<GHGist> listGists() throws IOException
IOExceptionCopyright © 2014. All rights reserved.