/* tslint:disable */ /* eslint-disable */ /** * Abaco API * Abaco (Actor Based Containers) is an API and distributed computing platform funded by the National Science Foundation to provide Functions-as-a-service to the research computing community. Abaco leverages Docker containers and the Actor Model of Concurrent Computation to provide generic function primitives that are portable, composable and scalable. * * The version of the OpenAPI document: 1 * 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 ExecutionSummary */ export interface ExecutionSummary { /** * the time the execution finished. * @type {string} * @memberof ExecutionSummary */ finish_time?: string; /** * the id of the executions * @type {string} * @memberof ExecutionSummary */ id?: string; /** * the time the execution started. * @type {string} * @memberof ExecutionSummary */ start_time?: string; /** * the status of the execution. * @type {string} * @memberof ExecutionSummary */ status?: ExecutionSummaryStatusEnum; /** * the time the message was originally received by Abaco. * @type {string} * @memberof ExecutionSummary */ message_received_time?: string; } /** * @export * @enum {string} */ export enum ExecutionSummaryStatusEnum { Submitted = 'SUBMITTED', Running = 'RUNNING', Complete = 'COMPLETE' } export function ExecutionSummaryFromJSON(json: any): ExecutionSummary { return ExecutionSummaryFromJSONTyped(json, false); } export function ExecutionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSummary { if ((json === undefined) || (json === null)) { return json; } return { 'finish_time': !exists(json, 'finish_time') ? undefined : json['finish_time'], 'id': !exists(json, 'id') ? undefined : json['id'], 'start_time': !exists(json, 'start_time') ? undefined : json['start_time'], 'status': !exists(json, 'status') ? undefined : json['status'], 'message_received_time': !exists(json, 'message_received_time') ? undefined : json['message_received_time'], }; } export function ExecutionSummaryToJSON(value?: ExecutionSummary | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'finish_time': value.finish_time, 'id': value.id, 'start_time': value.start_time, 'status': value.status, 'message_received_time': value.message_received_time, }; }