Skip to content

Latest commit

 

History

History
84 lines (71 loc) · 2.15 KB

AssignmentCopyResponse.md

File metadata and controls

84 lines (71 loc) · 2.15 KB

AssignmentCopyResponse

Properties

Name Type
id string
type AssignmentType
capabilities AssignmentCapabilities
title string
description string
descriptionHtml string
teacherInstructions string
teacherInstructionsHtml string
cover string
coverFile string
attachments Array<MediaAttachment>
useDedicatedAttachments boolean
maxPoints number
releaseGrades string
shuffleExercises boolean
toolset string
nbPlaybackAuthorized number
restrictPlayNote boolean
restrictToAudioTracks boolean
submissionStudentsMode AssignmentSubmissionStudentsMode
recordingType string
allowMetronome boolean
allowBackingTrack boolean
allowSpeedChange boolean
freeRecord boolean
resource string

Example

import type { AssignmentCopyResponse } from 'flat-api'

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "type": null,
  "capabilities": null,
  "title": null,
  "description": null,
  "descriptionHtml": null,
  "teacherInstructions": null,
  "teacherInstructionsHtml": null,
  "cover": null,
  "coverFile": null,
  "attachments": null,
  "useDedicatedAttachments": null,
  "maxPoints": null,
  "releaseGrades": null,
  "shuffleExercises": null,
  "toolset": null,
  "nbPlaybackAuthorized": null,
  "restrictPlayNote": null,
  "restrictToAudioTracks": null,
  "submissionStudentsMode": null,
  "recordingType": null,
  "allowMetronome": null,
  "allowBackingTrack": null,
  "allowSpeedChange": null,
  "freeRecord": null,
  "resource": null,
} satisfies AssignmentCopyResponse

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 AssignmentCopyResponse
console.log(exampleParsed)

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