/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { WikiPageKey } from './WikiPageKey'; import type { MultichoiceAnswer } from './MultichoiceAnswer'; /** * A multiple choice question * @export * @interface MultichoiceQuestion */ export interface MultichoiceQuestion { /** * an index unique in the Quiz, used to refer to this question * @type {number} * @memberof MultichoiceQuestion */ questionIndex?: number; /** * the user-readable prompt for this question * @type {string} * @memberof MultichoiceQuestion */ prompt?: string; /** * * @type {WikiPageKey} * @memberof MultichoiceQuestion */ reference?: WikiPageKey; /** * Link to the document that contains information for background reading related to the question. * @type {string} * @memberof MultichoiceQuestion */ docLink?: string; /** * A short text that provides a snippet of help to answer the question. * @type {string} * @memberof MultichoiceQuestion */ helpText?: string; /** * * @type {string} * @memberof MultichoiceQuestion */ concreteType: MultichoiceQuestionConcreteTypeEnum; /** * If true then only one response is correct * @type {boolean} * @memberof MultichoiceQuestion */ exclusive?: boolean; /** * The possible answers for this question * @type {Array} * @memberof MultichoiceQuestion */ answers?: Array; } /** * @export */ export declare const MultichoiceQuestionConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_quiz_MultichoiceQuestion: "org.sagebionetworks.repo.model.quiz.MultichoiceQuestion"; }; export type MultichoiceQuestionConcreteTypeEnum = typeof MultichoiceQuestionConcreteTypeEnum[keyof typeof MultichoiceQuestionConcreteTypeEnum]; /** * Check if a given object implements the MultichoiceQuestion interface. */ export declare function instanceOfMultichoiceQuestion(value: object): value is MultichoiceQuestion; export declare function MultichoiceQuestionFromJSON(json: any): MultichoiceQuestion; export declare function MultichoiceQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultichoiceQuestion; export declare function MultichoiceQuestionToJSON(json: any): MultichoiceQuestion; export declare function MultichoiceQuestionToJSONTyped(value?: MultichoiceQuestion | null, ignoreDiscriminator?: boolean): any;