Skip to main content

Comment

Represents information about a comment.

type Comment {
id: ID!
body: String
parentId: ID
author: User
isAuthor: Boolean
parent: Comment
children: [Comment!]
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}

Fields​

Comment.id ● ID! non-null scalar​

Comment's unique identifier.

Comment.body ● String scalar​

The comment's body.

Comment.parentId ● ID scalar​

The comment's parent comment.

Comment.author ● User object​

The comment's author.

Comment.isAuthor ● Boolean scalar​

Determine whether the current user is this comment's author.

Comment.parent ● Comment object​

The parent comment.

Comment.children ● [Comment!] list object​

The child comments.

Comment.createdAt ● DateTimeTz! non-null scalar​

The date and time when the comment was created.

Comment.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the comment was last updated.

Comment.deletedAt ● DateTimeTz scalar​

The date and time when the comment was deleted.

Returned By​

createComment mutation ● deleteComment mutation ● restoreComment mutation ● updateComment mutation

Member Of​

Act object ● Comment object ● CommentEdge object ● Company object ● Contact object ● Contract object ● Coordination object ● Easement object ● Expense object ● GovernanceDocument object ● Invoice object ● Letter object ● Meter object ● Ordinance object ● Person object ● Project object ● Property object ● Quote object ● Specification object ● Structure object ● Submission object ● Task object