/** * 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'; import type { RoomReadyStatus } from './RoomReadyStatus'; /** * Connection information for the default and additional ports. * @export * @interface ConnectionInfoV2 */ export interface ConnectionInfoV2 { /** * * @type {Array} * @memberof ConnectionInfoV2 */ additionalExposedPorts: Array; /** * * @type {ExposedPort} * @memberof ConnectionInfoV2 */ exposedPort?: ExposedPort; /** * * @type {RoomReadyStatus} * @memberof ConnectionInfoV2 */ status: RoomReadyStatus; /** * 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 ConnectionInfoV2 */ roomId: string; } /** * Check if a given object implements the ConnectionInfoV2 interface. */ export declare function instanceOfConnectionInfoV2(value: object): boolean; export declare function ConnectionInfoV2FromJSON(json: any): ConnectionInfoV2; export declare function ConnectionInfoV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionInfoV2; export declare function ConnectionInfoV2ToJSON(value?: ConnectionInfoV2 | null): any;