/** * 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 { TransportType } from './TransportType'; /** * Connection information to the default port. * @export * @interface ConnectionInfo */ export interface ConnectionInfo { /** * * @type {string} * @memberof ConnectionInfo */ status: ConnectionInfoStatusEnum; /** * 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 ConnectionInfo */ roomId: string; /** * * @type {TransportType} * @memberof ConnectionInfo */ transportType: TransportType; /** * * @type {number} * @memberof ConnectionInfo */ port: number; /** * * @type {string} * @memberof ConnectionInfo */ host: string; } /** * @export */ export declare const ConnectionInfoStatusEnum: { readonly Active: "active"; }; export type ConnectionInfoStatusEnum = typeof ConnectionInfoStatusEnum[keyof typeof ConnectionInfoStatusEnum]; /** * Check if a given object implements the ConnectionInfo interface. */ export declare function instanceOfConnectionInfo(value: object): boolean; export declare function ConnectionInfoFromJSON(json: any): ConnectionInfo; export declare function ConnectionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionInfo; export declare function ConnectionInfoToJSON(value?: ConnectionInfo | null): any;