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