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

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

export function PongstartPauseGameRequestFromJSON(json: any): PongstartPauseGameRequest {
    return PongstartPauseGameRequestFromJSONTyped(json, false);
}

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

export function PongstartPauseGameRequestToJSON(json: any): PongstartPauseGameRequest {
    return PongstartPauseGameRequestToJSONTyped(json, false);
}

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

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

