google_api_classroom v0.5.0 GoogleApi.Classroom.V1.Model.CourseWork View Source

Course work created by a teacher for students of the course.

Attributes

  • alternateLink (String.t): Absolute link to this course work in the Classroom web UI. This is only populated if state is PUBLISHED.

Read-only. Defaults to nil.

  • assigneeMode (String.t): Assignee mode of the coursework. If unspecified, the default value is ALL_STUDENTS. Defaults to nil.
  • assignment (GoogleApi.Classroom.V1.Model.Assignment.t): Assignment details. This is populated only when work_type is ASSIGNMENT.

Read-only. Defaults to nil.

  • associatedWithDeveloper (boolean()): Whether this course work item 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.

  • creationTime (DateTime.t): Timestamp when this course work was created.

Read-only. Defaults to nil.

  • creatorUserId (String.t): Identifier for the user that created the coursework.

Read-only. Defaults to nil.

  • description (String.t): Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters. Defaults to nil.
  • dueDate (GoogleApi.Classroom.V1.Model.Date.t): Optional date, in UTC, that submissions for this course work are due. This must be specified if due_time is specified. Defaults to nil.
  • dueTime (GoogleApi.Classroom.V1.Model.TimeOfDay.t): Optional time of day, in UTC, that submissions for this course work are due. This must be specified if due_date is specified. Defaults to nil.
  • id (String.t): Classroom-assigned identifier of this course work, unique per course.

Read-only. Defaults to nil.

  • individualStudentsOptions (GoogleApi.Classroom.V1.Model.IndividualStudentsOptions.t): Identifiers of students with access to the coursework. This field is set only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is INDIVIDUAL_STUDENTS, then only students specified in this field will be assigned the coursework. Defaults to nil.
  • materials (list(GoogleApi.Classroom.V1.Model.Material.t)): Additional materials.

CourseWork must have no more than 20 material items. Defaults to nil.

  • maxPoints (float()): Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value. Defaults to nil.
  • multipleChoiceQuestion (GoogleApi.Classroom.V1.Model.MultipleChoiceQuestion.t): Multiple choice question details. For read operations, this field is populated only when work_type is MULTIPLE_CHOICE_QUESTION. For write operations, this field must be specified when creating course work with a work_type of MULTIPLE_CHOICE_QUESTION, and it must not be set otherwise. Defaults to nil.
  • scheduledTime (DateTime.t): Optional timestamp when this course work is scheduled to be published. Defaults to nil.
  • state (String.t): Status of this course work. If unspecified, the default state is DRAFT. Defaults to nil.
  • submissionModificationMode (String.t): Setting to determine when students are allowed to modify submissions. If unspecified, the default value is MODIFIABLE_UNTIL_TURNED_IN. Defaults to nil.
  • title (String.t): Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters. Defaults to nil.
  • topicId (String.t): Identifier for the topic that this coursework is associated with. Must match an existing topic in the course. Defaults to nil.
  • updateTime (DateTime.t): Timestamp of the most recent change to this course work.

Read-only. Defaults to nil.

  • workType (String.t): Type of this course work.

The type is set when the course work is created and cannot be changed. 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.CourseWork{
  alternateLink: String.t(),
  assigneeMode: String.t(),
  assignment: GoogleApi.Classroom.V1.Model.Assignment.t(),
  associatedWithDeveloper: boolean(),
  courseId: String.t(),
  creationTime: DateTime.t(),
  creatorUserId: String.t(),
  description: String.t(),
  dueDate: GoogleApi.Classroom.V1.Model.Date.t(),
  dueTime: GoogleApi.Classroom.V1.Model.TimeOfDay.t(),
  id: String.t(),
  individualStudentsOptions:
    GoogleApi.Classroom.V1.Model.IndividualStudentsOptions.t(),
  materials: [GoogleApi.Classroom.V1.Model.Material.t()],
  maxPoints: float(),
  multipleChoiceQuestion:
    GoogleApi.Classroom.V1.Model.MultipleChoiceQuestion.t(),
  scheduledTime: DateTime.t(),
  state: String.t(),
  submissionModificationMode: String.t(),
  title: String.t(),
  topicId: String.t(),
  updateTime: DateTime.t(),
  workType: 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.