Class GHInvitation

java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHInvitation

public class GHInvitation extends GHObject
The type GHInvitation.
See Also:
  • Constructor Details

    • GHInvitation

      public GHInvitation()
  • Method Details

    • accept

      public void accept() throws IOException
      Accept a repository invitation.
      Throws:
      IOException - the io exception
    • decline

      public void decline() throws IOException
      Decline a repository invitation.
      Throws:
      IOException - the io exception
    • getHtmlUrl

      public URL getHtmlUrl()
      Gets the html url.
      Specified by:
      getHtmlUrl in class GHObject
      Returns:
      the html url
    • 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