Interface PullRequestParameters
-
- All Superinterfaces:
Parameters
- All Known Implementing Classes:
ImmutablePullRequestParameters
@Immutable public interface PullRequestParameters extends Parameters
Pull request retrieval parameters resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
base()
Filter pulls by base branch name.Optional<String>
direction()
The direction of the sort.Optional<String>
head()
Filter pulls by head user and branch name in the format of user:ref-name.Optional<Integer>
page()
Page number of the results to fetch.Optional<Integer>
per_page()
Results per page (max 100)Optional<String>
sort()
What to sort results by.Optional<String>
state()
Either open, closed, or all to filter by state.-
Methods inherited from interface com.spotify.github.Parameters
serialize
-
-
-
-
Method Detail
-
head
Optional<String> head()
Filter pulls by head user and branch name in the format of user:ref-name. Example: github:new-script-format.
-
sort
Optional<String> sort()
What to sort results by. Can be either created, updated, popularity (comment count) or long-running (age, filtering by pulls updated in the last month). Default: created
-
direction
Optional<String> direction()
The direction of the sort. Can be either asc or desc. Default: desc when sort is created or sort is not specified, otherwise asc.
-
-