public class GHUser extends GHPerson
avatar_url, blog, company, email, followers, following, gravatar_id, html_url, location, login, name, public_gists, public_reposcreated_at, id, updated_at, 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<GHUser> |
listFollowers()
Lists the users who are following this user.
|
PagedIterable<GHUser> |
listFollows()
Lists the users that this user is following
|
PagedIterable<GHGist> |
listGists()
Lists Gists created by this user.
|
PagedIterable<GHRepository> |
listStarredRepositories()
Lists all the repositories that this user has starred.
|
PagedIterable<GHRepository> |
listSubscriptions()
Lists all the subscribed (aka watched) repositories.
|
String |
toString() |
void |
unfollow()
Unfollow this user.
|
getAvatarUrl, getBlog, getCompany, getCreatedAt, getEmail, getFollowersCount, getFollowingCount, getGravatarId, getHtmlUrl, getLocation, getLogin, getName, getPublicGistCount, getPublicRepoCount, getRepositories, getRepository, getUpdatedAt, 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
IOExceptionpublic PagedIterable<GHUser> listFollows()
@WithBridgeMethods(value=java.util.Set.class) public GHPersonSet<GHUser> getFollowers() throws IOException
IOExceptionpublic PagedIterable<GHUser> listFollowers()
public PagedIterable<GHRepository> listSubscriptions()
public PagedIterable<GHRepository> listStarredRepositories()
public 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 © 2015. All Rights Reserved.