Constructor
new HomeworkSubmissionVersion(client, response)
Instantiate a HomeworkSubmissionVersion object.
Name | Type | Description |
---|---|---|
client |
Client | The client that is instantiating the object. |
response |
Object | The data for the object. |
Members
(private) _client :Client
The client that instantiated this object.
- Client
attachment_ids :Array.<Number>
An array of IDs to attachments attached to the homework submission version.
- Array.<Number>
complete_online_text :String
The text submitted through online.
- String
created_at :Number
The timestamp of when the homework submission version was created.
- Number
id :Number
The ID of the homework submission version.
- Number
updated_at :Number
The timestamp of when the homework submission version was last updated.
- Number
user_attachment_ids :Array.<Number>
An array of IDs to attachments attached to the homework submission version.
- Array.<Number>
user_id :Number
The ID of the user who the version was created by.
- Number
user_name :String
The name of the user who the version was created by.
- String
Methods
getAttachments(idsopt) → {Promise.<Array.<Attachment>>}
Get attachments attached to the homework submission version.
Name | Type | Attributes | Description |
---|---|---|---|
ids |
Array.<Number> |
<optional> |
An array of IDs of attachments to retrieve. |
- Type
- Promise.<Array.<Attachment>>
getUser() → {Promise.<User>}
Get the user who created the homework submission version.
- Type
- Promise.<User>