/** * 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 SubmittedQuizResponse */ export interface SubmittedQuizResponse { /** * * @type {string} * @memberof SubmittedQuizResponse */ id: string; /** * * @type {string} * @memberof SubmittedQuizResponse */ sessionId: string; /** * * @type {string} * @memberof SubmittedQuizResponse */ questionId: string; /** * * @type {string} * @memberof SubmittedQuizResponse */ userAnswer: string; /** * * @type {boolean} * @memberof SubmittedQuizResponse */ isCorrect: boolean | null; /** * * @type {string} * @memberof SubmittedQuizResponse */ rating: SubmittedQuizResponseRatingEnum | null; /** * * @type {string} * @memberof SubmittedQuizResponse */ grade: SubmittedQuizResponseGradeEnum | null; /** * * @type {string} * @memberof SubmittedQuizResponse */ feedback: string | null; /** * * @type {Date} * @memberof SubmittedQuizResponse */ createdAt: Date; /** * Whether a learning moment was created from this response * @type {boolean} * @memberof SubmittedQuizResponse */ learningMomentCreated: boolean; /** * Canvas course this answer is attributable to, resolved from the quiz's chat: the chat's own course grounding, else the study objective the quiz was launched from, else that objective's study space, else the practice-quiz slot the chat was minted for. Null when none of them knows a course — the answer is simply unattributed. Matches `Chat.attributionCourseId` for the same chat. * @type {string} * @memberof SubmittedQuizResponse */ courseId: string | null; } /** * @export */ export declare const SubmittedQuizResponseRatingEnum: { readonly WasRight: "was-right"; readonly NeedPractice: "need-practice"; }; export type SubmittedQuizResponseRatingEnum = typeof SubmittedQuizResponseRatingEnum[keyof typeof SubmittedQuizResponseRatingEnum]; /** * @export */ export declare const SubmittedQuizResponseGradeEnum: { readonly Correct: "correct"; readonly Almost: "almost"; readonly Incorrect: "incorrect"; }; export type SubmittedQuizResponseGradeEnum = typeof SubmittedQuizResponseGradeEnum[keyof typeof SubmittedQuizResponseGradeEnum]; /** * Check if a given object implements the SubmittedQuizResponse interface. */ export declare function instanceOfSubmittedQuizResponse(value: object): value is SubmittedQuizResponse; export declare function SubmittedQuizResponseFromJSON(json: any): SubmittedQuizResponse; export declare function SubmittedQuizResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubmittedQuizResponse; export declare function SubmittedQuizResponseToJSON(json: any): SubmittedQuizResponse; export declare function SubmittedQuizResponseToJSONTyped(value?: SubmittedQuizResponse | null, ignoreDiscriminator?: boolean): any;