|
|||||||||
| 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(java.lang.Object obj)
|
void |
follow()
Follow this user. |
java.lang.String |
getBlog()
Gets the blog URL of this user. |
java.lang.String |
getCompany()
Gets the company name of this user, like "Sun Microsystems, Inc." |
java.lang.String |
getCreatedAt()
|
java.lang.String |
getEmail()
Gets the e-mail address of the user. |
java.util.Set<GHUser> |
getFollowers()
Lists the users who are following this user. |
int |
getFollowersCount()
|
int |
getFollowingCount()
|
java.util.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. |
java.lang.String |
getLocation()
Gets the location of this user, like "Santa Clara, California" |
java.lang.String |
getLogin()
Gets the login ID of this user, like 'kohsuke' |
java.lang.String |
getName()
Gets the human-readable name of the user, like "Kohsuke Kawaguchi" |
int |
getPublicGistCount()
|
int |
getPublicRepoCount()
|
int |
hashCode()
|
java.lang.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 java.lang.String getName()
public java.lang.String getCompany()
public java.lang.String getLocation()
public java.lang.String getCreatedAt()
public java.lang.String getBlog()
public java.lang.String getLogin()
getLogin in class GHPersonpublic java.lang.String getEmail()
public int getPublicGistCount()
public int getPublicRepoCount()
public int getFollowingCount()
public int getId()
public int getFollowersCount()
public void follow()
throws java.io.IOException
java.io.IOException
public void unfollow()
throws java.io.IOException
java.io.IOException
public java.util.Set<GHUser> getFollows()
throws java.io.IOException
java.io.IOException
public java.util.Set<GHUser> getFollowers()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||