View Source GoogleApi.Classroom.V1.Model.StudentSubmission (google_api_classroom v0.21.2)

Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. Student submissions 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.StudentSubmission{
  alternateLink: String.t() | nil,
  assignedGrade: float() | nil,
  assignmentSubmission:
    GoogleApi.Classroom.V1.Model.AssignmentSubmission.t() | nil,
  associatedWithDeveloper: boolean() | nil,
  courseId: String.t() | nil,
  courseWorkId: String.t() | nil,
  courseWorkType: String.t() | nil,
  creationTime: DateTime.t() | nil,
  draftGrade: float() | nil,
  id: String.t() | nil,
  late: boolean() | nil,
  multipleChoiceSubmission:
    GoogleApi.Classroom.V1.Model.MultipleChoiceSubmission.t() | nil,
  shortAnswerSubmission:
    GoogleApi.Classroom.V1.Model.ShortAnswerSubmission.t() | nil,
  state: String.t() | nil,
  submissionHistory: [GoogleApi.Classroom.V1.Model.SubmissionHistory.t()] | nil,
  updateTime: DateTime.t() | nil,
  userId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.