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()
  • 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
    • getRoot

      @Deprecated public GitHub getRoot()
      Deprecated.
      For access to the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance