@Immutable @Loggable(value=1) public static final class PullComment.Smart extends Object implements PullComment
PullComment.Smart
Constructor and Description |
---|
Smart(PullComment pcomment)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
author()
Get its author.
|
String |
body()
Get its body value.
|
void |
body(String value)
Change its body value.
|
String |
commitId()
Get its commit id value.
|
void |
commitId(String value)
Change its commit id value.
|
int |
compareTo(PullComment comment) |
String |
identifier()
Get its id value.
|
void |
identifier(String value)
Change its id value.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
int |
number()
Get its number.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
Pull |
pull()
Pull we're in.
|
int |
reply()
Get its reply id value.
|
String |
url()
Get its url value.
|
void |
url(String value)
Change its url value.
|
public Smart(PullComment pcomment)
pcomment
- Pull commentpublic String identifier() throws IOException
IOException
- If there is any I/O problempublic void identifier(String value) throws IOException
value
- Id of pull commentIOException
- If there is any I/O problempublic String commitId() throws IOException
IOException
- If there is any I/O problempublic void commitId(String value) throws IOException
value
- Commit id of pull commentIOException
- If there is any I/O problempublic String url() throws IOException
IOException
- If there is any I/O problempublic int reply() throws IOException
IOException
- If there is any I/O problempublic void url(String value) throws IOException
value
- Url of pull commentIOException
- If there is any I/O problempublic String body() throws IOException
IOException
- If there is any I/O problempublic void body(String value) throws IOException
value
- Url of pull commentIOException
- If there is any I/O problempublic Pull pull()
PullComment
pull
in interface PullComment
public int number()
PullComment
number
in interface PullComment
public int compareTo(PullComment comment)
compareTo
in interface Comparable<PullComment>
public void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic String author() throws IOException
IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.