/** * 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'; /** * A question whose response is an (unconstrained) text string * @export * @interface TextFieldQuestion */ export interface TextFieldQuestion { /** * an index unique in the Quiz, used to refer to this question * @type {number} * @memberof TextFieldQuestion */ questionIndex?: number; /** * An optional, user-readable prompt * @type {string} * @memberof TextFieldQuestion */ prompt?: string; /** * * @type {WikiPageKey} * @memberof TextFieldQuestion */ reference?: WikiPageKey; /** * Link to the document that contains information for background reading related to the question. * @type {string} * @memberof TextFieldQuestion */ docLink?: string; /** * A short text that provides a snippet of help to answer the question. * @type {string} * @memberof TextFieldQuestion */ helpText?: string; /** * * @type {string} * @memberof TextFieldQuestion */ concreteType: TextFieldQuestionConcreteTypeEnum; /** * The correct answer for this question * @type {string} * @memberof TextFieldQuestion */ answer?: string; } /** * @export */ export declare const TextFieldQuestionConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_quiz_TextFieldQuestion: "org.sagebionetworks.repo.model.quiz.TextFieldQuestion"; }; export type TextFieldQuestionConcreteTypeEnum = typeof TextFieldQuestionConcreteTypeEnum[keyof typeof TextFieldQuestionConcreteTypeEnum]; /** * Check if a given object implements the TextFieldQuestion interface. */ export declare function instanceOfTextFieldQuestion(value: object): value is TextFieldQuestion; export declare function TextFieldQuestionFromJSON(json: any): TextFieldQuestion; export declare function TextFieldQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): TextFieldQuestion; export declare function TextFieldQuestionToJSON(json: any): TextFieldQuestion; export declare function TextFieldQuestionToJSONTyped(value?: TextFieldQuestion | null, ignoreDiscriminator?: boolean): any;