/* 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 StatusOtp200ResponseAnyOf1
 */
export interface StatusOtp200ResponseAnyOf1 {
    /**
     * 
     * @type {string}
     * @memberof StatusOtp200ResponseAnyOf1
     */
    kind: StatusOtp200ResponseAnyOf1KindEnum;
    /**
     * 
     * @type {string}
     * @memberof StatusOtp200ResponseAnyOf1
     */
    msg: StatusOtp200ResponseAnyOf1MsgEnum;
}


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

/**
 * @export
 */
export const StatusOtp200ResponseAnyOf1MsgEnum = {
    StatusOtpSuccessDisabled: 'statusOtp.success.disabled'
} as const;
export type StatusOtp200ResponseAnyOf1MsgEnum = typeof StatusOtp200ResponseAnyOf1MsgEnum[keyof typeof StatusOtp200ResponseAnyOf1MsgEnum];


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

export function StatusOtp200ResponseAnyOf1FromJSON(json: any): StatusOtp200ResponseAnyOf1 {
    return StatusOtp200ResponseAnyOf1FromJSONTyped(json, false);
}

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

export function StatusOtp200ResponseAnyOf1ToJSON(json: any): StatusOtp200ResponseAnyOf1 {
    return StatusOtp200ResponseAnyOf1ToJSONTyped(json, false);
}

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

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

