View Source GoogleApi.Classroom.V1.Model.AddOnAttachment (google_api_classroom v0.21.2)
An add-on attachment on a post.
Attributes
-
copyHistory
(type:list(GoogleApi.Classroom.V1.Model.CopyHistory.t)
, default:nil
) - Output only. Identifiers of attachments that were previous copies of this attachment. If the attachment was previously copied by virtue of its parent post being copied, this enumerates the identifiers of attachments that were its previous copies in ascending chronological order of copy. -
courseId
(type:String.t
, default:nil
) - Immutable. Identifier of the course. -
dueDate
(type:GoogleApi.Classroom.V1.Model.Date.t
, default:nil
) - Date, in UTC, that work on this attachment is due. This must be specified ifdue_time
is specified. -
dueTime
(type:GoogleApi.Classroom.V1.Model.TimeOfDay.t
, default:nil
) - Time of day, in UTC, that work on this attachment is due. This must be specified ifdue_date
is specified. -
id
(type:String.t
, default:nil
) - Immutable. Classroom-assigned identifier for this attachment, unique per post. -
itemId
(type:String.t
, default:nil
) - Immutable. Identifier of theAnnouncement
,CourseWork
, orCourseWorkMaterial
under which the attachment is attached. Unique per course. -
maxPoints
(type:float()
, default:nil
) - Maximum grade for this attachment. Can only be set ifstudentWorkReviewUri
is set. Set to a non-zero value to indicate that the attachment supports grade passback. If set, this must be a non-negative integer value. When set to zero, the attachment will not support grade passback. -
postId
(type:String.t
, default:nil
) - Immutable. Deprecated, useitem_id
instead. -
studentViewUri
(type:GoogleApi.Classroom.V1.Model.EmbedUri.t
, default:nil
) - Required. URI to show the student view of the attachment. The URI will be opened in an iframe with thecourseId
,itemId
,itemType
, andattachmentId
query parameters set. -
studentWorkReviewUri
(type:GoogleApi.Classroom.V1.Model.EmbedUri.t
, default:nil
) - URI for the teacher to see student work on the attachment, if applicable. The URI will be opened in an iframe with thecourseId
,itemId
,itemType
,attachmentId
, andsubmissionId
query parameters set. This is the samesubmissionId
returned in theAddOnContext.studentContext
field when a student views the attachment. If the URI is omitted or removed,max_points
will also be discarded. -
teacherViewUri
(type:GoogleApi.Classroom.V1.Model.EmbedUri.t
, default:nil
) - Required. URI to show the teacher view of the attachment. The URI will be opened in an iframe with thecourseId
,itemId
,itemType
, andattachmentId
query parameters set. -
title
(type:String.t
, default:nil
) - Required. Title of this attachment. The title must be between 1 and 1000 characters.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Classroom.V1.Model.AddOnAttachment{ copyHistory: [GoogleApi.Classroom.V1.Model.CopyHistory.t()] | nil, courseId: String.t() | nil, dueDate: GoogleApi.Classroom.V1.Model.Date.t() | nil, dueTime: GoogleApi.Classroom.V1.Model.TimeOfDay.t() | nil, id: String.t() | nil, itemId: String.t() | nil, maxPoints: float() | nil, postId: String.t() | nil, studentViewUri: GoogleApi.Classroom.V1.Model.EmbedUri.t() | nil, studentWorkReviewUri: GoogleApi.Classroom.V1.Model.EmbedUri.t() | nil, teacherViewUri: GoogleApi.Classroom.V1.Model.EmbedUri.t() | nil, title: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.