Package org.kohsuke.github
Class GHInvitation
java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHInvitation
The type GHInvitation.
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHInvitation
public GHInvitation()
-
-
Method Details
-
accept
Accept a repository invitation.- Throws:
IOException
- the io exception
-
decline
Decline a repository invitation.- Throws:
IOException
- the io exception
-
getHtmlUrl
Gets the html url.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- the html url
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.