/** * ELEMENTS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ElementsUserMini, StorageNodeMini, Subtask, TaskProgress, Workstation } from './'; /** * * @export * @interface TaskInfo */ export interface TaskInfo { /** * * @type {string} * @memberof TaskInfo */ id: string; /** * * @type {string} * @memberof TaskInfo */ readonly displayName: string; /** * * @type {{ [key: string]: string | undefined; }} * @memberof TaskInfo */ kwargs: { [key: string]: string | undefined; }; /** * * @type {Subtask} * @memberof TaskInfo */ subtask?: Subtask | null; /** * * @type {StorageNodeMini} * @memberof TaskInfo */ worker?: StorageNodeMini | null; /** * * @type {ElementsUserMini} * @memberof TaskInfo */ user?: ElementsUserMini; /** * * @type {Workstation} * @memberof TaskInfo */ workstation?: Workstation; /** * * @type {TaskProgress} * @memberof TaskInfo */ progress: TaskProgress; /** * * @type {string} * @memberof TaskInfo */ readonly logPath: string; /** * * @type {Date} * @memberof TaskInfo */ readonly finished?: Date | null; /** * * @type {string} * @memberof TaskInfo */ name?: string | null; /** * * @type {string} * @memberof TaskInfo */ taskName?: string | null; /** * * @type {string} * @memberof TaskInfo */ workerName?: string | null; /** * * @type {string} * @memberof TaskInfo */ queue?: string | null; /** * * @type {number} * @memberof TaskInfo */ state?: TaskInfoStateEnum; /** * * @type {string} * @memberof TaskInfo */ stateText?: string | null; /** * * @type {string} * @memberof TaskInfo */ jobInstance?: string | null; /** * * @type {Date} * @memberof TaskInfo */ readonly started: Date; /** * * @type {string} * @memberof TaskInfo */ exception?: string | null; /** * * @type {string} * @memberof TaskInfo */ traceback?: string | null; /** * * @type {number} * @memberof TaskInfo */ schedule?: number | null; } /** * @export * @enum {string} */ export declare enum TaskInfoStateEnum { NUMBER_0 = 0, NUMBER_1 = 1, NUMBER_2 = 2, NUMBER_3 = 3, NUMBER_4 = 4, NUMBER_5 = 5, NUMBER_6 = 6, NUMBER_7 = 7 } export declare function TaskInfoFromJSON(json: any): TaskInfo; export declare function TaskInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskInfo; export declare function TaskInfoToJSON(value?: TaskInfo | null): any;