public class

PullRequestParticipantSearchRequest

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

Class Overview

Request for searching for pull requests by participant. The purpose and behaviour of each field is described on its accessor. Used to add searching of specific participants to a PullRequestSearchRequest.

Summary

Nested Classes
class PullRequestParticipantSearchRequest.Builder  
Public Methods
@Nullable Boolean getApproved()
When set, limits the pull requests to search for by whether or not they are approved by the user.
@Nullable PullRequestRole getRole()
When set, limits the pull requests to search for by a specified pull request role for the user.
@Nonnull String getUsername()
Restricts the search to a specified user with the given username.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nullable public Boolean getApproved ()

When set, limits the pull requests to search for by whether or not they are approved by the user.

Returns
  • the set approved status

@Nullable public PullRequestRole getRole ()

When set, limits the pull requests to search for by a specified pull request role for the user.

Returns

@Nonnull public String getUsername ()

Restricts the search to a specified user with the given username.

Returns
  • the username for the user to search for