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 @Deprecated PullRequestParticipantRequest.Builder approved(Boolean value)
This method is deprecated. in 4.2 for removal in 5.0. Use status(PullRequestParticipantStatus) instead
@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 @Deprecated public PullRequestParticipantRequest.Builder approved (Boolean value)

This method is deprecated.
in 4.2 for removal in 5.0. Use status(PullRequestParticipantStatus) instead

Limits the pull requests to search for by whether or not they are approved by the user.

Parameters
value the approved status
Returns
  • the current builder

@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