/** * 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 { RoomAllocation } from './RoomAllocation'; import type { RoomStatus } from './RoomStatus'; /** * From T, pick a set of properties whose keys are in the union K * @export * @interface PickRoomExcludeKeyofRoomAllocations */ export interface PickRoomExcludeKeyofRoomAllocations { /** * System generated unique identifier for an application. * @type {string} * @memberof PickRoomExcludeKeyofRoomAllocations */ appId: 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 PickRoomExcludeKeyofRoomAllocations */ roomId: string; /** * Optional configuration parameters for the room. Can be any string including stringified JSON. It is accessible from the room via [`GetRoomInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetRoomInfo). * @type {string} * @memberof PickRoomExcludeKeyofRoomAllocations */ roomConfig: string | null; /** * * @type {RoomStatus} * @memberof PickRoomExcludeKeyofRoomAllocations */ status: RoomStatus; /** * * @type {RoomAllocation} * @memberof PickRoomExcludeKeyofRoomAllocations */ currentAllocation: RoomAllocation | null; } /** * Check if a given object implements the PickRoomExcludeKeyofRoomAllocations interface. */ export declare function instanceOfPickRoomExcludeKeyofRoomAllocations(value: object): boolean; export declare function PickRoomExcludeKeyofRoomAllocationsFromJSON(json: any): PickRoomExcludeKeyofRoomAllocations; export declare function PickRoomExcludeKeyofRoomAllocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickRoomExcludeKeyofRoomAllocations; export declare function PickRoomExcludeKeyofRoomAllocationsToJSON(value?: PickRoomExcludeKeyofRoomAllocations | null): any;