public static class

PullRequestParticipantSearchRequest.Builder

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

Summary

Public Constructors
PullRequestParticipantSearchRequest.Builder(String username)
Public Methods
@Nonnull PullRequestParticipantSearchRequest.Builder approved(Boolean approved)
Limits the pull requests to search for by whether or not they are approved by the user.
@Nonnull PullRequestParticipantSearchRequest build()
Assembles a new PullRequestParticipantSearchRequest from the provided values.
@Nonnull PullRequestParticipantSearchRequest.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 PullRequestParticipantSearchRequest.Builder (String username)

Public Methods

@Nonnull public PullRequestParticipantSearchRequest.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 PullRequestParticipantSearchRequest build ()

Assembles a new PullRequestParticipantSearchRequest from the provided values.

Returns
  • a new pull request participant search request instance

@Nonnull public PullRequestParticipantSearchRequest.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