Package org.kohsuke.github
Class GHReaction
java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHReaction
Reaction to issue, comment, PR, and so on.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deprecated.this API is no longer supported by GitHub, keeping it as is for old versions of GitHub EnterpriseThe kind of reaction left.Deprecated.getRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.getUser()User who left the reaction.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHReaction
public GHReaction()Create default GHReaction instance
-
-
Method Details
-
getContent
The kind of reaction left.- Returns:
- the content
-
getUser
User who left the reaction.- Returns:
- the user
-
getHtmlUrl
Deprecated.Reaction has no HTML URL. Don't call this method.- Specified by:
getHtmlUrlin classGHObject- Returns:
- the html url
-
delete
Deprecated.this API is no longer supported by GitHub, keeping it as is for old versions of GitHub EnterpriseRemoves this reaction.- Throws:
IOException- the io exception- See Also:
-
getRoot
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-