Class PullRequestDeclineRequest

java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestDeclineRequest

public class PullRequestDeclineRequest extends AbstractPullRequestRequest
Request object used for declining a pull request.
  • Method Details

    • getComment

      @Nullable public String getComment()
      Returns:
      the comment associated with the decline or null if no comment is to be added
    • getVersion

      public int getVersion()
      Returns:
      the expected version of the pull request