public class

PullRequestUpdateRequest

extends AbstractPullRequestRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.pull.AbstractPullRequestRequest
     ↳ com.atlassian.bitbucket.pull.PullRequestUpdateRequest

Class Overview

Request object used for updating a pull request.

Summary

Nested Classes
class PullRequestUpdateRequest.Builder  
Public Methods
@Nullable String getDescription()
@Nonnull Set<String> getReviewers()
@Nonnull String getTitle()
@Nullable String getToBranchId()
int getVersion()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
From class java.lang.Object

Public Methods

@Nullable public String getDescription ()

Returns
  • the new description of the pull request

@Nonnull public Set<String> 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 getName())).

@Nonnull public String getTitle ()

Returns
  • the new title of the pull request

@Nullable public String getToBranchId ()

Returns
  • the new destination branch for the pull request, or null which will be ignored

public int getVersion ()

Returns
  • the expected version of the pull request