google_api_classroom v0.14.3 GoogleApi.Classroom.V1.Model.StudentSubmission View Source
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.
Attributes
alternateLink
(type:String.t
, default:nil
) - Absolute link to the submission in the Classroom web UI.Read-only.
assignedGrade
(type:float()
, default:nil
) - 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.
assignmentSubmission
(type:GoogleApi.Classroom.V1.Model.AssignmentSubmission.t
, default:nil
) - Submission content when course_work_type is ASSIGNMENT.Students can modify this content using ModifyAttachments.
associatedWithDeveloper
(type:boolean()
, default:nil
) - Whether this student submission is associated with the Developer Console project making the request.See CreateCourseWork for more details. Read-only.
courseId
(type:String.t
, default:nil
) - Identifier of the course.Read-only.
courseWorkId
(type:String.t
, default:nil
) - Identifier for the course work this corresponds to.Read-only.
courseWorkType
(type:String.t
, default:nil
) - Type of course work this submission is for.Read-only.
creationTime
(type:DateTime.t
, default:nil
) - Creation time of this submission. This may be unset if the student has not accessed this item.Read-only.
draftGrade
(type:float()
, default:nil
) - 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.
id
(type:String.t
, default:nil
) - Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work.Read-only.
late
(type:boolean()
, default:nil
) - Whether this submission is late.Read-only.
multipleChoiceSubmission
(type:GoogleApi.Classroom.V1.Model.MultipleChoiceSubmission.t
, default:nil
) - Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.shortAnswerSubmission
(type:GoogleApi.Classroom.V1.Model.ShortAnswerSubmission.t
, default:nil
) - Submission content when course_work_type is SHORT_ANSWER_QUESTION.state
(type:String.t
, default:nil
) - State of this submission.Read-only.
submissionHistory
(type:list(GoogleApi.Classroom.V1.Model.SubmissionHistory.t)
, default:nil
) - The history of the submission (includes state and grade histories).Read-only.
updateTime
(type:DateTime.t
, default:nil
) - Last update time of this submission. This may be unset if the student has not accessed this item.Read-only.
userId
(type:String.t
, default:nil
) - Identifier for the student that owns this submission.Read-only.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Classroom.V1.Model.StudentSubmission{ alternateLink: String.t(), assignedGrade: float(), assignmentSubmission: GoogleApi.Classroom.V1.Model.AssignmentSubmission.t(), associatedWithDeveloper: boolean(), courseId: String.t(), courseWorkId: String.t(), courseWorkType: String.t(), creationTime: DateTime.t(), draftGrade: float(), id: String.t(), late: boolean(), multipleChoiceSubmission: GoogleApi.Classroom.V1.Model.MultipleChoiceSubmission.t(), shortAnswerSubmission: GoogleApi.Classroom.V1.Model.ShortAnswerSubmission.t(), state: String.t(), submissionHistory: [GoogleApi.Classroom.V1.Model.SubmissionHistory.t()], updateTime: DateTime.t(), userId: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.