PullRequest interface
表示拉取请求对象。 从源提供程序检索这些内容。
属性
| author | 拉取请求的作者。 |
| current |
拉取请求的当前状态,例如打开、合并、已合并、已关闭、冲突等。 |
| description | 拉取请求的说明。 |
| draft | 如果拉取请求为草稿,则返回 |
| id | 拉取请求的唯一标识符 |
| provider |
此拉取请求关联的提供程序的名称。 |
| source |
此拉取请求的源分支 ref |
| source |
此拉取请求的源存储库的所有者 |
| target |
此拉取请求的目标分支 ref |
| target |
此拉取请求的目标存储库的所有者 |
| title | 拉取请求的标题。 |
属性详细信息
author
currentState
拉取请求的当前状态,例如打开、合并、已合并、已关闭、冲突等。
currentState: string
属性值
string
description
拉取请求的说明。
description: string
属性值
string
draft
如果拉取请求为草稿,则返回
draft: boolean
属性值
boolean
id
拉取请求的唯一标识符
id: string
属性值
string
providerName
此拉取请求关联的提供程序的名称。
providerName: string
属性值
string
sourceBranchRef
此拉取请求的源分支 ref
sourceBranchRef: string
属性值
string
sourceRepositoryOwner
此拉取请求的源存储库的所有者
sourceRepositoryOwner: string
属性值
string
targetBranchRef
此拉取请求的目标分支 ref
targetBranchRef: string
属性值
string
targetRepositoryOwner
此拉取请求的目标存储库的所有者
targetRepositoryOwner: string
属性值
string
title
拉取请求的标题。
title: string
属性值
string