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

HomeworkSubmission

Edward Smale edited this page Apr 7, 2020 · 2 revisions

HomeworkSubmission

Represents a submission to a homework assignment.

Extends Submission

Properties

.homework_id (Number) The ID of the homework assignment.

.grading_comment (String) The comment for the grade given.

.completed (Boolean) Whether or not the submission has been completed or not.

.overdue (Boolean) Whether or not the submission is overdue or not.

.marked (Boolean) Whether or not the submission has been marked or not.

.handed_in_timestamp (Number) The timestamp when the submission was submitted.

.has_unread_comments (Boolean) Whether or not the submission has unread comments.

.version_ids (Array<Number>) An array of all submission version IDs.

.current_submission_version_id (Number) The ID of the current submission version.

Methods

.postComment(<content>)

  • content (String) The content of the comment to post.

Post a comment to the submission. Returns Promise<SubmissionComment>

Clone this wiki locally