/* 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 { EventResourceType } from './event-resource-type'; // May contain unused imports in some cases // @ts-ignore import type { EventResultStatus } from './event-result-status'; // May contain unused imports in some cases // @ts-ignore import type { EventSource } from './event-source'; // May contain unused imports in some cases // @ts-ignore import type { LocalizedDescription } from './localized-description'; /** * event is the information of operation event * @export * @interface Event */ export interface Event { /** * ID of the event * @type {string} * @memberof Event */ 'id'?: string; /** * ID of the resource * @type {string} * @memberof Event */ 'resourceId'?: string; /** * * @type {EventResourceType} * @memberof Event */ 'resourceType'?: EventResourceType; /** * * @type {LocalizedDescription} * @memberof Event */ 'resourceTypeDescription'?: LocalizedDescription; /** * Name of the resource * @type {string} * @memberof Event */ 'resourceName'?: string; /** * operator of the event, if source is user, operator is user name; if source is system, operator is system name * @type {string} * @memberof Event */ 'operator'?: string; /** * The user ID of the operator * @type {string} * @memberof Event */ 'operatorId'?: string; /** * Details will include the extra event info, such as update cluster which field, OpsRequest content etc * @type {string} * @memberof Event */ 'details'?: string; /** * hasTask is true if the event has a task * @type {boolean} * @memberof Event */ 'hasTask'?: boolean; /** * result of the operation event * @type {string} * @memberof Event */ 'result'?: string; /** * Event name is OpsRequest name or cluster operation name * @type {string} * @memberof Event */ 'eventName'?: string; /** * Display name is custom operation name * @type {string} * @memberof Event */ 'displayName'?: string; /** * The org of the event * @type {string} * @memberof Event */ 'orgName'?: string; /** * * @type {EventResultStatus} * @memberof Event */ 'resultStatus'?: EventResultStatus; /** * * @type {EventSource} * @memberof Event */ 'source'?: EventSource; /** * event end time * @type {string} * @memberof Event */ 'end'?: string; /** * event start time * @type {string} * @memberof Event */ 'start'?: string; /** * event created time * @type {string} * @memberof Event */ 'createdAt'?: string; }