/* tslint:disable */ /* eslint-disable */ /** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * 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; }