Class GHEventPayload.PullRequest

java.lang.Object
org.kohsuke.github.GHEventPayload
org.kohsuke.github.GHEventPayload.PullRequest
Enclosing class:
GHEventPayload

public static class GHEventPayload.PullRequest extends GHEventPayload
A pull request status has changed.
See Also:
  • Constructor Details

    • PullRequest

      public PullRequest()
      Create default PullRequest instance
  • Method Details

    • getNumber

      public int getNumber()
      Gets number.
      Returns:
      the number
    • getPullRequest

      public GHPullRequest getPullRequest()
      Gets pull request.
      Returns:
      the pull request
    • getLabel

      public GHLabel getLabel()
      Gets the added or removed label for labeled/unlabeled events.
      Returns:
      label the added or removed label
    • getChanges

      public GHPullRequestChanges getChanges()
      Get changes (for action="edited").
      Returns:
      changes