/* 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'; /** * * @export * @interface DeploymentEnvInner */ export interface DeploymentEnvInner { /** * * @type {string} * @memberof DeploymentEnvInner */ value: string; /** * * @type {string} * @memberof DeploymentEnvInner */ name: string; } /** * Check if a given object implements the DeploymentEnvInner interface. */ export function instanceOfDeploymentEnvInner(value: object): boolean { let isInstance = true; isInstance = isInstance && "value" in value; isInstance = isInstance && "name" in value; return isInstance; } export function DeploymentEnvInnerFromJSON(json: any): DeploymentEnvInner { return DeploymentEnvInnerFromJSONTyped(json, false); } export function DeploymentEnvInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentEnvInner { if ((json === undefined) || (json === null)) { return json; } return { 'value': json['value'], 'name': json['name'], }; } export function DeploymentEnvInnerToJSON(value?: DeploymentEnvInner | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'value': value.value, 'name': value.name, }; }