/* tslint:disable */ /* eslint-disable */ /** * Tapis Workflows API * Create and manage pipelines * * The version of the OpenAPI document: 1.6.0 * Contact: cicsupport@tacc.utexas.edu * * 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 ValueFromHost */ export interface ValueFromHost { /** * * @type {string} * @memberof ValueFromHost */ host?: string; } export function ValueFromHostFromJSON(json: any): ValueFromHost { return ValueFromHostFromJSONTyped(json, false); } export function ValueFromHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValueFromHost { if ((json === undefined) || (json === null)) { return json; } return { 'host': !exists(json, 'host') ? undefined : json['host'], }; } export function ValueFromHostToJSON(value?: ValueFromHost | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'host': value.host, }; }