Package org.kohsuke.github
Class GHInvitation
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHInvitation
-
public class GHInvitation extends GHObject
The type GHInvitation.
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHInvitation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept()
Accept a repository invitation.void
decline()
Decline a repository invitation.URL
getHtmlUrl()
Gets html url.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
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()
Description copied from class:GHObject
Gets html url.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- URL of this object for humans, which renders some HTML.
-
-