public class GHPullRequestReviewComment extends GHObject implements Reactable
GHPullRequest.listReviewComments(),
GHPullRequest.createReviewComment(String, String, String, int)created_at, id, updated_at, url| Constructor and Description |
|---|
GHPullRequestReviewComment() |
| Modifier and Type | Method and Description |
|---|---|
GHReaction |
createReaction(ReactionContent content)
Deprecated.
|
void |
delete()
Deletes this review comment.
|
static GHPullRequestReviewComment |
draft(String body,
String path,
int position) |
protected String |
getApiRoute() |
String |
getBody()
The comment itself.
|
URL |
getHtmlUrl()
URL of this object for humans, which renders some HTML.
|
int |
getOriginalPosition() |
GHPullRequest |
getParent()
Gets the pull request to which this review comment is associated.
|
String |
getPath() |
int |
getPosition() |
GHUser |
getUser()
Gets the user who posted this comment.
|
PagedIterable<GHReaction> |
listReactions()
Deprecated.
|
void |
update(String body)
Updates the comment.
|
getCreatedAt, getId, getUpdatedAt, getUrl, toStringpublic static GHPullRequestReviewComment draft(String body, String path, int position)
public GHPullRequest getParent()
public String getBody()
public GHUser getUser() throws IOException
IOExceptionpublic String getPath()
public int getPosition()
public int getOriginalPosition()
public URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectprotected String getApiRoute()
public void update(String body) throws IOException
IOExceptionpublic void delete()
throws IOException
IOException@Preview @Deprecated public GHReaction createReaction(ReactionContent content) throws IOException
ReactablecreateReaction in interface ReactableIOException@Preview @Deprecated public PagedIterable<GHReaction> listReactions()
ReactablelistReactions in interface ReactableCopyright © 2017. All rights reserved.