/* 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. */ /** * A plan defines how much CPU and memory is required to run an instance of your game server. * * `tiny`: shared core, 1gb memory * * `small`: 1 core, 2gb memory * * `medium`: 2 core, 4gb memory * * `large`: 4 core, 8gb memory * @export */ export const PlanName = { Tiny: 'tiny', Small: 'small', Medium: 'medium', Large: 'large' } as const; export type PlanName = typeof PlanName[keyof typeof PlanName]; export function PlanNameFromJSON(json: any): PlanName { return PlanNameFromJSONTyped(json, false); } export function PlanNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanName { return json as PlanName; } export function PlanNameToJSON(value?: PlanName | null): any { return value as any; }