public static class

PullRequestParticipantRequest.Builder

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

Summary

Public Constructors
Builder(String username)
Public Methods
@Nonnull PullRequestParticipantRequest.Builder approved(Boolean approved)
Limits the pull requests to search for by whether or not they are approved by the user.
@Nonnull PullRequestParticipantRequest build()
Assembles a new PullRequestParticipantRequest from the provided values.
@Nonnull PullRequestParticipantRequest.Builder role(PullRequestRole role)
Limits the pull requests to search for by a specified pull request role for the user.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder (String username)

Public Methods

@Nonnull public PullRequestParticipantRequest.Builder approved (Boolean approved)

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

Parameters
approved 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 role)

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

Parameters
role the pull request role
Returns
  • the current builder