Class PullRequestParticipantSearchRequest

java.lang.Object
com.atlassian.bitbucket.pull.PullRequestParticipantSearchRequest

public class PullRequestParticipantSearchRequest extends Object
Request for searching pull request participant users.
Since:
4.2
  • Method Details

    • getFilter

      @Nonnull public Optional<String> getFilter()
      When set, limits the search to the users whose username, name or email address contain the filter value.
      Returns:
      the filter
    • getFromRepository

      @Nonnull public Optional<Repository> getFromRepository()
      When set, limits the search by the repository the pull requests are coming from.
      Returns:
      the from repository
    • getRole

      @Nonnull public Optional<PullRequestRole> getRole()
      When set, limits the search by the participants role.
      Returns:
      the participant role
    • getToRepository

      @Nonnull public Optional<Repository> getToRepository()
      When set, limits the search by the repository the pull requests are going to.
      Returns:
      the to repository