/** * 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 { Build } from './Build'; import type { ContainerPort } from './ContainerPort'; import type { DeploymentV2EnvInner } from './DeploymentV2EnvInner'; /** * * @export * @interface ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ export interface ApplicationWithLatestDeploymentAndBuildAllOfDeployment { /** * Option to shut down processes that have had no new connections or rooms * for five minutes. * @type {boolean} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ idleTimeoutEnabled: boolean; /** * The environment variable that our process will have access to at runtime. * @type {Array} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ env: Array; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. * @type {number} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ roomsPerProcess: number; /** * Additional ports your server listens on. * @type {Array} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ additionalContainerPorts: Array; /** * * @type {ContainerPort} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ defaultContainerPort: ContainerPort; /** * When the deployment was created. * @type {Date} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ createdAt: Date; /** * UserId or email address for the user that created the deployment. * @type {string} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ createdBy: string; /** * The amount of memory allocated to your process. * @type {number} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ requestedMemoryMB: number; /** * The number of cores allocated to your process. * @type {number} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ requestedCPU: number; /** * System generated id for a deployment. Increments by 1. * @type {number} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ deploymentId: number; /** * System generated id for a build. Increments by 1. * @type {number} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ buildId: number; /** * System generated unique identifier for an application. * @type {string} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ appId: string; /** * * @type {Build} * @memberof ApplicationWithLatestDeploymentAndBuildAllOfDeployment */ build: Build; } /** * Check if a given object implements the ApplicationWithLatestDeploymentAndBuildAllOfDeployment interface. */ export declare function instanceOfApplicationWithLatestDeploymentAndBuildAllOfDeployment(value: object): boolean; export declare function ApplicationWithLatestDeploymentAndBuildAllOfDeploymentFromJSON(json: any): ApplicationWithLatestDeploymentAndBuildAllOfDeployment; export declare function ApplicationWithLatestDeploymentAndBuildAllOfDeploymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationWithLatestDeploymentAndBuildAllOfDeployment; export declare function ApplicationWithLatestDeploymentAndBuildAllOfDeploymentToJSON(value?: ApplicationWithLatestDeploymentAndBuildAllOfDeployment | null): any;