public class

AbstractPullRequestRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.pull.AbstractPullRequestRequest
Known Direct Subclasses

Class Overview

Base class for requests affecting pull requests.

Summary

Nested Classes
class AbstractPullRequestRequest.AbstractBuilder<T extends AbstractBuilder<T>>  
Protected Constructors
AbstractPullRequestRequest(AbstractBuilder<?> builder)
Public Methods
long getPullRequestId()
int getRepositoryId()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected AbstractPullRequestRequest (AbstractBuilder<?> builder)

Parameters
builder a builder specifying the repository and pull request ID

Public Methods

public long getPullRequestId ()

Returns
  • the ID of the pull request within the repository

public int getRepositoryId ()

Returns
  • the ID of the repository to which the pull request will be merged