@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
31 lines • 1.05 kB
TypeScript
import { TaskFunctionEnum } from '../TaskFunctionEnum';
import { TaskStatusEnum } from '../TaskStatusEnum';
import { SafeKeyValueCanBeNullString } from '../../complexType/SafeKeyValueCanBeNullString';
/** Server tasks */
export interface Task {
/** Details of this task */
comment?: string;
/** Completion date */
doneDate?: string;
/** Function name */
function: TaskFunctionEnum;
/** last update */
lastUpdate?: string;
/** Whether this task need to be scheduled or not */
needSchedule: boolean;
/** Extra information about this task */
note?: string;
/** ID of the planned intervention for this task */
plannedInterventionId?: number;
/** Task Creation date */
startDate: string;
/** Task status */
status: TaskStatusEnum;
/** Task result tags output */
tags?: SafeKeyValueCanBeNullString[];
/** the id of the task */
taskId: number;
/** Reference of the thread on the support tool */
ticketReference?: string;
}
//# sourceMappingURL=Task.d.ts.map