/* 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. */ import { exists, mapValues } from '../runtime'; import type { ApplicationWithLatestDeploymentAndBuildAllOfDeployment } from './ApplicationWithLatestDeploymentAndBuildAllOfDeployment'; import { ApplicationWithLatestDeploymentAndBuildAllOfDeploymentFromJSON, ApplicationWithLatestDeploymentAndBuildAllOfDeploymentFromJSONTyped, ApplicationWithLatestDeploymentAndBuildAllOfDeploymentToJSON, } from './ApplicationWithLatestDeploymentAndBuildAllOfDeployment'; /** * * @export * @interface ApplicationWithLatestDeploymentAndBuildAllOf */ export interface ApplicationWithLatestDeploymentAndBuildAllOf { /** * * @type {ApplicationWithLatestDeploymentAndBuildAllOfDeployment} * @memberof ApplicationWithLatestDeploymentAndBuildAllOf */ deployment?: ApplicationWithLatestDeploymentAndBuildAllOfDeployment; } /** * Check if a given object implements the ApplicationWithLatestDeploymentAndBuildAllOf interface. */ export function instanceOfApplicationWithLatestDeploymentAndBuildAllOf(value: object): boolean { let isInstance = true; return isInstance; } export function ApplicationWithLatestDeploymentAndBuildAllOfFromJSON(json: any): ApplicationWithLatestDeploymentAndBuildAllOf { return ApplicationWithLatestDeploymentAndBuildAllOfFromJSONTyped(json, false); } export function ApplicationWithLatestDeploymentAndBuildAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationWithLatestDeploymentAndBuildAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'deployment': !exists(json, 'deployment') ? undefined : ApplicationWithLatestDeploymentAndBuildAllOfDeploymentFromJSON(json['deployment']), }; } export function ApplicationWithLatestDeploymentAndBuildAllOfToJSON(value?: ApplicationWithLatestDeploymentAndBuildAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'deployment': ApplicationWithLatestDeploymentAndBuildAllOfDeploymentToJSON(value.deployment), }; }