public static class PullRequestParticipantSearchRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PullRequestParticipantSearchRequest |
build()
Assembles a new
PullRequestParticipantSearchRequest from the provided values. |
PullRequestParticipantSearchRequest.Builder |
filter(String value)
Limits the search to the users whose username, name or email address contain the
value |
PullRequestParticipantSearchRequest.Builder |
fromRepository(Repository value)
Limits the search by the repository the pull requests are coming from.
|
PullRequestParticipantSearchRequest.Builder |
role(PullRequestRole value)
Limits the search by the participants role.
|
PullRequestParticipantSearchRequest.Builder |
toRepository(Repository value)
Limits the search by the repository the pull requests are going to.
|
@Nonnull public PullRequestParticipantSearchRequest build()
PullRequestParticipantSearchRequest
from the provided values.@Nonnull public PullRequestParticipantSearchRequest.Builder filter(@Nullable String value)
value
value
- the filter string@Nonnull public PullRequestParticipantSearchRequest.Builder fromRepository(@Nullable Repository value)
value
- the repository to restrict by@Nonnull public PullRequestParticipantSearchRequest.Builder role(@Nullable PullRequestRole value)
value
- the role to restrict by@Nonnull public PullRequestParticipantSearchRequest.Builder toRepository(@Nullable Repository value)
value
- the repository to restrict byCopyright © 2019 Atlassian. All rights reserved.