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

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

export function ApiChatBroadcastPostRequestFromJSON(json: any): ApiChatBroadcastPostRequest {
    return ApiChatBroadcastPostRequestFromJSONTyped(json, false);
}

export function ApiChatBroadcastPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiChatBroadcastPostRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'nextGame': json['nextGame'],
    };
}

export function ApiChatBroadcastPostRequestToJSON(json: any): ApiChatBroadcastPostRequest {
    return ApiChatBroadcastPostRequestToJSONTyped(json, false);
}

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

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

