public static class PullRequestParticipantRequest.Builder extends BuilderSupport
NOT_BLANK
Modifier and Type | Method and Description |
---|---|
PullRequestParticipantRequest |
build()
Assembles a new
PullRequestParticipantRequest from the provided values. |
PullRequestParticipantRequest.Builder |
role(PullRequestRole value)
Limits the pull requests to search for by a specified
pull request role for the
user . |
PullRequestParticipantRequest.Builder |
status(PullRequestParticipantStatus value)
Limits the pull requests to search for by the participant status
|
PullRequestParticipantRequest.Builder |
statuses(Iterable<PullRequestParticipantStatus> values)
Limits the pull requests to search for by the participant status
|
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
@Nonnull public PullRequestParticipantRequest build()
PullRequestParticipantRequest
from the provided values.@Nonnull public PullRequestParticipantRequest.Builder role(@Nullable PullRequestRole value)
pull request role
for the
user
.value
- the pull request role
@Nonnull public PullRequestParticipantRequest.Builder status(@Nullable PullRequestParticipantStatus value)
value
- the status to search for@Nonnull public PullRequestParticipantRequest.Builder statuses(@Nonnull Iterable<PullRequestParticipantStatus> values)
values
- the statuses to search forCopyright © 2020 Atlassian. All rights reserved.