|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHUser
public class GHUser
Represents an user of GitHub.
| 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 |
java.lang.String |
getGravatarId()
Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105 |
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()
|
java.util.Map<java.lang.String,GHRepository> |
getRepositories()
Gets the repositories this user owns. |
GHRepository |
getRepository(java.lang.String name)
|
int |
hashCode()
|
java.lang.String |
toString()
|
void |
unfollow()
Unfollow this user. |
| 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 getGravatarId()
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()
public java.lang.String getEmail()
public int getPublicGistCount()
public int getPublicRepoCount()
public int getFollowingCount()
public int getId()
public int getFollowersCount()
public java.util.Map<java.lang.String,GHRepository> getRepositories()
throws java.io.IOException
java.io.IOException
public GHRepository getRepository(java.lang.String name)
throws java.io.IOException
java.io.IOException
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 | ||||||||