/** * 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 Quiz */ export interface Quiz { /** * * @type {string} * @memberof Quiz */ id: string; /** * * @type {string} * @memberof Quiz */ accountUserId: string; /** * * @type {string} * @memberof Quiz */ chatId: string | null; /** * * @type {string} * @memberof Quiz */ title: string; /** * * @type {string} * @memberof Quiz */ topic: string; /** * * @type {string} * @memberof Quiz */ mode: QuizModeEnum; /** * * @type {Date} * @memberof Quiz */ createdAt: Date; } /** * @export */ export declare const QuizModeEnum: { readonly Quiz: "quiz"; readonly Flashcards: "flashcards"; }; export type QuizModeEnum = typeof QuizModeEnum[keyof typeof QuizModeEnum]; /** * Check if a given object implements the Quiz interface. */ export declare function instanceOfQuiz(value: object): value is Quiz; export declare function QuizFromJSON(json: any): Quiz; export declare function QuizFromJSONTyped(json: any, ignoreDiscriminator: boolean): Quiz; export declare function QuizToJSON(json: any): Quiz; export declare function QuizToJSONTyped(value?: Quiz | null, ignoreDiscriminator?: boolean): any;