/* 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 TttHistory404Response
 */
export interface TttHistory404Response {
    /**
     * 
     * @type {string}
     * @memberof TttHistory404Response
     */
    kind: TttHistory404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof TttHistory404Response
     */
    msg: TttHistory404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const TttHistory404ResponseMsgEnum = {
    TtthistoryFailureNotfound: 'ttthistory.failure.notfound'
} as const;
export type TttHistory404ResponseMsgEnum = typeof TttHistory404ResponseMsgEnum[keyof typeof TttHistory404ResponseMsgEnum];


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

export function TttHistory404ResponseFromJSON(json: any): TttHistory404Response {
    return TttHistory404ResponseFromJSONTyped(json, false);
}

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

export function TttHistory404ResponseToJSON(json: any): TttHistory404Response {
    return TttHistory404ResponseToJSONTyped(json, false);
}

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

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

