UNPKG

cberg

Version:

Node.js Client for the Codeberg API

96 lines (88 loc) 3.82 kB
# PullRequest PullRequest represents a pull request ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **additions** | **number** | | [optional] [default to undefined] **allow_maintainer_edit** | **boolean** | | [optional] [default to undefined] **assignee** | [**User**](User.md) | | [optional] [default to undefined] **assignees** | [**Array<User>**](User.md) | | [optional] [default to undefined] **base** | [**PRBranchInfo**](PRBranchInfo.md) | | [optional] [default to undefined] **body** | **string** | | [optional] [default to undefined] **changed_files** | **number** | | [optional] [default to undefined] **closed_at** | **string** | | [optional] [default to undefined] **comments** | **number** | | [optional] [default to undefined] **created_at** | **string** | | [optional] [default to undefined] **deletions** | **number** | | [optional] [default to undefined] **diff_url** | **string** | | [optional] [default to undefined] **draft** | **boolean** | | [optional] [default to undefined] **due_date** | **string** | | [optional] [default to undefined] **flow** | **number** | | [optional] [default to undefined] **head** | [**PRBranchInfo**](PRBranchInfo.md) | | [optional] [default to undefined] **html_url** | **string** | | [optional] [default to undefined] **id** | **number** | | [optional] [default to undefined] **is_locked** | **boolean** | | [optional] [default to undefined] **labels** | [**Array<Label>**](Label.md) | | [optional] [default to undefined] **merge_base** | **string** | | [optional] [default to undefined] **merge_commit_sha** | **string** | | [optional] [default to undefined] **mergeable** | **boolean** | | [optional] [default to undefined] **merged** | **boolean** | | [optional] [default to undefined] **merged_at** | **string** | | [optional] [default to undefined] **merged_by** | [**User**](User.md) | | [optional] [default to undefined] **milestone** | [**Milestone**](Milestone.md) | | [optional] [default to undefined] **number** | **number** | | [optional] [default to undefined] **patch_url** | **string** | | [optional] [default to undefined] **pin_order** | **number** | | [optional] [default to undefined] **requested_reviewers** | [**Array<User>**](User.md) | | [optional] [default to undefined] **requested_reviewers_teams** | [**Array<Team>**](Team.md) | | [optional] [default to undefined] **review_comments** | **number** | number of review comments made on the diff of a PR review (not including comments on commits or issues in a PR) | [optional] [default to undefined] **state** | **string** | StateType issue state type | [optional] [default to undefined] **title** | **string** | | [optional] [default to undefined] **updated_at** | **string** | | [optional] [default to undefined] **url** | **string** | | [optional] [default to undefined] **user** | [**User**](User.md) | | [optional] [default to undefined] ## Example ```typescript import { PullRequest } from 'berg'; const instance: PullRequest = { additions, allow_maintainer_edit, assignee, assignees, base, body, changed_files, closed_at, comments, created_at, deletions, diff_url, draft, due_date, flow, head, html_url, id, is_locked, labels, merge_base, merge_commit_sha, mergeable, merged, merged_at, merged_by, milestone, number, patch_url, pin_order, requested_reviewers, requested_reviewers_teams, review_comments, state, title, updated_at, url, user, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)