Class GHIssueEvent

    • Constructor Detail

      • GHIssueEvent

        public GHIssueEvent()
    • Method Detail

      • getId

        public long getId()
        Gets id.
        Returns:
        the id
      • getNodeId

        public String getNodeId()
        Gets node id.
        Returns:
        the node id
      • getUrl

        public String getUrl()
        Gets url.
        Returns:
        the url
      • getActor

        public GHUser getActor()
        Gets actor.
        Returns:
        the actor
      • getEvent

        public String getEvent()
        Gets event.
        Returns:
        the event
      • getCommitId

        public String getCommitId()
        Gets commit id.
        Returns:
        the commit id
      • getCommitUrl

        public String getCommitUrl()
        Gets commit url.
        Returns:
        the commit url
      • getCreatedAt

        public Date getCreatedAt()
        Gets created at.
        Returns:
        the created at
      • getRoot

        public GitHub getRoot()
        Gets root.
        Returns:
        the root
      • getIssue

        public GHIssue getIssue()
        Gets issue.
        Returns:
        the issue
      • getMilestone

        public GHMilestone getMilestone()
        Get the GHMilestone that this issue was added to or removed from. Only present for events "milestoned" and "demilestoned", null otherwise.
        Returns:
        the milestone
      • getLabel

        public GHLabel getLabel()
        Get the GHLabel that was added to or removed from the issue. Only present for events "labeled" and "unlabeled", null otherwise.
        Returns:
        the label
      • getAssignee

        public GHUser getAssignee()
        Get the GHUser that was assigned or unassigned from the issue. Only present for events "assigned" and "unassigned", null otherwise.
        Returns:
        the user
      • getRename

        public GHIssueRename getRename()
        Get the GHIssueRename that contains information about issue old and new name. Only present for event "renamed", null otherwise.
        Returns:
        the GHIssueRename
      • getReviewRequester

        public GHUser getReviewRequester()
        Get the GHUser person who requested a review. Only present for events "review_requested", "review_request_removed", null otherwise.
        Returns:
        the GHUser
        See Also:
        review_requested and review_request_removed
      • getRequestedReviewer

        public GHUser getRequestedReviewer()
        Get the GHUser person requested to review the pull request. Only present for events "review_requested", "review_request_removed", null otherwise.
        Returns:
        the GHUser
        See Also:
        review_requested and review_request_removed