View Source GoogleApi.Classroom.V1.Model.AddOnContext (google_api_classroom v0.21.2)
Attachment-relevant metadata for Classroom add-ons in the context of a specific post.
Attributes
-
courseId(type:String.t, default:nil) - Immutable. Identifier of the course. -
itemId(type:String.t, default:nil) - Immutable. Identifier of theAnnouncement,CourseWork, orCourseWorkMaterialunder which the attachment is attached. -
postId(type:String.t, default:nil) - Immutable. Deprecated, useitem_idinstead. -
studentContext(type:GoogleApi.Classroom.V1.Model.StudentContext.t, default:nil) - Add-on context corresponding to the requesting user's role as a student. Its presence implies that the requesting user is a student in the course. -
supportsStudentWork(type:boolean(), default:nil) - Optional. Whether the post allows the teacher to see student work and passback grades. -
teacherContext(type:GoogleApi.Classroom.V1.Model.TeacherContext.t, default:nil) - Add-on context corresponding to the requesting user's role as a teacher. Its presence implies that the requesting user is a teacher in the course.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Classroom.V1.Model.AddOnContext{ courseId: String.t() | nil, itemId: String.t() | nil, postId: String.t() | nil, studentContext: GoogleApi.Classroom.V1.Model.StudentContext.t() | nil, supportsStudentWork: boolean() | nil, teacherContext: GoogleApi.Classroom.V1.Model.TeacherContext.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.