Package com.atlassian.bitbucket.pull
Class PullRequestParticipantStatusRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<PullRequestParticipantStatusRequest.Builder>
com.atlassian.bitbucket.pull.PullRequestParticipantStatusRequest.Builder
- Enclosing class:
- PullRequestParticipantStatusRequest
public static class PullRequestParticipantStatusRequest.Builder
extends AbstractPullRequestRequest.AbstractBuilder<PullRequestParticipantStatusRequest.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(int repositoryId, long pullRequestId) Builder
(PullRequest pullRequest) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
lastReviewedCommit
(String value) self()
version
(int value) Deprecated.Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
-
Builder
public Builder(int repositoryId, long pullRequestId)
-
-
Method Details
-
build
-
lastReviewedCommit
@Nonnull public PullRequestParticipantStatusRequest.Builder lastReviewedCommit(@Nullable String value) - Parameters:
value
- the last reviewed commit of the pull request- Returns:
this
- Since:
- 8.9.18, 8.19.7, 9.0.1, 9.1
-
status
@Nonnull public PullRequestParticipantStatusRequest.Builder status(@Nonnull PullRequestParticipantStatus value) -
version
Deprecated.in 8.9.18, 8.19.7, 9.0.1, 9.1 uselastReviewedCommit(String)
instead- Parameters:
value
- the pull request's version in review- Returns:
this
-
self
- Specified by:
self
in classAbstractPullRequestRequest.AbstractBuilder<PullRequestParticipantStatusRequest.Builder>
-
lastReviewedCommit(String)
instead