View Source GoogleApi.Classroom.V1.Model.Attachment (google_api_classroom v0.21.2)

Attachment added to student assignment work. When creating attachments, setting the form field is not supported.

Attributes

  • driveFile (type: GoogleApi.Classroom.V1.Model.DriveFile.t, default: nil) - Google Drive file attachment.
  • form (type: GoogleApi.Classroom.V1.Model.Form.t, default: nil) - Google Forms attachment.
  • link (type: GoogleApi.Classroom.V1.Model.Link.t, default: nil) - Link attachment.
  • youTubeVideo (type: GoogleApi.Classroom.V1.Model.YouTubeVideo.t, default: nil) - Youtube video attachment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.Attachment{
  driveFile: GoogleApi.Classroom.V1.Model.DriveFile.t() | nil,
  form: GoogleApi.Classroom.V1.Model.Form.t() | nil,
  link: GoogleApi.Classroom.V1.Model.Link.t() | nil,
  youTubeVideo: GoogleApi.Classroom.V1.Model.YouTubeVideo.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.