/* 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 { RestoreStatus } from './restore-status';
// May contain unused imports in some cases
// @ts-ignore
import type { SelectiveObjectTreeNode } from './selective-object-tree-node';

/**
 * create a KubeBlocks restore API
 * @export
 * @interface Restore
 */
export interface Restore {
    /**
     * ID of the restore
     * @type {string}
     * @memberof Restore
     */
    'id'?: string;
    /**
     * organization name
     * @type {string}
     * @memberof Restore
     */
    'orgName'?: string;
    /**
     * backup name
     * @type {string}
     * @memberof Restore
     */
    'backupName': string;
    /**
     * kubeBlocks cluster name
     * @type {string}
     * @memberof Restore
     */
    'clusterName': string;
    /**
     * component name of cluster
     * @type {string}
     * @memberof Restore
     */
    'componentName'?: string;
    /**
     * target pod name
     * @type {string}
     * @memberof Restore
     */
    'targetPodName'?: string;
    /**
     * 
     * @type {string}
     * @memberof Restore
     */
    'createdAt'?: string;
    /**
     * kubeBlocks restore name
     * @type {string}
     * @memberof Restore
     */
    'name'?: string;
    /**
     * restore parameters to inject env of the restore CR.
     * @type {{ [key: string]: string; }}
     * @memberof Restore
     */
    'parameters'?: { [key: string]: string; };
    /**
     * restore time
     * @type {string}
     * @memberof Restore
     */
    'restoreTime'?: string;
    /**
     * duration of restore
     * @type {string}
     * @memberof Restore
     */
    'duration'?: string;
    /**
     * selected objects to restore
     * @type {Array<SelectiveObjectTreeNode>}
     * @memberof Restore
     */
    'selectedObjects'?: Array<SelectiveObjectTreeNode>;
    /**
     * 
     * @type {RestoreStatus}
     * @memberof Restore
     */
    'status'?: RestoreStatus;
}

