/* 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 PongCreatePauseGame404Response
 */
export interface PongCreatePauseGame404Response {
    /**
     * 
     * @type {string}
     * @memberof PongCreatePauseGame404Response
     */
    kind: PongCreatePauseGame404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof PongCreatePauseGame404Response
     */
    msg: PongCreatePauseGame404ResponseMsgEnum;
}


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

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


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

export function PongCreatePauseGame404ResponseFromJSON(json: any): PongCreatePauseGame404Response {
    return PongCreatePauseGame404ResponseFromJSONTyped(json, false);
}

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

export function PongCreatePauseGame404ResponseToJSON(json: any): PongCreatePauseGame404Response {
    return PongCreatePauseGame404ResponseToJSONTyped(json, false);
}

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

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

