public static class

PullRequestParticipantRequest.Builder

extends BuilderSupport
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.pull.PullRequestParticipantRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder(String username)
Public Methods
@Nonnull PullRequestParticipantRequest build()
Assembles a new PullRequestParticipantRequest from the provided values.
@Nonnull PullRequestParticipantRequest.Builder role(PullRequestRole value)
Limits the pull requests to search for by a specified pull request role for the user.
@Nonnull PullRequestParticipantRequest.Builder status(PullRequestParticipantStatus value)
Limits the pull requests to search for by the participant status
@Nonnull PullRequestParticipantRequest.Builder statuses(Iterable<PullRequestParticipantStatus> values)
Limits the pull requests to search for by the participant status
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder (String username)

Public Methods

@Nonnull public PullRequestParticipantRequest build ()

Assembles a new PullRequestParticipantRequest from the provided values.

Returns
  • a new pull request participant search request instance

@Nonnull public PullRequestParticipantRequest.Builder role (PullRequestRole value)

Limits the pull requests to search for by a specified pull request role for the user.

Parameters
value the pull request role
Returns
  • the current builder

@Nonnull public PullRequestParticipantRequest.Builder status (PullRequestParticipantStatus value)

Limits the pull requests to search for by the participant status

Parameters
value the status to search for
Returns
  • the current builder

@Nonnull public PullRequestParticipantRequest.Builder statuses (Iterable<PullRequestParticipantStatus> values)

Limits the pull requests to search for by the participant status

Parameters
values the statuses to search for
Returns
  • the current builder