Package com.jcabi.github
Interface Reaction
- All Known Implementing Classes:
Reaction.Simple,RtReaction
public interface Reaction
Reaction for issue / comment.
- Since:
- 1.0
- See Also:
- 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfused reaction constant.static final StringHeart reaction constant.static final StringHooray reaction constant.static final StringLaugh reaction constant.static final StringThumbs down reaction constant.static final StringThumbs up reaction constant. -
Method Summary
-
Field Details
-
THUMBSUP
Thumbs up reaction constant.- See Also:
-
THUMBSDOWN
Thumbs down reaction constant.- See Also:
-
LAUGH
Laugh reaction constant.- See Also:
-
CONFUSED
Confused reaction constant.- See Also:
-
HEART
Heart reaction constant.- See Also:
-
HOORAY
Hooray reaction constant.- See Also:
-
-
Method Details
-
type
String type()The reaction type.- Returns:
- The type of the reaction.
-