Files
gitea-rs/crates/gitea-client/docs/PullRequest.md
2026-03-20 16:24:40 +01:00

48 lines
3.4 KiB
Markdown

# PullRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additions** | Option<**i64**> | The number of lines added in the pull request | [optional]
**allow_maintainer_edit** | Option<**bool**> | Whether maintainers can edit the pull request | [optional]
**assignee** | Option<[**models::User**](User.md)> | | [optional]
**assignees** | Option<[**Vec<models::User>**](User.md)> | The list of users assigned to the pull request | [optional]
**base** | Option<[**models::PrBranchInfo**](PRBranchInfo.md)> | | [optional]
**body** | Option<**String**> | The description body of the pull request | [optional]
**changed_files** | Option<**i64**> | The number of files changed in the pull request | [optional]
**closed_at** | Option<**String**> | | [optional]
**comments** | Option<**i64**> | The number of comments on the pull request | [optional]
**created_at** | Option<**String**> | | [optional]
**deletions** | Option<**i64**> | The number of lines deleted in the pull request | [optional]
**diff_url** | Option<**String**> | The URL to download the diff patch | [optional]
**draft** | Option<**bool**> | Whether the pull request is a draft | [optional]
**due_date** | Option<**String**> | | [optional]
**head** | Option<[**models::PrBranchInfo**](PRBranchInfo.md)> | | [optional]
**html_url** | Option<**String**> | The HTML URL to view the pull request | [optional]
**id** | Option<**i64**> | The unique identifier of the pull request | [optional]
**is_locked** | Option<**bool**> | Whether the pull request conversation is locked | [optional]
**labels** | Option<[**Vec<models::Label>**](Label.md)> | The labels attached to the pull request | [optional]
**merge_base** | Option<**String**> | The merge base commit SHA | [optional]
**merge_commit_sha** | Option<**String**> | The SHA of the merge commit | [optional]
**mergeable** | Option<**bool**> | Whether the pull request can be merged | [optional]
**merged** | Option<**bool**> | Whether the pull request has been merged | [optional]
**merged_at** | Option<**String**> | | [optional]
**merged_by** | Option<[**models::User**](User.md)> | | [optional]
**milestone** | Option<[**models::Milestone**](Milestone.md)> | | [optional]
**number** | Option<**i64**> | The pull request number | [optional]
**patch_url** | Option<**String**> | The URL to download the patch file | [optional]
**pin_order** | Option<**i64**> | The pin order for the pull request | [optional]
**requested_reviewers** | Option<[**Vec<models::User>**](User.md)> | The users requested to review the pull request | [optional]
**requested_reviewers_teams** | Option<[**Vec<models::Team>**](Team.md)> | The teams requested to review the pull request | [optional]
**review_comments** | Option<**i64**> | number of review comments made on the diff of a PR review (not including comments on commits or issues in a PR) | [optional]
**state** | Option<**String**> | StateType issue state type | [optional]
**title** | Option<**String**> | The title of the pull request | [optional]
**updated_at** | Option<**String**> | | [optional]
**url** | Option<**String**> | The API URL of the pull request | [optional]
**user** | Option<[**models::User**](User.md)> | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)