Class GHEventPayload.Release

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

public static class GHEventPayload.Release extends GHEventPayload
A release was added to the repo.
See Also:
  • Constructor Details

    • Release

      public Release()
  • Method Details

    • getRelease

      public GHRelease getRelease()
      Gets release.
      Returns:
      the release
    • setRelease

      @Deprecated public void setRelease(GHRelease release)
      Deprecated.
      Do not use this method. It was added due to incomplete understanding of Jackson binding.
      Sets release.
      Parameters:
      release - the release
    • 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