public class

PullRequestDeclineRequest

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

Class Overview

Request object used for declining a pull request.

Summary

Nested Classes
class PullRequestDeclineRequest.Builder  
Public Methods
@Nullable String getComment()
int getVersion()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
From class java.lang.Object

Public Methods

@Nullable public String getComment ()

Returns
  • the comment associated with the decline or null if no comment is to be added

public int getVersion ()

Returns
  • the expected version of the pull request