/** * 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'; /** * * @export * @interface ActiveConnectionInfo */ export interface ActiveConnectionInfo { /** * * @type {string} * @memberof ActiveConnectionInfo */ status: ActiveConnectionInfoStatusEnum; /** * * @type {TransportType} * @memberof ActiveConnectionInfo */ transportType: TransportType; /** * * @type {number} * @memberof ActiveConnectionInfo */ port: number; /** * * @type {string} * @memberof ActiveConnectionInfo */ host: string; /** * 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 ActiveConnectionInfo */ roomId: string; } /** * @export */ export declare const ActiveConnectionInfoStatusEnum: { readonly Active: "active"; }; export type ActiveConnectionInfoStatusEnum = typeof ActiveConnectionInfoStatusEnum[keyof typeof ActiveConnectionInfoStatusEnum]; /** * Check if a given object implements the ActiveConnectionInfo interface. */ export declare function instanceOfActiveConnectionInfo(value: object): boolean; export declare function ActiveConnectionInfoFromJSON(json: any): ActiveConnectionInfo; export declare function ActiveConnectionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveConnectionInfo; export declare function ActiveConnectionInfoToJSON(value?: ActiveConnectionInfo | null): any;