public static class PullRequestCommentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public PullRequestCommentSummary.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic PullRequestCommentSummary.Builder pullRequestId(String pullRequestId)
OCID of the pull request that this comment belongs to
pullRequestId
- the value to setpublic PullRequestCommentSummary.Builder data(String data)
Content of the Comment.
data
- the value to setpublic PullRequestCommentSummary.Builder parentId(String parentId)
ID of parent Comment
parentId
- the value to setpublic PullRequestCommentSummary.Builder filePath(String filePath)
File path in the commit
filePath
- the value to setpublic PullRequestCommentSummary.Builder commitId(String commitId)
Commit SHA
commitId
- the value to setpublic PullRequestCommentSummary.Builder fileType(PullRequestComment.FileType fileType)
File path in the target commit
fileType
- the value to setpublic PullRequestCommentSummary.Builder lineNumber(Integer lineNumber)
Line number in the file
lineNumber
- the value to setpublic PullRequestCommentSummary.Builder likes(PullRequestCommentLikeCollection likes)
public PullRequestCommentSummary.Builder status(PullRequestComment.Status status)
Status of the Comment
status
- the value to setpublic PullRequestCommentSummary.Builder timeCreated(Date timeCreated)
Creation timestamp. Format defined by RFC3339.
timeCreated
- the value to setpublic PullRequestCommentSummary.Builder createdBy(PrincipalDetails createdBy)
public PullRequestCommentSummary.Builder timeUpdated(Date timeUpdated)
Latest update timestamp. Format defined by RFC3339.
timeUpdated
- the value to setpublic PullRequestCommentSummary.Builder updatedBy(PrincipalDetails updatedBy)
public PullRequestCommentSummary.Builder contextStatus(PullRequestComment.ContextStatus contextStatus)
Shows the status of an inline comments context
contextStatus
- the value to setpublic PullRequestCommentSummary.Builder commentContext(List<DiffLineDetails> commentContext)
4 line snippet to be displayed as context for inline comments
commentContext
- the value to setpublic PullRequestCommentSummary build()
public PullRequestCommentSummary.Builder copy(PullRequestCommentSummary model)
Copyright © 2016–2024. All rights reserved.