Interface PullRequestParameters

    • Method Detail

      • state

        Optional<String> state()
        Either open, closed, or all to filter by state. Default: open
      • head

        Optional<String> head()
        Filter pulls by head user and branch name in the format of user:ref-name. Example: github:new-script-format.
      • base

        Optional<String> base()
        Filter pulls by base branch name. Example: gh-pages.
      • 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.