Class GHEventPayload.Discussion

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

public static class GHEventPayload.Discussion extends GHEventPayload
A discussion was closed, reopened, created, edited, deleted, pinned, unpinned, locked, unlocked, transferred, category_changed, answered, or unanswered.
See Also:
  • Constructor Details

    • Discussion

      public Discussion()
      Create default Discussion instance
  • Method Details

    • getDiscussion

      public GHRepositoryDiscussion getDiscussion()
      Gets discussion.
      Returns:
      the discussion
    • getLabel

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