public class PullRequestDeleteRequest extends AbstractPullRequestRequest
deleting a pull request
.Modifier and Type | Class and Description |
---|---|
static class |
PullRequestDeleteRequest.Builder |
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>
Modifier and Type | Method and Description |
---|---|
int |
getVersion()
Retrieves the expected
version for the pull request. |
getPullRequestId, getRepositoryId
public int getVersion()
version
for the pull request. If the pull request's
actual version does not match, a PullRequestOutOfDateException
will be thrown to indicate that the
delete was requested on stale data.Copyright © 2019 Atlassian. All rights reserved.