Class GHEventPayload.Discussion

  • Enclosing class:
    GHEventPayload

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

      • Discussion

        public Discussion()
    • Method Detail

      • 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