- All Known Implementing Classes:
@Immutable public interface PullComment extends JsonReadable, JsonPatchable, Comparable<PullComment>Github pull comment.
JsonReadable, that's how you can get its full details in JSON format. For example, to get its id, you get the entire JSON and then gets its element:
String id = comment.jsn().getString("id");
However, it's better to use a supplementary "smart" decorator, which automates most of these operations:
String id = new PullComment.Smart(comment).identifier();
- $Id: 0a9fac66209b5e52aedcfe2dae58b2b668c85172 $
- Carlos Miranda (email@example.com)
- See Also:
- Pull Comments API
Nested Class Summary
Nested Classes Modifier and Type Interface Description
PullComment.SmartSmart PullComment with extra features.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
number()Get its number.
pull()Pull we're in.
react(Reaction reaction)Adds the reaction to the pull comment.
reactions()List the reactions of the pull comment.
Pull pull()Pull we're in.
int number()Get its number.
- Pull comment number
void react(Reaction reaction)Adds the reaction to the pull comment.
reaction- Reaction to be added.