/* 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 ReqPatchTaskExecution */ export interface ReqPatchTaskExecution { /** * * @type {string} * @memberof ReqPatchTaskExecution */ last_message?: string; /** * * @type {string} * @memberof ReqPatchTaskExecution */ stdout?: string; /** * * @type {string} * @memberof ReqPatchTaskExecution */ stderr?: string; } export function ReqPatchTaskExecutionFromJSON(json: any): ReqPatchTaskExecution { return ReqPatchTaskExecutionFromJSONTyped(json, false); } export function ReqPatchTaskExecutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqPatchTaskExecution { if ((json === undefined) || (json === null)) { return json; } return { 'last_message': !exists(json, 'last_message') ? undefined : json['last_message'], 'stdout': !exists(json, 'stdout') ? undefined : json['stdout'], 'stderr': !exists(json, 'stderr') ? undefined : json['stderr'], }; } export function ReqPatchTaskExecutionToJSON(value?: ReqPatchTaskExecution | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'last_message': value.last_message, 'stdout': value.stdout, 'stderr': value.stderr, }; }