/* 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 TournamentData404Response
 */
export interface TournamentData404Response {
    /**
     * 
     * @type {string}
     * @memberof TournamentData404Response
     */
    kind: TournamentData404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof TournamentData404Response
     */
    msg: TournamentData404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const TournamentData404ResponseMsgEnum = {
    TournamentDataFailureNotFound: 'tournamentData.failure.notFound'
} as const;
export type TournamentData404ResponseMsgEnum = typeof TournamentData404ResponseMsgEnum[keyof typeof TournamentData404ResponseMsgEnum];


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

export function TournamentData404ResponseFromJSON(json: any): TournamentData404Response {
    return TournamentData404ResponseFromJSONTyped(json, false);
}

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

export function TournamentData404ResponseToJSON(json: any): TournamentData404Response {
    return TournamentData404ResponseToJSONTyped(json, false);
}

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

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

