Class GHEventPayload.Label

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

public static class GHEventPayload.Label extends GHEventPayload
A label was created, edited or deleted.
See Also:
  • Constructor Details

    • Label

      public Label()
  • Method Details

    • getLabel

      public GHLabel getLabel()
      Gets the label.
      Returns:
      the label
    • getChanges

      public GHLabelChanges getChanges()
      Gets changes (for action="edited").
      Returns:
      changes
    • 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