Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

SubmissionComment

Edward Smale edited this page Apr 7, 2020 · 1 revision

SubmissionComment

Represents a comment to a submission.

Properties

.client (Client) The client that initiated the object.

.id (Number) The ID of the submission comment.

.user_id (Number) The ID of the user that posted the submission comment.

.user_name (String) The name of the user who posted the comment.

.assignment_id (Number) The ID of the assignment.

.assignment (Object)

.submission (Object)

.text (String) The content of the comment.

.created_timestamp (Number) The timestamp of when the comment was created.

.updated_timestamp (Number) The timestamp of when the comment was last updated.

.origin (String) The origin of the comment (???)

Methods

.getAssignment()

Get the assignment of the comment. Returns Promise<Assignment>

.getSubmission()

Get the assignment submission of the comment. Returns Promise<Submission>

Clone this wiki locally