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

3.4 KiB

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> [optional]
assignees Option<Vecmodels::User> The list of users assigned to the pull request [optional]
base Option<models::PrBranchInfo> [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> [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<Vecmodels::Label> 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> [optional]
milestone Option<models::Milestone> [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<Vecmodels::User> The users requested to review the pull request [optional]
requested_reviewers_teams Option<Vecmodels::Team> 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> [optional]

[Back to Model list] [Back to API list] [Back to README]