google_api_classroom v0.5.0 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 (String.t): Absolute link to the submission in the Classroom web UI.

Read-only. Defaults to nil.

  • assignedGrade (float()): Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (i.e. non-integer) values are allowed, but will be rounded to two decimal places.

This may be modified only by course teachers. Defaults to nil.

  • assignmentSubmission (GoogleApi.Classroom.V1.Model.AssignmentSubmission.t): Submission content when course_work_type is ASSIGNMENT.

Students can modify this content using google.classroom.Work.ModifyAttachments. Defaults to nil.

  • associatedWithDeveloper (boolean()): Whether this student submission is associated with the Developer Console project making the request.

See google.classroom.Work.CreateCourseWork for more details.

Read-only. Defaults to nil.

  • courseId (String.t): Identifier of the course.

Read-only. Defaults to nil.

  • courseWorkId (String.t): Identifier for the course work this corresponds to.

Read-only. Defaults to nil.

  • courseWorkType (String.t): Type of course work this submission is for.

Read-only. Defaults to nil.

  • creationTime (DateTime.t): Creation time of this submission. This may be unset if the student has not accessed this item.

Read-only. Defaults to nil.

  • draftGrade (float()): Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (i.e. non-integer) values are allowed, but will be rounded to two decimal places.

This is only visible to and modifiable by course teachers. Defaults to nil.

  • id (String.t): Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work.

Read-only. Defaults to nil.

  • late (boolean()): Whether this submission is late.

Read-only. Defaults to nil.

  • multipleChoiceSubmission (GoogleApi.Classroom.V1.Model.MultipleChoiceSubmission.t): Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION. Defaults to nil.
  • shortAnswerSubmission (GoogleApi.Classroom.V1.Model.ShortAnswerSubmission.t): Submission content when course_work_type is SHORT_ANSWER_QUESTION. Defaults to nil.
  • state (String.t): State of this submission.

Read-only. Defaults to nil.

  • submissionHistory (list(GoogleApi.Classroom.V1.Model.SubmissionHistory.t)): The history of the submission (includes state and grade histories).

Read-only. Defaults to nil.

  • updateTime (DateTime.t): Last update time of this submission. This may be unset if the student has not accessed this item.

Read-only. Defaults to nil.

  • userId (String.t): Identifier for the student that owns this submission.

Read-only. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
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

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.