Skip to content

Latest commit

 

History

History
92 lines (79 loc) · 2.49 KB

ClassAssignmentUpdate.md

File metadata and controls

92 lines (79 loc) · 2.49 KB

ClassAssignmentUpdate

Properties

Name Type
type AssignmentType
title string
description string
descriptionHtml string
teacherInstructions string
teacherInstructionsHtml string
attachments Array<ClassAttachmentCreation>
nbPlaybackAuthorized number
restrictPlayNote boolean
restrictToAudioTracks boolean
toolset string
coverFile string
cover string
maxPoints number
releaseGrades string
shuffleExercises boolean
submissionStudentsMode AssignmentSubmissionStudentsMode
recordingType string
allowMetronome boolean
allowBackingTrack boolean
allowSpeedChange boolean
freeRecord boolean
state string
dueDate Date
scheduledDate Date
googleClassroom ClassAssignmentUpdateAllOfGoogleClassroom
microsoftGraph ClassAssignmentUpdateAllOfMicrosoftGraph
assigneeMode string
assignedStudents Array<string>
classGroupIds Array<string>

Example

import type { ClassAssignmentUpdate } from 'flat-api'

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "title": null,
  "description": null,
  "descriptionHtml": null,
  "teacherInstructions": null,
  "teacherInstructionsHtml": null,
  "attachments": null,
  "nbPlaybackAuthorized": null,
  "restrictPlayNote": null,
  "restrictToAudioTracks": null,
  "toolset": null,
  "coverFile": null,
  "cover": null,
  "maxPoints": null,
  "releaseGrades": null,
  "shuffleExercises": null,
  "submissionStudentsMode": null,
  "recordingType": null,
  "allowMetronome": null,
  "allowBackingTrack": null,
  "allowSpeedChange": null,
  "freeRecord": null,
  "state": null,
  "dueDate": null,
  "scheduledDate": null,
  "googleClassroom": null,
  "microsoftGraph": null,
  "assigneeMode": null,
  "assignedStudents": null,
  "classGroupIds": null,
} satisfies ClassAssignmentUpdate

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as ClassAssignmentUpdate
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]