/* 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 { Uses, UsesFromJSON, UsesFromJSONTyped, UsesToJSON, } from './'; /** * * @export * @interface TemplateTaskAllOf */ export interface TemplateTaskAllOf { /** * * @type {Uses} * @memberof TemplateTaskAllOf */ uses?: Uses; } export function TemplateTaskAllOfFromJSON(json: any): TemplateTaskAllOf { return TemplateTaskAllOfFromJSONTyped(json, false); } export function TemplateTaskAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateTaskAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'uses': !exists(json, 'uses') ? undefined : UsesFromJSON(json['uses']), }; } export function TemplateTaskAllOfToJSON(value?: TemplateTaskAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'uses': UsesToJSON(value.uses), }; }