/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * The allocation status of a room. * * `scheduling`: a process is not allocated yet and the room is waiting to be scheduled * * `active`: ready to accept connections * * `destroyed`: all associated metadata is deleted * @export */ export const RoomStatus = { Scheduling: 'scheduling', Active: 'active', Destroyed: 'destroyed' } as const; export type RoomStatus = typeof RoomStatus[keyof typeof RoomStatus]; export function RoomStatusFromJSON(json: any): RoomStatus { return RoomStatusFromJSONTyped(json, false); } export function RoomStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoomStatus { return json as RoomStatus; } export function RoomStatusToJSON(value?: RoomStatus | null): any { return value as any; }