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

GradeCategory

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

Details for a grade category in a course. Coursework may have zero or one grade category, and the category may be used in computing the overall grade. See the help center article for details.

interface GradeCategory {
defaultGradeDenominator?: number;
id?: string;
name?: string;
weight?: number;
}

§Properties

§
defaultGradeDenominator?: number
[src]

Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS.

§
id?: string
[src]

ID of the grade category.

§
name?: string
[src]

Name of the grade category.

§
weight?: number
[src]

The weight of the category average as part of overall average. A weight of 12.34% is represented as 123400 (100% is 1,000,000). The last two digits should always be zero since we use two decimal precision. Only applicable when grade calculation type is WEIGHTED_CATEGORIES.