Package org.kohsuke.github
Class GHReaction
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHReaction
-
@Preview @Deprecated public class GHReaction extends GHObject
Deprecated.Reaction to issue, comment, PR, and so on.- Author:
- Kohsuke Kawaguchi
- See Also:
Reactable
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHReaction()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
delete()
Deprecated.Removes this reaction.ReactionContent
getContent()
Deprecated.The kind of reaction left.URL
getHtmlUrl()
Deprecated.GHUser
getUser()
Deprecated.User who left the reaction.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Method Detail
-
getContent
public ReactionContent getContent()
Deprecated.The kind of reaction left.- Returns:
- the content
-
getUser
public GHUser getUser()
Deprecated.User who left the reaction.- Returns:
- the user
-
getHtmlUrl
@Deprecated public URL getHtmlUrl()
Deprecated.Reaction has no HTML URL. Don't call this method.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- URL of this object for humans, which renders some HTML.
-
delete
public void delete() throws IOException
Deprecated.Removes this reaction.- Throws:
IOException
- the io exception
-
-