/* 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'; import { Value, ValueFromJSON, ValueFromJSONTyped, ValueToJSON, ValueFrom, ValueFromFromJSON, ValueFromFromJSONTyped, ValueFromToJSON, } from './'; /** * * @export * @interface SpecWithValueAllOf */ export interface SpecWithValueAllOf { /** * * @type {Value} * @memberof SpecWithValueAllOf */ value?: Value; /** * * @type {ValueFrom} * @memberof SpecWithValueAllOf */ value_from?: ValueFrom; } export function SpecWithValueAllOfFromJSON(json: any): SpecWithValueAllOf { return SpecWithValueAllOfFromJSONTyped(json, false); } export function SpecWithValueAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpecWithValueAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'value': !exists(json, 'value') ? undefined : ValueFromJSON(json['value']), 'value_from': !exists(json, 'value_from') ? undefined : ValueFromFromJSON(json['value_from']), }; } export function SpecWithValueAllOfToJSON(value?: SpecWithValueAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'value': ValueToJSON(value.value), 'value_from': ValueFromToJSON(value.value_from), }; }