Class PullRequestCreateRequest

java.lang.Object
com.atlassian.bitbucket.pull.PullRequestCreateRequest

public class PullRequestCreateRequest extends Object
A request to create a new pull request using the provided properties.
Since:
5.13
  • Constructor Details

  • Method Details

    • getDescription

      @Nonnull public Optional<String> getDescription()
    • getFromRefId

      @Nonnull public String getFromRefId()
    • getFromRepository

      @Nonnull public Repository getFromRepository()
    • getReviewers

      @Nonnull public Set<String> getReviewers()
    • getTitle

      @Nonnull public String getTitle()
    • getToBranchId

      @Nonnull public String getToBranchId()
    • getToRepository

      @Nonnull public Repository getToRepository()
    • isDraft

      public boolean isDraft()
      Since:
      8.18