Class Comment
java.lang.Object
ink.icoding.github4j.model.Comment
GitHub 评论模型,表示Issue或Pull Request上的评论。
对应GitHub API中的评论对象,包含评论内容、评论者信息、关联的Issue等。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()longgetId()getUrl()getUser()voidsetAuthorAssociation(String authorAssociation) voidvoidsetCreatedAt(Instant createdAt) voidsetHtmlUrl(String htmlUrl) voidsetId(long id) voidsetIssueUrl(String issueUrl) voidvoidsetPerformedViaGithubApp(String performedViaGithubApp) voidsetUpdatedAt(Instant updatedAt) voidvoid
-
Constructor Details
-
Comment
public Comment()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getNodeId
-
setNodeId
-
getUrl
-
setUrl
-
getHtmlUrl
-
setHtmlUrl
-
getBody
-
setBody
-
getUser
-
setUser
-
getCreatedAt
-
setCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
getAuthorAssociation
-
setAuthorAssociation
-
getIssueUrl
-
setIssueUrl
-
getPerformedViaGithubApp
-
setPerformedViaGithubApp
-