Class GHInvitation

    • Constructor Detail

      • GHInvitation

        public GHInvitation()
    • Method Detail

      • 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