java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHRepositoryDiscussionComment
A discussion comment in the repository.
This is different from Teams discussions (see GHDiscussion
).
The discussion_comment event exposes the GraphQL object (more or less - the ids are handled differently for instance) directly. The new Discussions API is only available through GraphQL so for now you cannot execute any actions on this object.
- Author:
- Guillaume Smet
- See Also:
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
ConstructorDescriptionCreate default GHRepositoryDiscussionComment instance -
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHRepositoryDiscussionComment
public GHRepositoryDiscussionComment()Create default GHRepositoryDiscussionComment instance
-
-
Method Details
-
getHtmlUrl
Gets the html url.- Returns:
- the html url
-
getParentId
Gets the parent comment id.- Returns:
- the parent comment id
-
getChildCommentCount
public int getChildCommentCount()Gets the number of child comments.- Returns:
- the number of child comments
-
getUser
Gets the user.- Returns:
- the user
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getAuthorAssociation
Gets the author association.- Returns:
- the author association
-
getBody
Gets the body.- Returns:
- the body
-