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()
Gets author association.
|
String |
getBody()
The comment itself.
|
URL |
getHtmlUrl()
Gets html url.
|
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
IOException - the io exceptionpublic URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectpublic GHCommentAuthorAssociation getAuthorAssociation()
public void update(String body) throws IOException
body - the bodyIOException - the io exceptionpublic void delete()
throws IOException
IOException - the io exception@Preview @Deprecated public GHReaction createReaction(ReactionContent content) throws IOException
ReactablecreateReaction in interface Reactablecontent - the contentIOException - the io exception@Preview @Deprecated public PagedIterable<GHReaction> listReactions()
ReactablelistReactions in interface ReactableCopyright © 2020. All rights reserved.