@Immutable public interface Comment extends Comparable<Comment>, JsonReadable, JsonPatchable
Comment implements JsonReadable, that's how you can get its full
 details in JSON format. For example, to get its author's Github login
 you get the entire JSON and then gets its element:
 
String login = comment.json()
   .getJsonObject("user")
   .getString("login");
 However, it's better to use a supplementary "smart" decorator, which automates most of these operations:
String login = new Comment.Smart(comment).author().login();
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Comment.Smart
Smart comment with additional features. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Issue | 
issue()
The issue it's in. 
 | 
int | 
number()
Number. 
 | 
void | 
remove()
Delete the comment. 
 | 
compareTojsonpatch@NotNull(message="issue is never NULL") Issue issue()
int number()
void remove()
            throws IOException
IOException - If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.