66 lines
1.8 KiB
TypeScript
66 lines
1.8 KiB
TypeScript
/* 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 CreatePauseGame200ResponsePayload
|
|
*/
|
|
export interface CreatePauseGame200ResponsePayload {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof CreatePauseGame200ResponsePayload
|
|
*/
|
|
gameId: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the CreatePauseGame200ResponsePayload interface.
|
|
*/
|
|
export function instanceOfCreatePauseGame200ResponsePayload(value: object): value is CreatePauseGame200ResponsePayload {
|
|
if (!('gameId' in value) || value['gameId'] === undefined) return false;
|
|
return true;
|
|
}
|
|
|
|
export function CreatePauseGame200ResponsePayloadFromJSON(json: any): CreatePauseGame200ResponsePayload {
|
|
return CreatePauseGame200ResponsePayloadFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function CreatePauseGame200ResponsePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePauseGame200ResponsePayload {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'gameId': json['gameId'],
|
|
};
|
|
}
|
|
|
|
export function CreatePauseGame200ResponsePayloadToJSON(json: any): CreatePauseGame200ResponsePayload {
|
|
return CreatePauseGame200ResponsePayloadToJSONTyped(json, false);
|
|
}
|
|
|
|
export function CreatePauseGame200ResponsePayloadToJSONTyped(value?: CreatePauseGame200ResponsePayload | null, ignoreDiscriminator: boolean = false): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
|
|
'gameId': value['gameId'],
|
|
};
|
|
}
|
|
|