/* 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 { EnumTaskFlavor, EnumTaskFlavorFromJSON, EnumTaskFlavorFromJSONTyped, EnumTaskFlavorToJSON, } from './'; /** * * @export * @interface TaskExecutionProfileAllOf */ export interface TaskExecutionProfileAllOf { /** * * @type {EnumTaskFlavor} * @memberof TaskExecutionProfileAllOf */ flavor?: EnumTaskFlavor; } export function TaskExecutionProfileAllOfFromJSON(json: any): TaskExecutionProfileAllOf { return TaskExecutionProfileAllOfFromJSONTyped(json, false); } export function TaskExecutionProfileAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskExecutionProfileAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'flavor': !exists(json, 'flavor') ? undefined : EnumTaskFlavorFromJSON(json['flavor']), }; } export function TaskExecutionProfileAllOfToJSON(value?: TaskExecutionProfileAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'flavor': EnumTaskFlavorToJSON(value.flavor), }; }