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

An invitation to join a course.

Attributes

  • courseId (type: String.t, default: nil) - Identifier of the course to invite the user to.
  • id (type: String.t, default: nil) - Identifier assigned by Classroom. Read-only.
  • role (type: String.t, default: nil) - Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED.
  • userId (type: String.t, default: nil) - Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: the numeric identifier for the user the email address of the user * the string literal "me", indicating the requesting user

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.Invitation{
  courseId: String.t() | nil,
  id: String.t() | nil,
  role: String.t() | nil,
  userId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.