View Source GoogleApi.Classroom.V1.Model.GradeCategory (google_api_classroom v0.21.2)

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.

Attributes

  • defaultGradeDenominator (type: integer(), default: nil) - Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS.
  • id (type: String.t, default: nil) - ID of the grade category.
  • name (type: String.t, default: nil) - Name of the grade category.
  • weight (type: integer(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.GradeCategory{
  defaultGradeDenominator: integer() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  weight: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.