/** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.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 type { ExposedPort } from './ExposedPort'; /** * * @export * @interface CreateRoomResponse */ export interface CreateRoomResponse { /** * * @type {Array} * @memberof CreateRoomResponse */ additionalExposedPorts: Array; /** * * @type {ExposedPort} * @memberof CreateRoomResponse */ exposedPort?: ExposedPort; /** * `exposedPort` will only be available when the `status` of a room is "active". * @type {string} * @memberof CreateRoomResponse */ status: CreateRoomResponseStatusEnum; /** * Unique identifier to a game session or match. Use the default system generated ID or overwrite it with your own. * Note: error will be returned if `roomId` is not globally unique. * @type {string} * @memberof CreateRoomResponse */ roomId: string; /** * System generated unique identifier to a runtime instance of your game server. * @type {string} * @memberof CreateRoomResponse */ processId: string; } /** * @export */ export declare const CreateRoomResponseStatusEnum: { readonly Starting: "starting"; readonly Active: "active"; }; export type CreateRoomResponseStatusEnum = typeof CreateRoomResponseStatusEnum[keyof typeof CreateRoomResponseStatusEnum]; /** * Check if a given object implements the CreateRoomResponse interface. */ export declare function instanceOfCreateRoomResponse(value: object): boolean; export declare function CreateRoomResponseFromJSON(json: any): CreateRoomResponse; export declare function CreateRoomResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRoomResponse; export declare function CreateRoomResponseToJSON(value?: CreateRoomResponse | null): any;