Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/core/Models/PullRequestModel.ts>PullRequestModel

Various HTTP clients for miscellaneous use.
Latest
interface PullRequestModel
import { type PullRequestModel } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/core/Models/PullRequestModel.ts";

Represents a GitHub pull request.

Properties

id: number

Gets or sets the ID of the pull request.

optional
node_id: string

Gets or sets the node id of the pull request.

optional
title: string

Gets or sets the title of the pull request.

number: number

Gets or sets the number of the pull request.

body: string

Gets or sets the body of the issue.

requested_reviewers: UserModel[]

Gets or sets the list of pull request reviewers.

assignees: UserModel[]

Gets or sets the assignees.

labels: LabelModel[]

Gets or sets the labels of the pull request.

optional
state: State

Gets or sets the state of the pull request.

url: string

Gets or sets the URL to the pull request.

optional
milestone: MilestoneModel

Gets or sets the milestone.

optional
html_url: string

Gets or sets the URL to the html page of the pull request.

optional
draft: boolean

Gets or sets if the pull request is a draft.

optional
pull_request: PullRequestInfoModel

Gets or sets additional information about the pull request.

Gets or sets the head branch of the pull request.

Gets or sets the base branch of the pull request.