import { PullRequestClient } from "https://dotland.deno.dev/x/kd_clients@v1.0.0-preview.9/mod.ts";
Provides a client for interacting with pull requests.
Constructors
Initializes a new instance of the PullRequestClient class.
Properties
Methods
Checks if a pull request with the given {@link prNumber} exists with the given {@link state} in a repository with a name that matches the given PullRequestClient.{@link repoName}.
Adds the given {@link label} to a pull request with a number that matches the given {@link prNumber}, in a repository with a name that matches the given PullRequestClient.{@link repoName}.
Returns a value indicating whether or not a closed pull request with the given {@link prNumber} exists in a repository that matches the given PullRequestClient.{@link repoName}.
Creates a new pull request in a repository with a name that matches the given PullRequestClient.{@link repoName}, using the given {@link title}, {@link headBranch}, {@link baseBranch}, and {@link description}.
Gets all of the closed pull requests for a repository with a name that matches the given PullRequestClient.{@link repoName}.
Gets all of the open pull requests for a repository with a name that matches the givenPullRequestClient.{@link repoName}.
Gets all of the labels for a pull request with a number that matches the given {@link prNumber}, in a repository with a name that matches the given PullRequestClient.{@link repoName}.
Gets a pull request with a number that matches the given {@link prNumber} in a repository with a name that matches the given PullRequestClient.{@link repoName}.
Gets a {@link page} of pull requests where the quantity for each page matches the given {@link qtyPerPage}, where the pull request has the given {@link state} and {@link labels}, for a repository with a name that matches the given PullRequestClient.{@link repoName}.
Returns a value indicating whether or not an open pull request with the given {@link prNumber} exists in a repository that matches the given PullRequestClient.{@link repoName}.
Checks if a pull request with the given {@link prNumber} exists in a repository with a name that matches the given PullRequestClient.{@link repoName}.
Requests a review from a reviewer with a GitHub login name that matches the given {@link reviewers}, for a pull request that matches the given {@link prNumber} in a repository where the name matches the given PullRequestClient.{@link repoName}.
Updates a pull request with a number that matches the given {@link prNumber}, using the given {@link prRequestData}, in a repository with a name that matches the given PullRequestClient.{@link repoName}.