|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHPerson
org.kohsuke.github.GHUser
public class GHUser
Represents an user of GitHub.
| Field Summary |
|---|
| Fields inherited from class org.kohsuke.github.GHPerson |
|---|
following_count, gravatar_id, id, login, public_gist_count, public_repo_count |
| Constructor Summary | |
|---|---|
GHUser()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
follow()
Follow this user. |
String |
getBlog()
Gets the blog URL of this user. |
String |
getCompany()
Gets the company name of this user, like "Sun Microsystems, Inc." |
String |
getCreatedAt()
|
String |
getEmail()
Gets the e-mail address of the user. |
Set<GHUser> |
getFollowers()
Lists the users who are following this user. |
int |
getFollowersCount()
|
int |
getFollowingCount()
|
Set<GHUser> |
getFollows()
Lists the users that this user is following |
int |
getId()
What appears to be a GitHub internal unique number that identifies this user. |
String |
getLocation()
Gets the location of this user, like "Santa Clara, California" |
String |
getLogin()
Gets the login ID of this user, like 'kohsuke' |
String |
getName()
Gets the human-readable name of the user, like "Kohsuke Kawaguchi" |
int |
getPublicGistCount()
|
int |
getPublicRepoCount()
|
int |
hashCode()
|
String |
toString()
|
void |
unfollow()
Unfollow this user. |
| Methods inherited from class org.kohsuke.github.GHPerson |
|---|
getGravatarId, getRepositories, getRepository |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GHUser()
| Method Detail |
|---|
public String getName()
public String getCompany()
public String getLocation()
public String getCreatedAt()
public String getBlog()
public String getLogin()
getLogin in class GHPersonpublic String getEmail()
public int getPublicGistCount()
public int getPublicRepoCount()
public int getFollowingCount()
public int getId()
public int getFollowersCount()
public void follow()
throws IOException
IOException
public void unfollow()
throws IOException
IOException
public Set<GHUser> getFollows()
throws IOException
IOException
public Set<GHUser> getFollowers()
throws IOException
IOExceptionpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||