Package com.atlassian.bitbucket.pull
Class PullRequestDeleteRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestDeleteRequest
Request object used for
deleting a pull request
.- Since:
- 5.1
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
getPullRequestId, getRepositoryId
-
Method Details
-
getVersion
public int getVersion()Retrieves the expectedversion
for the pull request. If the pull request's actual version does not match, aPullRequestOutOfDateException
will be thrown to indicate that the delete was requested on stale data.- Returns:
- the pull request version to delete
-