/* tslint:disable */ /* eslint-disable */ /** * Hathora Cloud API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 DeploymentConfigEnvInner */ export interface DeploymentConfigEnvInner { /** * * @type {string} * @memberof DeploymentConfigEnvInner */ value: string; /** * * @type {string} * @memberof DeploymentConfigEnvInner */ name: string; } /** * Check if a given object implements the DeploymentConfigEnvInner interface. */ export function instanceOfDeploymentConfigEnvInner(value: object): boolean { let isInstance = true; isInstance = isInstance && "value" in value; isInstance = isInstance && "name" in value; return isInstance; } export function DeploymentConfigEnvInnerFromJSON(json: any): DeploymentConfigEnvInner { return DeploymentConfigEnvInnerFromJSONTyped(json, false); } export function DeploymentConfigEnvInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentConfigEnvInner { if ((json === undefined) || (json === null)) { return json; } return { 'value': json['value'], 'name': json['name'], }; } export function DeploymentConfigEnvInnerToJSON(value?: DeploymentConfigEnvInner | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'value': value.value, 'name': value.name, }; }