public static class

PullRequestParticipantSearchRequest.Builder

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.pull.PullRequestParticipantSearchRequest.Builder

Summary

Public Constructors
Builder()
Public Methods
@Nonnull PullRequestParticipantSearchRequest build()
Assembles a new PullRequestParticipantSearchRequest from the provided values.
@Nonnull PullRequestParticipantSearchRequest.Builder filter(String value)
Limits the search to the users whose username, name or email address contain the value
@Nonnull PullRequestParticipantSearchRequest.Builder fromRepository(Repository value)
Limits the search by the repository the pull requests are coming from.
@Nonnull PullRequestParticipantSearchRequest.Builder role(PullRequestRole value)
Limits the search by the participants role.
@Nonnull PullRequestParticipantSearchRequest.Builder toRepository(Repository value)
Limits the search by the repository the pull requests are going to.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Public Methods

@Nonnull public PullRequestParticipantSearchRequest build ()

Assembles a new PullRequestParticipantSearchRequest from the provided values.

Returns
  • a new pull request participant search request instance

@Nonnull public PullRequestParticipantSearchRequest.Builder filter (String value)

Limits the search to the users whose username, name or email address contain the value

Parameters
value the filter string
Returns
  • the current builder

@Nonnull public PullRequestParticipantSearchRequest.Builder fromRepository (Repository value)

Limits the search by the repository the pull requests are coming from.

Parameters
value the repository to restrict by
Returns
  • the current builder

@Nonnull public PullRequestParticipantSearchRequest.Builder role (PullRequestRole value)

Limits the search by the participants role.

Parameters
value the role to restrict by
Returns
  • the current builder

@Nonnull public PullRequestParticipantSearchRequest.Builder toRepository (Repository value)

Limits the search by the repository the pull requests are going to.

Parameters
value the repository to restrict by
Returns
  • the current builder