google_api_classroom v0.5.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 nil.
  • id (String.t): Identifier assigned by Classroom.

Read-only. Defaults to nil.

  • role (String.t): Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED. Defaults to nil.
  • 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 nil.

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: String.t(),
  id: String.t(),
  role: String.t(),
  userId: String.t()
}

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.