public class GHMyself extends GHUser
| Modifier and Type | Class and Description |
|---|---|
static class |
GHMyself.RepositoryListFilter
Type of repositories returned during listing.
|
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 |
|---|
GHMyself() |
| Modifier and Type | Method and Description |
|---|---|
GHPersonSet<GHOrganization> |
getAllOrganizations()
Gets the organization that this user belongs to.
|
java.util.Map<java.lang.String,GHRepository> |
getAllRepositories()
Gets the all repositories this user owns (public and private).
|
java.util.List<java.lang.String> |
getEmails()
Deprecated.
Use
getEmails2() |
java.util.List<GHEmail> |
getEmails2()
Returns the read-only list of e-mail addresses configured for you.
|
java.util.List<GHKey> |
getPublicKeys()
Returns the read-only list of all the pulic keys of the current user.
|
java.util.List<GHVerifiedKey> |
getPublicVerifiedKeys()
Returns the read-only list of all the public verified keys of the current user.
|
PagedIterable<GHRepository> |
listAllRepositories()
Deprecated.
|
PagedIterable<GHRepository> |
listRepositories()
Lists up all repositories this user owns (public and private).
|
PagedIterable<GHRepository> |
listRepositories(int pageSize)
List repositories that are accessible to the authenticated user (public and private) using the specified page size.
|
PagedIterable<GHRepository> |
listRepositories(int pageSize,
GHMyself.RepositoryListFilter repoType)
List repositories of a certain type that are accessible by current authenticated user using the specified page size.
|
equals, follow, getFollowers, getFollows, getOrganizations, hashCode, isMemberOf, isMemberOf, isPublicMemberOf, listEvents, listFollowers, listFollows, listGists, listStarredRepositories, listSubscriptions, unfollowgetAvatarUrl, getBlog, getCompany, getCreatedAt, getEmail, getFollowersCount, getFollowingCount, getGravatarId, getHtmlUrl, getLocation, getLogin, getName, getPublicGistCount, getPublicRepoCount, getRepositories, getRepository, getUpdatedAt, iterateRepositories, populatepublic java.util.List<java.lang.String> getEmails()
throws java.io.IOException
getEmails2()java.io.IOExceptionpublic java.util.List<GHEmail> getEmails2() throws java.io.IOException
GHPerson.getEmail() that shows your public e-mail address
set in https://github.com/settings/profilejava.io.IOExceptionpublic java.util.List<GHKey> getPublicKeys() throws java.io.IOException
java.io.IOExceptionpublic java.util.List<GHVerifiedKey> getPublicVerifiedKeys() throws java.io.IOException
java.io.IOExceptionpublic GHPersonSet<GHOrganization> getAllOrganizations() throws java.io.IOException
java.io.IOExceptionpublic java.util.Map<java.lang.String,GHRepository> getAllRepositories() throws java.io.IOException
java.io.IOExceptionpublic PagedIterable<GHRepository> listRepositories()
getAllRepositories(), this does not wait until all the repositories are returned.
Repositories are returned by GitHub API with a 30 items per page.listRepositories in class GHPersonpublic PagedIterable<GHRepository> listRepositories(int pageSize)
listRepositories in class GHPersonpageSize - size for each page of items returned by GitHub. Maximum page size is 100.
Unlike GHPerson.getRepositories(), this does not wait until all the repositories are returned.public PagedIterable<GHRepository> listRepositories(int pageSize, GHMyself.RepositoryListFilter repoType)
pageSize - size for each page of items returned by GitHub. Maximum page size is 100.repoType - type of repository returned in the listingpublic PagedIterable<GHRepository> listAllRepositories()
listRepositories()Copyright © 2016. All Rights Reserved.