Package com.atlassian.bitbucket.pull
Class PullRequestUpdateRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestUpdateRequest
Request object used for
updating a pull request
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
getPullRequestId, getRepositoryId
-
Method Details
-
getDescription
- Returns:
- the new description of the pull request
-
getReviewers
- Returns:
- the new set of reviewers of the pull request. Any current reviewer not
in this set will be relegated to participant status. Any new reviewer not already
a participant will start participating. Any existing reviewer in the set will be unaltered.
The values are user names (as returned by
Person.getName()
)).
-
getTitle
- Returns:
- the new title of the pull request
-
getToBranchId
- Returns:
- the new destination branch for the pull request, or
null
which will be ignored
-
getVersion
public int getVersion()- Returns:
- the expected version of the pull request
-
isDraft
- Returns:
true
if the pull request is to be updated to a draft,false
to be published, ornull
which indicates the draft status is not to be updated as part of this update request- Since:
- 8.18
-