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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
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 theGitHub
instance, 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()
-
-
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:
getHtmlUrl
in 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 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
-