public static class CreatePullRequestCommentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreatePullRequestCommentDetails |
build() |
CreatePullRequestCommentDetails.Builder |
commitId(String commitId)
Commit SHA
|
CreatePullRequestCommentDetails.Builder |
copy(CreatePullRequestCommentDetails model) |
CreatePullRequestCommentDetails.Builder |
data(String data)
Content of the Comment.
|
CreatePullRequestCommentDetails.Builder |
filePath(String filePath)
File path in the commit
|
CreatePullRequestCommentDetails.Builder |
fileType(PullRequestComment.FileType fileType)
File path in the target commit
|
CreatePullRequestCommentDetails.Builder |
lineNumber(Integer lineNumber)
Line number in the file
|
CreatePullRequestCommentDetails.Builder |
parentId(String parentId)
ID of parent Comment
|
public CreatePullRequestCommentDetails.Builder data(String data)
Content of the Comment.
data
- the value to setpublic CreatePullRequestCommentDetails.Builder parentId(String parentId)
ID of parent Comment
parentId
- the value to setpublic CreatePullRequestCommentDetails.Builder filePath(String filePath)
File path in the commit
filePath
- the value to setpublic CreatePullRequestCommentDetails.Builder commitId(String commitId)
Commit SHA
commitId
- the value to setpublic CreatePullRequestCommentDetails.Builder fileType(PullRequestComment.FileType fileType)
File path in the target commit
fileType
- the value to setpublic CreatePullRequestCommentDetails.Builder lineNumber(Integer lineNumber)
Line number in the file
lineNumber
- the value to setpublic CreatePullRequestCommentDetails build()
public CreatePullRequestCommentDetails.Builder copy(CreatePullRequestCommentDetails model)
Copyright © 2016–2024. All rights reserved.