GitPullRequestCommentThread interface

表示拉取请求的注释线程。 如果有任何) ,则线程包含有关 (上保留的文件的元数据,以及初始批注 (一个或多个注释,后续回复) 。

Extends

属性

pullRequestThreadContext

拉取请求独有的扩展上下文信息

继承属性

comments

注释列表。

id

注释线程 ID。

identities

与此线程相关的标识集

isDeleted

指定是否删除线程,这在删除所有注释时发生。

lastUpdatedDate

上次更新此线程的时间。

properties

与作为键值对集合的线程关联的可选属性。

publishedDate

此线程的发布时间。

status

注释线程的状态。

threadContext

指定线程上下文,例如在左侧/右侧文件中的位置。

属性详细信息

pullRequestThreadContext

拉取请求独有的扩展上下文信息

pullRequestThreadContext: GitPullRequestCommentThreadContext

属性值

继承属性详细信息

comments

注释列表。

comments: Comment[]

属性值

继承自CommentThread.comments

id

注释线程 ID。

id: number

属性值

number

继承自CommentThread.id

identities

与此线程相关的标识集

identities: {[key: string]: WebApi.IdentityRef}

属性值

{[key: string]: IdentityRef}

继承自CommentThread.identities

isDeleted

指定是否删除线程,这在删除所有注释时发生。

isDeleted: boolean

属性值

boolean

继承自CommentThread.isDeleted

lastUpdatedDate

上次更新此线程的时间。

lastUpdatedDate: Date

属性值

Date

继承自CommentThread.lastUpdatedDate

properties

与作为键值对集合的线程关联的可选属性。

properties: any

属性值

any

继承自CommentThread.properties

publishedDate

此线程的发布时间。

publishedDate: Date

属性值

Date

继承自CommentThread.publishedDate

status

注释线程的状态。

status: CommentThreadStatus

属性值

继承自CommentThread.status

threadContext

指定线程上下文,例如在左侧/右侧文件中的位置。

threadContext: CommentThreadContext

属性值

继承自CommentThread.threadContext