/* 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 PongCreatePauseGame200ResponsePayload
 */
export interface PongCreatePauseGame200ResponsePayload {
    /**
     * gameId
     * @type {string}
     * @memberof PongCreatePauseGame200ResponsePayload
     */
    gameId: string;
}

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

export function PongCreatePauseGame200ResponsePayloadFromJSON(json: any): PongCreatePauseGame200ResponsePayload {
    return PongCreatePauseGame200ResponsePayloadFromJSONTyped(json, false);
}

export function PongCreatePauseGame200ResponsePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): PongCreatePauseGame200ResponsePayload {
    if (json == null) {
        return json;
    }
    return {
        
        'gameId': json['gameId'],
    };
}

export function PongCreatePauseGame200ResponsePayloadToJSON(json: any): PongCreatePauseGame200ResponsePayload {
    return PongCreatePauseGame200ResponsePayloadToJSONTyped(json, false);
}

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

    return {
        
        'gameId': value['gameId'],
    };
}

