/* tslint:disable */
/* eslint-disable */
/**
 * 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.
 */
/**
 * Check if a given object implements the MultichoiceAnswer interface.
 */
export function instanceOfMultichoiceAnswer(value) {
    return true;
}
export function MultichoiceAnswerFromJSON(json) {
    return MultichoiceAnswerFromJSONTyped(json, false);
}
export function MultichoiceAnswerFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'answerIndex': json['answerIndex'] == null ? undefined : json['answerIndex'],
        'prompt': json['prompt'] == null ? undefined : json['prompt'],
        'isCorrect': json['isCorrect'] == null ? undefined : json['isCorrect'],
    };
}
export function MultichoiceAnswerToJSON(json) {
    return MultichoiceAnswerToJSONTyped(json, false);
}
export function MultichoiceAnswerToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'answerIndex': value['answerIndex'],
        'prompt': value['prompt'],
        'isCorrect': value['isCorrect'],
    };
}
//# sourceMappingURL=MultichoiceAnswer.js.map