/** * 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 { ExposedPort } from './ExposedPort'; import type { ProcessStatus } from './ProcessStatus'; import type { Region } from './Region'; /** * * @export * @interface ProcessV2 */ export interface ProcessV2 { /** * * @type {ProcessStatus} * @memberof ProcessV2 */ status: ProcessStatus; /** * Tracks the number of rooms that have been allocated to the process. * @type {number} * @memberof ProcessV2 */ roomsAllocated: number; /** * When the process has been terminated. * @type {Date} * @memberof ProcessV2 */ terminatedAt: Date | null; /** * When the process is issued to stop. We use this to determine when we should stop billing. * @type {Date} * @memberof ProcessV2 */ stoppingAt: Date | null; /** * When the process bound to the specified port. We use this to determine when we should start billing. * @type {Date} * @memberof ProcessV2 */ startedAt: Date | null; /** * When the process started being provisioned. * @type {Date} * @memberof ProcessV2 */ createdAt: Date; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. * @type {number} * @memberof ProcessV2 */ roomsPerProcess: number; /** * * @type {Array} * @memberof ProcessV2 */ additionalExposedPorts: Array; /** * * @type {ExposedPort} * @memberof ProcessV2 */ exposedPort: ExposedPort | null; /** * * @type {Region} * @memberof ProcessV2 */ region: Region; /** * System generated unique identifier to a runtime instance of your game server. * @type {string} * @memberof ProcessV2 */ processId: string; /** * System generated id for a deployment. Increments by 1. * @type {number} * @memberof ProcessV2 */ deploymentId: number; /** * System generated unique identifier for an application. * @type {string} * @memberof ProcessV2 */ appId: string; } /** * Check if a given object implements the ProcessV2 interface. */ export declare function instanceOfProcessV2(value: object): boolean; export declare function ProcessV2FromJSON(json: any): ProcessV2; export declare function ProcessV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessV2; export declare function ProcessV2ToJSON(value?: ProcessV2 | null): any;