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).

interface CommentThread {
    _links?: any;
    comments?: Comment[];
    id?: number;
    identities?: { [key: string]: IdentityRef };
    isDeleted?: boolean;
    lastUpdatedDate?: Date;
    properties?: any;
    publishedDate?: Date;
    status?: CommentThreadStatus;
    threadContext?: CommentThreadContext;
}

Hierarchy (View Summary)

Properties

_links?: any

Links to other related objects.

comments?: Comment[]

A list of the comments.

id?: number

The comment thread id.

identities?: { [key: string]: IdentityRef }

Set of identities related to this thread

isDeleted?: boolean

Specify if the thread is deleted which happens when all comments are deleted.

lastUpdatedDate?: Date

The time this thread was last updated.

properties?: any

Optional properties associated with the thread as a collection of key-value pairs.

publishedDate?: Date

The time this thread was published.

The status of the comment thread.

threadContext?: CommentThreadContext

Specify thread context such as position in left/right file.