Uses of Class
org.kohsuke.github.GHUser
-
Uses of GHUser in org.kohsuke.github
Modifier and TypeClassDescriptionclass
Represents the account that's logging into GitHub.static class
The type Contributor.Modifier and TypeFieldDescriptionprotected GHUser
GHIssue.assignee
The assignee.protected GHUser[]
GHIssue.assignees
The assignees.protected GHUser
GHIssue.closed_by
The closed by.protected GHUser
GHDeployment.creator
The creator.protected GHUser
GHDeploymentStatus.creator
The creator.protected GHUser
GHIssue.user
The user.Modifier and TypeMethodDescriptionGHAppInstallation.getAccount()
Gets account.GHEventInfo.getActor()
Gets actor.GHIssueEvent.getActor()
Gets actor.GHRepositoryDiscussion.getAnswerChosenBy()
Gets the answer chosen by.GHIssue.getAssignee()
Gets assignee.GHIssueEvent.getAssignee()
Get theGHUser
that was assigned or unassigned from the issue.GHCommit.getAuthor()
Gets author.GHRepositoryStatistics.ContributorStats.getAuthor()
Gets author.GHIssue.getClosedBy()
Reports who has closed the issue.GHPullRequest.getClosedBy()
Gets the closed by.GHCommit.getCommitter()
Gets committer.GHCommitStatus.getCreator()
Gets creator.GHDeployment.getCreator()
Gets creator.GHMilestone.getCreator()
Gets creator.GHProject.getCreator()
Gets creator.GHProjectCard.getCreator()
Gets creator.GHProjectsV2Item.getCreator()
Gets the creator.GHPullRequest.AutoMerge.getEnabledBy()
The user who enabled the auto merge of the pull request.GHEventPayload.Member.getMember()
Gets the member.GHEventPayload.Membership.getMember()
Gets the member.GHPullRequest.getMergedBy()
Gets merged by.GHApp.getOwner()
Gets owner.GHGist.getOwner()
Gets owner.GHRepository.getOwner()
Gets owner.GHIssueEvent.getRequestedReviewer()
Get theGHUser
person requested to review the pull request.GHIssueEvent.getReviewRequester()
Get theGHUser
person who requested a review.GHEventPayload.getSender()
Gets the sender ornull
if accessed via the events API.GHAppInstallation.getSuspendedBy()
Gets suspended by.GHCommitComment.getUser()
Gets the user who put this comment.GHCommitPointer.getUser()
This points to the user who owns theGHCommitPointer.getRepository()
.GHIssue.getUser()
User who submitted the issue.GHIssueComment.getUser()
Gets the user who posted this comment.GHMembership.getUser()
Gets user.GHPullRequestReview.getUser()
Gets the user who posted this review.GHPullRequestReviewComment.getUser()
Gets the user who posted this comment.GHReaction.getUser()
User who left the reaction.GHRepositoryChanges.FromOwner.getUser()
Get user from which this repository was transferred.GHRepositoryDiscussion.getUser()
Gets the user.GHRepositoryDiscussionComment.getUser()
Gets the user.GHStargazer.getUser()
Gets the user that starred the repository.Obtains the object that represents the named user.protected GHUser
Interns the givenGHUser
.Modifier and TypeMethodDescriptionGHIssue.getAssignees()
Gets assignees.GHRepository.getCollaborators()
Gets the collaborators on this repository.GHUser.getFollowers()
Lists the users who are following this user.GHUser.getFollows()
Lists the users that this user is following.GHTeam.getMembers()
Gets members.GHPullRequest.getRequestedReviewers()
Gets requested reviewers.GHBranchProtection.Restrictions.getUsers()
Gets users.GHRepository.listAssignees()
Lists all the available assignees to which issues may be assigned.GHRepository.listCollaborators()
Lists up the collaborators on this repository.GHRepository.listCollaborators
(GHRepository.CollaboratorAffiliation affiliation) Lists up the collaborators on this repository.GHUser.listFollowers()
Lists the users who are following this user.GHUser.listFollows()
Lists the users that this user is following.GHOrganization.listMembers()
All the members of this organization.GHTeam.listMembers()
Retrieves the current members.GHTeam.listMembers
(String role) List members with specified role paged iterable.GHTeam.listMembers
(GHTeam.Role role) List members with specified role paged iterable.GHOrganization.listMembersWithFilter
(String filter) List members with filter paged iterable.GHOrganization.listMembersWithRole
(String role) List members with specified role paged iterable.GHOrganization.listOutsideCollaborators()
All the outside collaborators of this organization.GHOrganization.listOutsideCollaboratorsWithFilter
(String filter) List outside collaborators with filter paged iterable.GHOrganization.listPublicMembers()
All the public members of this organization.GHRepository.listSubscribers()
Lists all the subscribers (aka watchers.)GitHub.listUsers()
Returns a list of all users.Modifier and TypeMethodDescriptionActor workflow run query builder.void
GHOrganization.add
(GHUser user, GHOrganization.Role role) Adds (invites) a user to the organization.void
Adds a member to the team.void
GHTeam.add
(GHUser user, GHTeam.Role role) Adds a member to the teamvoid
GHIssue.addAssignees
(GHUser... assignees) Add assignees.void
GHRepository.addCollaborators
(GHOrganization.RepositoryRole permission, GHUser... users) Add collaborators.void
GHRepository.addCollaborators
(GHUser... users) Add collaborators.Assigned to gh pull request user.Assignee gh issue builder.void
Assign to.Author gh pull request search builder.void
Conceals the membership.GHRepository.getPermission
(GHUser u) Obtain permission for a given user in this repository.protected GHUser
Interns the givenGHUser
.GitHub.getUserPublicOrganizations
(GHUser user) Alias forGitHub.getUserPublicOrganizations(String)
.boolean
GHRepository.hasAssignee
(GHUser u) Checks if the given user is an assignee for this repository.boolean
Checks if this organization has the specified user as a member.boolean
Checks if this team has the specified user as a member.boolean
GHRepository.hasPermission
(GHUser user, GHPermissionType permission) Check if a user has at least the given permission in this repository.boolean
GHOrganization.hasPublicMember
(GHUser user) Checks if this organization has the specified user as a public member.boolean
GHRepository.isCollaborator
(GHUser user) Checks if the given user is a collaborator for this repository.Mentions gh issue search builder.Mentions gh pull request search builder.void
Publicizes the membership.void
Remove a member of the organisation - which will remove them from all teams, and remove their access to the organization’s repositories.void
Removes a member to the team.void
GHIssue.removeAssignees
(GHUser... assignees) Remove assignees.void
GHRepository.removeCollaborators
(GHUser... users) Remove collaborators.void
GHIssue.setAssignees
(GHUser... assignees) Sets assignees.GHBranchProtectionBuilder.userPushAccess
(GHUser... users) User push access gh branch protection builder.GHBranchProtectionBuilder.userReviewDismissals
(GHUser... users) User review dismissals gh branch protection builder.Modifier and TypeMethodDescriptionvoid
GHIssue.addAssignees
(Collection<GHUser> assignees) Add assignees.void
GHRepository.addCollaborators
(Collection<GHUser> users) Add collaborators.void
GHRepository.addCollaborators
(Collection<GHUser> users, GHOrganization.RepositoryRole permission) Add collaborators.GHIssue.getLogins
(Collection<GHUser> users) Gets the logins.void
GHIssue.removeAssignees
(Collection<GHUser> assignees) Remove assignees.void
GHRepository.removeCollaborators
(Collection<GHUser> users) Remove collaborators.void
GHPullRequest.requestReviewers
(List<GHUser> reviewers) Request reviewers.void
GHIssue.setAssignees
(Collection<GHUser> assignees) Sets assignees.GHBranchProtectionBuilder.userPushAccess
(Collection<GHUser> users) User push access gh branch protection builder.GHBranchProtectionBuilder.userReviewDismissals
(Collection<GHUser> users) User review dismissals gh branch protection builder.