View Source GoogleApi.Classroom.V1.Model.CourseWork (google_api_classroom v0.21.2)
Course work created by a teacher for students of the course.
Attributes
-
alternateLink(type:String.t, default:nil) - Absolute link to this course work in the Classroom web UI. This is only populated ifstateisPUBLISHED. Read-only. -
assigneeMode(type:String.t, default:nil) - Assignee mode of the coursework. If unspecified, the default value isALL_STUDENTS. -
assignment(type:GoogleApi.Classroom.V1.Model.Assignment.t, default:nil) - Assignment details. This is populated only whenwork_typeisASSIGNMENT. Read-only. -
associatedWithDeveloper(type:boolean(), default:nil) - Whether this course work item 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. -
creationTime(type:DateTime.t, default:nil) - Timestamp when this course work was created. Read-only. -
creatorUserId(type:String.t, default:nil) - Identifier for the user that created the coursework. Read-only. -
description(type:String.t, default:nil) - Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters. -
dueDate(type:GoogleApi.Classroom.V1.Model.Date.t, default:nil) - Optional date, in UTC, that submissions for this course work are due. This must be specified ifdue_timeis specified. -
dueTime(type:GoogleApi.Classroom.V1.Model.TimeOfDay.t, default:nil) - Optional time of day, in UTC, that submissions for this course work are due. This must be specified ifdue_dateis specified. -
gradeCategory(type:GoogleApi.Classroom.V1.Model.GradeCategory.t, default:nil) - The category that this coursework's grade contributes to. Present only when a category has been chosen for the coursework. May be used in calculating the overall grade. Read-only. -
id(type:String.t, default:nil) - Classroom-assigned identifier of this course work, unique per course. Read-only. -
individualStudentsOptions(type:GoogleApi.Classroom.V1.Model.IndividualStudentsOptions.t, default:nil) - Identifiers of students with access to the coursework. This field is set only ifassigneeModeisINDIVIDUAL_STUDENTS. If theassigneeModeisINDIVIDUAL_STUDENTS, then only students specified in this field are assigned the coursework. -
materials(type:list(GoogleApi.Classroom.V1.Model.Material.t), default:nil) - Additional materials. CourseWork must have no more than 20 material items. -
maxPoints(type:float(), default:nil) - Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value. -
multipleChoiceQuestion(type:GoogleApi.Classroom.V1.Model.MultipleChoiceQuestion.t, default:nil) - Multiple choice question details. For read operations, this field is populated only whenwork_typeisMULTIPLE_CHOICE_QUESTION. For write operations, this field must be specified when creating course work with awork_typeofMULTIPLE_CHOICE_QUESTION, and it must not be set otherwise. -
scheduledTime(type:DateTime.t, default:nil) - Optional timestamp when this course work is scheduled to be published. -
state(type:String.t, default:nil) - Status of this course work. If unspecified, the default state isDRAFT. -
submissionModificationMode(type:String.t, default:nil) - Setting to determine when students are allowed to modify submissions. If unspecified, the default value isMODIFIABLE_UNTIL_TURNED_IN. -
title(type:String.t, default:nil) - Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters. -
topicId(type:String.t, default:nil) - Identifier for the topic that this coursework is associated with. Must match an existing topic in the course. -
updateTime(type:DateTime.t, default:nil) - Timestamp of the most recent change to this course work. Read-only. -
workType(type:String.t, default:nil) - Type of this course work. The type is set when the course work is created and cannot be changed.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Classroom.V1.Model.CourseWork{ alternateLink: String.t() | nil, assigneeMode: String.t() | nil, assignment: GoogleApi.Classroom.V1.Model.Assignment.t() | nil, associatedWithDeveloper: boolean() | nil, courseId: String.t() | nil, creationTime: DateTime.t() | nil, creatorUserId: String.t() | nil, description: String.t() | nil, dueDate: GoogleApi.Classroom.V1.Model.Date.t() | nil, dueTime: GoogleApi.Classroom.V1.Model.TimeOfDay.t() | nil, gradeCategory: GoogleApi.Classroom.V1.Model.GradeCategory.t() | nil, id: String.t() | nil, individualStudentsOptions: GoogleApi.Classroom.V1.Model.IndividualStudentsOptions.t() | nil, materials: [GoogleApi.Classroom.V1.Model.Material.t()] | nil, maxPoints: float() | nil, multipleChoiceQuestion: GoogleApi.Classroom.V1.Model.MultipleChoiceQuestion.t() | nil, scheduledTime: DateTime.t() | nil, state: String.t() | nil, submissionModificationMode: String.t() | nil, title: String.t() | nil, topicId: String.t() | nil, updateTime: DateTime.t() | nil, workType: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.