/* 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 TournamentList404Response
 */
export interface TournamentList404Response {
    /**
     * 
     * @type {string}
     * @memberof TournamentList404Response
     */
    kind: TournamentList404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof TournamentList404Response
     */
    msg: TournamentList404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const TournamentList404ResponseMsgEnum = {
    TournamentListFailureGeneric: 'tournamentList.failure.generic'
} as const;
export type TournamentList404ResponseMsgEnum = typeof TournamentList404ResponseMsgEnum[keyof typeof TournamentList404ResponseMsgEnum];


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

export function TournamentList404ResponseFromJSON(json: any): TournamentList404Response {
    return TournamentList404ResponseFromJSONTyped(json, false);
}

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

export function TournamentList404ResponseToJSON(json: any): TournamentList404Response {
    return TournamentList404ResponseToJSONTyped(json, false);
}

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

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

