Package com.atlassian.bitbucket.pull
Class PullRequestParticipantStatusRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestParticipantStatusRequest
Describes a request to
set the
status for a participant on a PullRequest.- Since:
- 7.17.21, 7.21.17, 8.9.6, 8.10.6, 8.11.5, 8.12.3, 8.13.2, 8.14.1, 8.15
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>> -
Method Summary
Modifier and TypeMethodDescriptionGet the last commit that was reviewed for thepull request, if provided.intDeprecated.Methods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
getPullRequestId, getRepositoryId
-
Method Details
-
getLastReviewedCommit
Get the last commit that was reviewed for thepull request, if provided. If the pull request's latest commit does not match with the provided last reviewed commit, aPullRequestOutOfDateExceptionwill be thrown to indicate that the finish review was requested on stale data.- Returns:
- the last reviewed commit or
nullif not provided - Since:
- 8.9.18, 8.19.7, 9.0.1, 9.1
-
getStatus
-
getVersion
Deprecated.in 8.9.18, 8.19.7, 9.0.1, 9.1 uselastReviewedCommitinstead- Returns:
- the pull request version in review, or -1 if not provided
-
lastReviewedCommitinstead