/* tslint:disable */
/* eslint-disable */
/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform. 
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { TaskSchedule } from './task-schedule';
// May contain unused imports in some cases
// @ts-ignore
import type { TaskStatus } from './task-status';

/**
 * 
 * @export
 * @interface TaskListItem
 */
export interface TaskListItem {
    /**
     * ID of the scaling task
     * @type {string}
     * @memberof TaskListItem
     */
    'taskId': string;
    /**
     * Name of the task
     * @type {string}
     * @memberof TaskListItem
     */
    'taskName': string;
    /**
     * Type of task operation
     * @type {string}
     * @memberof TaskListItem
     */
    'taskType': string;
    /**
     * Subtype of task operation.
     * @type {string}
     * @memberof TaskListItem
     */
    'subTaskType'?: string;
    /**
     * 
     * @type {TaskStatus}
     * @memberof TaskListItem
     */
    'status': TaskStatus;
    /**
     * Resource type of the task
     * @type {string}
     * @memberof TaskListItem
     */
    'resourceType'?: string;
    /**
     * Resource ID of the task
     * @type {string}
     * @memberof TaskListItem
     */
    'resourceId'?: string;
    /**
     * Resource name of the task
     * @type {string}
     * @memberof TaskListItem
     */
    'resourceName'?: string;
    /**
     * Organization name of the task
     * @type {string}
     * @memberof TaskListItem
     */
    'orgName'?: string;
    /**
     * Timestamp when the task was created
     * @type {string}
     * @memberof TaskListItem
     */
    'createdAt': string;
    /**
     * Timestamp when the task was last updated
     * @type {string}
     * @memberof TaskListItem
     */
    'updatedAt': string;
    /**
     * Timestamp when the task was deleted
     * @type {string}
     * @memberof TaskListItem
     */
    'startedAt'?: string | null;
    /**
     * Time when the task completed or failed
     * @type {string}
     * @memberof TaskListItem
     */
    'completionTime'?: string | null;
    /**
     * Detailed message about the task status
     * @type {string}
     * @memberof TaskListItem
     */
    'message'?: string | null;
    /**
     * Progress percentage of the task
     * @type {number}
     * @memberof TaskListItem
     */
    'progress'?: number;
    /**
     * The user created the task
     * @type {string}
     * @memberof TaskListItem
     */
    'operator'?: string | null;
    /**
     * 
     * @type {TaskSchedule}
     * @memberof TaskListItem
     */
    'scheduled'?: TaskSchedule;
}



