/* 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 PongstartPauseGame200Response
 */
export interface PongstartPauseGame200Response {
    /**
     * 
     * @type {string}
     * @memberof PongstartPauseGame200Response
     */
    kind: PongstartPauseGame200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof PongstartPauseGame200Response
     */
    msg: PongstartPauseGame200ResponseMsgEnum;
    /**
     * 
     * @type {object}
     * @memberof PongstartPauseGame200Response
     */
    payload: object;
}


/**
 * @export
 */
export const PongstartPauseGame200ResponseKindEnum = {
    Success: 'success'
} as const;
export type PongstartPauseGame200ResponseKindEnum = typeof PongstartPauseGame200ResponseKindEnum[keyof typeof PongstartPauseGame200ResponseKindEnum];

/**
 * @export
 */
export const PongstartPauseGame200ResponseMsgEnum = {
    StartPausedGameSuccess: 'startPausedGame.success'
} as const;
export type PongstartPauseGame200ResponseMsgEnum = typeof PongstartPauseGame200ResponseMsgEnum[keyof typeof PongstartPauseGame200ResponseMsgEnum];


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

export function PongstartPauseGame200ResponseFromJSON(json: any): PongstartPauseGame200Response {
    return PongstartPauseGame200ResponseFromJSONTyped(json, false);
}

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

export function PongstartPauseGame200ResponseToJSON(json: any): PongstartPauseGame200Response {
    return PongstartPauseGame200ResponseToJSONTyped(json, false);
}

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

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

