/* 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 TapisJobTaskAllOf */ export interface TapisJobTaskAllOf { /** * * @type {boolean} * @memberof TapisJobTaskAllOf */ poll?: boolean; /** * * @type {object} * @memberof TapisJobTaskAllOf */ tapis_job_def?: object; } export function TapisJobTaskAllOfFromJSON(json: any): TapisJobTaskAllOf { return TapisJobTaskAllOfFromJSONTyped(json, false); } export function TapisJobTaskAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TapisJobTaskAllOf { if ((json === undefined) || (json === null)) { return json; } return { 'poll': !exists(json, 'poll') ? undefined : json['poll'], 'tapis_job_def': !exists(json, 'tapis_job_def') ? undefined : json['tapis_job_def'], }; } export function TapisJobTaskAllOfToJSON(value?: TapisJobTaskAllOf | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'poll': value.poll, 'tapis_job_def': value.tapis_job_def, }; }