CommentThread interface
Represents a comment thread of a pull request. A thread contains meta data about the file it was left on along with one or more comments (an initial comment and the subsequent replies).
Properties
comments | A list of the comments. |
id | The comment thread id. |
identities | Set of identities related to this thread |
is |
Specify if the thread is deleted which happens when all comments are deleted. |
last |
The time this thread was last updated. |
properties | Optional properties associated with the thread as a collection of key-value pairs. |
published |
The time this thread was published. |
status | The status of the comment thread. |
thread |
Specify thread context such as position in left/right file. |
Property Details
comments
id
The comment thread id.
id: number
Property Value
number
identities
Set of identities related to this thread
identities: {[key: string]: WebApi.IdentityRef}
Property Value
{[key: string]: IdentityRef}
isDeleted
Specify if the thread is deleted which happens when all comments are deleted.
isDeleted: boolean
Property Value
boolean
lastUpdatedDate
The time this thread was last updated.
lastUpdatedDate: Date
Property Value
Date
properties
Optional properties associated with the thread as a collection of key-value pairs.
properties: any
Property Value
any
publishedDate
The time this thread was published.
publishedDate: Date
Property Value
Date
status
threadContext
Specify thread context such as position in left/right file.
threadContext: CommentThreadContext