/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CreatePracticeQuizRequest */ export interface CreatePracticeQuizRequest { /** * Canvas local course id (e.g. '587077'). Together with canvasObjectId + mode it identifies the per-exam slot for this learner. * @type {string} * @memberof CreatePracticeQuizRequest */ canvasCourseId: string; /** * Canvas object identifier formatted '{type}:{local_id}' — e.g. 'assignment:67890' or 'quiz:99999'. The type prefix is required because Canvas namespaces local ids by type. * @type {string} * @memberof CreatePracticeQuizRequest */ canvasObjectId: string; /** * Human-readable Canvas object name (assignment or quiz title). When present it is appended to the mode label to form a descriptive chat title (e.g. 'Practice Quiz · Cell Biology Midterm'). Blank or omitted values fall back to the plain mode label. * @type {string} * @memberof CreatePracticeQuizRequest */ canvasObjectName?: string; /** * Quiz mode: 'quiz' for a graded practice quiz, 'flashcards' for a flashcard set. * @type {string} * @memberof CreatePracticeQuizRequest */ mode: CreatePracticeQuizRequestModeEnum; /** * When true, abandon the existing association (if any) and create a new chat. The old chat remains in the learner's history. * @type {boolean} * @memberof CreatePracticeQuizRequest */ forceNew?: boolean; } /** * @export */ export declare const CreatePracticeQuizRequestModeEnum: { readonly Quiz: "quiz"; readonly Flashcards: "flashcards"; }; export type CreatePracticeQuizRequestModeEnum = typeof CreatePracticeQuizRequestModeEnum[keyof typeof CreatePracticeQuizRequestModeEnum]; /** * Check if a given object implements the CreatePracticeQuizRequest interface. */ export declare function instanceOfCreatePracticeQuizRequest(value: object): value is CreatePracticeQuizRequest; export declare function CreatePracticeQuizRequestFromJSON(json: any): CreatePracticeQuizRequest; export declare function CreatePracticeQuizRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePracticeQuizRequest; export declare function CreatePracticeQuizRequestToJSON(json: any): CreatePracticeQuizRequest; export declare function CreatePracticeQuizRequestToJSONTyped(value?: CreatePracticeQuizRequest | null, ignoreDiscriminator?: boolean): any;