/* 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 ReqCreateTaskExecution */ export interface ReqCreateTaskExecution { /** * * @type {string} * @memberof ReqCreateTaskExecution */ task_id: string; /** * * @type {string} * @memberof ReqCreateTaskExecution */ started_at?: string; /** * * @type {string} * @memberof ReqCreateTaskExecution */ last_modified?: string; /** * * @type {string} * @memberof ReqCreateTaskExecution */ uuid: string; } export function ReqCreateTaskExecutionFromJSON(json: any): ReqCreateTaskExecution { return ReqCreateTaskExecutionFromJSONTyped(json, false); } export function ReqCreateTaskExecutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqCreateTaskExecution { if ((json === undefined) || (json === null)) { return json; } return { 'task_id': json['task_id'], 'started_at': !exists(json, 'started_at') ? undefined : json['started_at'], 'last_modified': !exists(json, 'last_modified') ? undefined : json['last_modified'], 'uuid': json['uuid'], }; } export function ReqCreateTaskExecutionToJSON(value?: ReqCreateTaskExecution | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'task_id': value.task_id, 'started_at': value.started_at, 'last_modified': value.last_modified, 'uuid': value.uuid, }; }