google_api_classroom v0.4.0 GoogleApi.Classroom.V1.Model.Invitation View Source

An invitation to join a course.

Attributes

  • courseId (String.t): Identifier of the course to invite the user to. Defaults to: null.
  • id (String.t): Identifier assigned by Classroom. Read-only. Defaults to: null.
  • role (String.t): Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`. Defaults to: null.

    • Enum - one of [COURSE_ROLE_UNSPECIFIED, STUDENT, TEACHER, OWNER]
  • userId (String.t): 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 Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Classroom.V1.Model.Invitation{
  courseId: any(),
  id: any(),
  role: any(),
  userId: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.