/* 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 CreatePauseGame404Response
 */
export interface CreatePauseGame404Response {
    /**
     * 
     * @type {string}
     * @memberof CreatePauseGame404Response
     */
    kind: CreatePauseGame404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof CreatePauseGame404Response
     */
    msg: CreatePauseGame404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const CreatePauseGame404ResponseMsgEnum = {
    CreatePausedGameGenericFail: 'createPausedGame.generic.fail'
} as const;
export type CreatePauseGame404ResponseMsgEnum = typeof CreatePauseGame404ResponseMsgEnum[keyof typeof CreatePauseGame404ResponseMsgEnum];


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

export function CreatePauseGame404ResponseFromJSON(json: any): CreatePauseGame404Response {
    return CreatePauseGame404ResponseFromJSONTyped(json, false);
}

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

export function CreatePauseGame404ResponseToJSON(json: any): CreatePauseGame404Response {
    return CreatePauseGame404ResponseToJSONTyped(json, false);
}

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

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

