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

CourseWorkMaterial

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

Course work material created by a teacher for students of the course

interface CourseWorkMaterial {
alternateLink?: string;
assigneeMode?: "ASSIGNEE_MODE_UNSPECIFIED" | "ALL_STUDENTS" | "INDIVIDUAL_STUDENTS";
courseId?: string;
creationTime?: Date;
creatorUserId?: string;
description?: string;
id?: string;
individualStudentsOptions?: IndividualStudentsOptions;
materials?: Material[];
scheduledTime?: Date;
state?:
| "COURSEWORK_MATERIAL_STATE_UNSPECIFIED"
| "PUBLISHED"
| "DRAFT"
| "DELETED";
title?: string;
topicId?: string;
updateTime?: Date;
}

§Properties

§
assigneeMode?: "ASSIGNEE_MODE_UNSPECIFIED" | "ALL_STUDENTS" | "INDIVIDUAL_STUDENTS"
[src]

Assignee mode of the course work material. If unspecified, the default value is ALL_STUDENTS.

§
courseId?: string
[src]

Identifier of the course. Read-only.

§
creationTime?: Date
[src]

Timestamp when this course work material was created. Read-only.

§
creatorUserId?: string
[src]

Identifier for the user that created the course work material. Read-only.

§
description?: string
[src]

Optional description of this course work material. The text must be a valid UTF-8 string containing no more than 30,000 characters.

§
id?: string
[src]

Classroom-assigned identifier of this course work material, unique per course. Read-only.

§
individualStudentsOptions?: IndividualStudentsOptions
[src]

Identifiers of students with access to the course work material. This field is set only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is INDIVIDUAL_STUDENTS, then only students specified in this field can see the course work material.

§
materials?: Material[]
[src]

Additional materials. A course work material must have no more than 20 material items.

§
scheduledTime?: Date
[src]

Optional timestamp when this course work material is scheduled to be published.

§
state?: "COURSEWORK_MATERIAL_STATE_UNSPECIFIED" | "PUBLISHED" | "DRAFT" | "DELETED"
[src]

Status of this course work material. If unspecified, the default state is DRAFT.

§
title?: string
[src]

Title of this course work material. The title must be a valid UTF-8 string containing between 1 and 3000 characters.

§
topicId?: string
[src]

Identifier for the topic that this course work material is associated with. Must match an existing topic in the course.

§
updateTime?: Date
[src]

Timestamp of the most recent change to this course work material. Read-only.