/** * 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 QuizResponse */ export interface QuizResponse { /** * * @type {string} * @memberof QuizResponse */ id: string; /** * * @type {string} * @memberof QuizResponse */ sessionId: string; /** * * @type {string} * @memberof QuizResponse */ questionId: string; /** * * @type {string} * @memberof QuizResponse */ userAnswer: string; /** * * @type {boolean} * @memberof QuizResponse */ isCorrect: boolean | null; /** * * @type {string} * @memberof QuizResponse */ rating: QuizResponseRatingEnum | null; /** * * @type {string} * @memberof QuizResponse */ grade: QuizResponseGradeEnum | null; /** * * @type {string} * @memberof QuizResponse */ feedback: string | null; /** * * @type {Date} * @memberof QuizResponse */ createdAt: Date; /** * Whether a learning moment was created from this response * @type {boolean} * @memberof QuizResponse */ learningMomentCreated: boolean; } /** * @export */ export declare const QuizResponseRatingEnum: { readonly WasRight: "was-right"; readonly NeedPractice: "need-practice"; }; export type QuizResponseRatingEnum = typeof QuizResponseRatingEnum[keyof typeof QuizResponseRatingEnum]; /** * @export */ export declare const QuizResponseGradeEnum: { readonly Correct: "correct"; readonly Almost: "almost"; readonly Incorrect: "incorrect"; }; export type QuizResponseGradeEnum = typeof QuizResponseGradeEnum[keyof typeof QuizResponseGradeEnum]; /** * Check if a given object implements the QuizResponse interface. */ export declare function instanceOfQuizResponse(value: object): value is QuizResponse; export declare function QuizResponseFromJSON(json: any): QuizResponse; export declare function QuizResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuizResponse; export declare function QuizResponseToJSON(json: any): QuizResponse; export declare function QuizResponseToJSONTyped(value?: QuizResponse | null, ignoreDiscriminator?: boolean): any;