public static class PullRequestDeclineRequest.Builder extends AbstractPullRequestRequest.AbstractBuilder<PullRequestDeclineRequest.Builder>
NOT_BLANK
Constructor and Description |
---|
Builder(int repositoryId,
long pullRequestId,
int version) |
Builder(PullRequest pullRequest,
int version) |
Modifier and Type | Method and Description |
---|---|
PullRequestDeclineRequest |
build() |
PullRequestDeclineRequest.Builder |
comment(String value) |
protected PullRequestDeclineRequest.Builder |
self() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull PullRequest pullRequest, int version)
public Builder(int repositoryId, long pullRequestId, int version)
@Nonnull public PullRequestDeclineRequest build()
@Nonnull public PullRequestDeclineRequest.Builder comment(@Nullable String value)
@Nonnull protected PullRequestDeclineRequest.Builder self()
self
in class AbstractPullRequestRequest.AbstractBuilder<PullRequestDeclineRequest.Builder>
Copyright © 2019 Atlassian. All rights reserved.