public class GHIssueComment extends GHObject implements Reactable
GHIssue.comment(String),
GHIssue.listComments()created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHIssueComment() |
| Modifier and Type | Method and Description |
|---|---|
GHReaction |
createReaction(ReactionContent content)
Deprecated.
|
void |
delete()
Deletes this issue comment.
|
GHCommentAuthorAssociation |
getAuthorAssociation() |
String |
getBody()
The comment itself.
|
URL |
getHtmlUrl()
URL of this object for humans, which renders some HTML.
|
GHIssue |
getParent()
Gets the issue to which this comment is associated.
|
GHUser |
getUser()
Gets the user who posted this comment.
|
String |
getUserName()
Deprecated.
|
PagedIterable<GHReaction> |
listReactions()
Deprecated.
|
void |
update(String body)
Updates the body of the issue comment.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic GHIssue getParent()
public String getBody()
@Deprecated public String getUserName()
public GHUser getUser() throws IOException
IOExceptionpublic URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectpublic GHCommentAuthorAssociation getAuthorAssociation()
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 © 2018. All rights reserved.