StudentSubmission class

Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. StudentSubmissions that have never been accessed (i.e. with state = NEW) may not have a creation time or update time.

Constructors

StudentSubmission()
StudentSubmission.fromJson(Map _json)

Properties

Absolute link to the submission in the Classroom web UI. Read-only.
read / write
assignedGrade double
Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This may be modified only by course teachers.
read / write
assignmentSubmission AssignmentSubmission
Submission content when course_work_type is ASSIGNMENT. Students can modify this content using ModifyAttachments.
read / write
associatedWithDeveloper bool
Whether this student submission is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.
read / write
courseId String
Identifier of the course. Read-only.
read / write
courseWorkId String
Identifier for the course work this corresponds to. Read-only.
read / write
courseWorkType String
Type of course work this submission is for. Read-only. Possible string values are: [...]
read / write
creationTime String
Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.
read / write
draftGrade double
Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This is only visible to and modifiable by course teachers.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.
read / write
late bool
Whether this submission is late. Read-only.
read / write
multipleChoiceSubmission MultipleChoiceSubmission
Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shortAnswerSubmission ShortAnswerSubmission
Submission content when course_work_type is SHORT_ANSWER_QUESTION.
read / write
state String
State of this submission. Read-only. Possible string values are: [...]
read / write
submissionHistory List<SubmissionHistory>
The history of the submission (includes state and grade histories). Read-only.
read / write
updateTime String
Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.
read / write
userId String
Identifier for the student that owns this submission. Read-only.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited