/* 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 PongstartPauseGame404Response
 */
export interface PongstartPauseGame404Response {
    /**
     * 
     * @type {string}
     * @memberof PongstartPauseGame404Response
     */
    kind: PongstartPauseGame404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof PongstartPauseGame404Response
     */
    msg: PongstartPauseGame404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const PongstartPauseGame404ResponseMsgEnum = {
    StartPausedGameNoSuchGame: 'startPausedGame.no_such_game'
} as const;
export type PongstartPauseGame404ResponseMsgEnum = typeof PongstartPauseGame404ResponseMsgEnum[keyof typeof PongstartPauseGame404ResponseMsgEnum];


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

export function PongstartPauseGame404ResponseFromJSON(json: any): PongstartPauseGame404Response {
    return PongstartPauseGame404ResponseFromJSONTyped(json, false);
}

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

export function PongstartPauseGame404ResponseToJSON(json: any): PongstartPauseGame404Response {
    return PongstartPauseGame404ResponseToJSONTyped(json, false);
}

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

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

