@Immutable @Loggable(value=1) public static final class PullComment.Smart extends Object implements PullComment
PullComment.Smart
Constructor and Description |
---|
PullComment.Smart(PullComment pcomment)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
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 PullComment.Smart(@NotNull(message="pull comment is never NULL") PullComment pcomment)
pcomment
- Pull comment@NotNull(message="identifier is never NULL") public String identifier() throws IOException
IOException
- If there is any I/O problempublic void identifier(@NotNull(message="value cannot be NULL") String value) throws IOException
value
- Id of pull commentIOException
- If there is any I/O problem@NotNull(message="commit id is never NULL") public String commitId() throws IOException
IOException
- If there is any I/O problempublic void commitId(@NotNull(message="value shouldn\'t be NULL") String value) throws IOException
value
- Commit id of pull commentIOException
- If there is any I/O problem@NotNull(message="URL is never NULL") public String url() throws IOException
IOException
- If there is any I/O problem@NotNull(message="URL is never NULL") public int reply() throws IOException
IOException
- If there is any I/O problempublic void url(@NotNull(message="value is never NULL") String value) throws IOException
value
- Url of pull commentIOException
- If there is any I/O problem@NotNull(message="body is never NULL") public String body() throws IOException
IOException
- If there is any I/O problempublic void body(@NotNull(message="value can\'t be NULL") String value) throws IOException
value
- Url of pull commentIOException
- If there is any I/O problem@NotNull(message="pull is never NULL") public Pull pull()
PullComment
pull
in interface PullComment
public int number()
PullComment
number
in interface PullComment
public int compareTo(@NotNull(message="comment can\'t be NULL") PullComment comment)
compareTo
in interface Comparable<PullComment>
public void patch(@NotNull(message="JSON is never NULL") javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problem@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.