GoogleApi.Classroom.V1.Model.GradingPeriod (google_api_classroom v0.25.0)

View Source

An individual grading period. Grading periods must not have overlapping date ranges and must be listed in chronological order. For example, if the end_date of a grading period is 2024-01-25, then the start_date of the next grading period must be 2024-01-26 or later. Each grading period must have a unique title within a course.

Attributes

  • endDate (type: GoogleApi.Classroom.V1.Model.Date.t, default: nil) - Required. End date, in UTC, of the grading period. Inclusive.
  • id (type: String.t, default: nil) - Output only. System generated grading period ID. Read-only.
  • startDate (type: GoogleApi.Classroom.V1.Model.Date.t, default: nil) - Required. Start date, in UTC, of the grading period. Inclusive.
  • title (type: String.t, default: nil) - Required. Title of the grading period. For example, “Semester 1”.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Classroom.V1.Model.GradingPeriod{
  endDate: GoogleApi.Classroom.V1.Model.Date.t() | nil,
  id: String.t() | nil,
  startDate: GoogleApi.Classroom.V1.Model.Date.t() | nil,
  title: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.