/* tslint:disable */
/* eslint-disable */
/**
 * @fastify/swagger
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 9.6.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface DisableOtp500Response
 */
export interface DisableOtp500Response {
    /**
     * 
     * @type {string}
     * @memberof DisableOtp500Response
     */
    kind: DisableOtp500ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof DisableOtp500Response
     */
    msg: DisableOtp500ResponseMsgEnum;
}


/**
 * @export
 */
export const DisableOtp500ResponseKindEnum = {
    Failure: 'failure'
} as const;
export type DisableOtp500ResponseKindEnum = typeof DisableOtp500ResponseKindEnum[keyof typeof DisableOtp500ResponseKindEnum];

/**
 * @export
 */
export const DisableOtp500ResponseMsgEnum = {
    DisableOtpFailureGeneric: 'disableOtp.failure.generic'
} as const;
export type DisableOtp500ResponseMsgEnum = typeof DisableOtp500ResponseMsgEnum[keyof typeof DisableOtp500ResponseMsgEnum];


/**
 * Check if a given object implements the DisableOtp500Response interface.
 */
export function instanceOfDisableOtp500Response(value: object): value is DisableOtp500Response {
    if (!('kind' in value) || value['kind'] === undefined) return false;
    if (!('msg' in value) || value['msg'] === undefined) return false;
    return true;
}

export function DisableOtp500ResponseFromJSON(json: any): DisableOtp500Response {
    return DisableOtp500ResponseFromJSONTyped(json, false);
}

export function DisableOtp500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisableOtp500Response {
    if (json == null) {
        return json;
    }
    return {
        
        'kind': json['kind'],
        'msg': json['msg'],
    };
}

export function DisableOtp500ResponseToJSON(json: any): DisableOtp500Response {
    return DisableOtp500ResponseToJSONTyped(json, false);
}

export function DisableOtp500ResponseToJSONTyped(value?: DisableOtp500Response | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'kind': value['kind'],
        'msg': value['msg'],
    };
}

