/* 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 DisableOtp200Response
 */
export interface DisableOtp200Response {
    /**
     * 
     * @type {string}
     * @memberof DisableOtp200Response
     */
    kind: DisableOtp200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof DisableOtp200Response
     */
    msg: DisableOtp200ResponseMsgEnum;
}


/**
 * @export
 */
export const DisableOtp200ResponseKindEnum = {
    Success: 'success'
} as const;
export type DisableOtp200ResponseKindEnum = typeof DisableOtp200ResponseKindEnum[keyof typeof DisableOtp200ResponseKindEnum];

/**
 * @export
 */
export const DisableOtp200ResponseMsgEnum = {
    DisableOtpSuccess: 'disableOtp.success'
} as const;
export type DisableOtp200ResponseMsgEnum = typeof DisableOtp200ResponseMsgEnum[keyof typeof DisableOtp200ResponseMsgEnum];


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

export function DisableOtp200ResponseFromJSON(json: any): DisableOtp200Response {
    return DisableOtp200ResponseFromJSONTyped(json, false);
}

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

export function DisableOtp200ResponseToJSON(json: any): DisableOtp200Response {
    return DisableOtp200ResponseToJSONTyped(json, false);
}

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

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

