@Immutable public interface PullComment extends JsonReadable, JsonPatchable, Comparable<PullComment>
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();
|Modifier and Type||Interface and Description|
Smart PullComment with extra features.
|Modifier and Type||Method and Description|
Get its number.
Pull we're in.
Copyright © 2012–2018 jcabi.com. All rights reserved.