Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PullRequest

import type { PullRequest } from "https://googleapis.deno.dev/v1/securesourcemanager:v1.ts";

Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).

interface PullRequest {
base?: Branch;
body?: string;
readonly closeTime?: Date;
readonly createTime?: Date;
head?: Branch;
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "OPEN"
| "CLOSED"
| "MERGED";
title?: string;
readonly updateTime?: Date;
}

§Properties

§

Required. The branch to merge changes in.

§
body?: string
[src]

Optional. The pull request body. Provides a detailed description of the changes.

§
readonly closeTime?: Date
[src]

Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.

§
readonly createTime?: Date
[src]

Output only. Creation timestamp.

§
readonly name?: string
[src]

Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}

§
readonly state?: "STATE_UNSPECIFIED" | "OPEN" | "CLOSED" | "MERGED"
[src]

Output only. State of the pull request (open, closed or merged).

§
title?: string
[src]

Required. The pull request title.

§
readonly updateTime?: Date
[src]

Output only. Last updated timestamp.