Package com.jcabi.github
Interface Reaction
-
- All Known Implementing Classes:
Reaction.Simple
,RtReaction
public interface Reaction
Reaction for issue / comment.- Since:
- 1.0
- Version:
- $Id: 76198c13963be28e5b92b66db2d156fcce5944ef $
- Author:
- Paulo Lobo (pauloeduardolobo@gmail.com)
- See Also:
- Reactions API
- To do:
- #1469:30min Add support to team discussion and team discussion comments The API does not supports team discussion and team discussion comments ( https://developer.github.com/changes/2018-02-07-team-discussions-api/ ) After this implementation, add reaction support to these elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Reaction.Simple
Simple reaction.
-
Field Summary
Fields Modifier and Type Field Description static String
CONFUSED
Confused reaction constant.static String
HEART
Heart reaction constant.static String
HOORAY
Hooray reaction constant.static String
LAUGH
Laugh reaction constant.static String
THUMBSDOWN
Thumbs down reaction constant.static String
THUMBSUP
Thumbs up reaction constant.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
type()
The reaction type.
-
-
-
Field Detail
-
THUMBSUP
static final String THUMBSUP
Thumbs up reaction constant.- See Also:
- Constant Field Values
-
THUMBSDOWN
static final String THUMBSDOWN
Thumbs down reaction constant.- See Also:
- Constant Field Values
-
LAUGH
static final String LAUGH
Laugh reaction constant.- See Also:
- Constant Field Values
-
CONFUSED
static final String CONFUSED
Confused reaction constant.- See Also:
- Constant Field Values
-
HEART
static final String HEART
Heart reaction constant.- See Also:
- Constant Field Values
-
HOORAY
static final String HOORAY
Hooray reaction constant.- See Also:
- Constant Field Values
-
-
Method Detail
-
type
String type()
The reaction type.- Returns:
- The type of the reaction.
-
-