Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Invitation

import type { Invitation } from "https://googleapis.deno.dev/v1/classroom:v1.ts";

An invitation to join a course.

interface Invitation {
courseId?: string;
id?: string;
role?:
| "COURSE_ROLE_UNSPECIFIED"
| "STUDENT"
| "TEACHER"
| "OWNER";
userId?: string;
}

§Properties

§
courseId?: string
[src]

Identifier of the course to invite the user to.

§
id?: string
[src]

Identifier assigned by Classroom. Read-only.

§
role?: "COURSE_ROLE_UNSPECIFIED" | "STUDENT" | "TEACHER" | "OWNER"
[src]

Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED.

§
userId?: string
[src]

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