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

/**
 * BackupCreate is the payload to create a KubeBlocks cluster backup
 * @export
 * @interface BackupCreate
 */
export interface BackupCreate {
    /**
     * name of the backup, if not specified, a name will be generated automatically
     * @type {string}
     * @memberof BackupCreate
     */
    'name'?: string;
    /**
     * 
     * @type {BackupType}
     * @memberof BackupCreate
     */
    'backupType'?: BackupType;
    /**
     * specified the backup method
     * @type {string}
     * @memberof BackupCreate
     */
    'backupMethod': string;
    /**
     * component of the cluster to back up
     * @type {string}
     * @memberof BackupCreate
     */
    'component'?: string;
    /**
     * specify the retention period
     * @type {string}
     * @memberof BackupCreate
     */
    'retentionPeriod'?: string;
    /**
     * parameters for the backup
     * @type {{ [key: string]: string; }}
     * @memberof BackupCreate
     */
    'parameters'?: { [key: string]: string; };
    /**
     * selected objects for the backup
     * @type {Array<SelectiveObjectTreeNode>}
     * @memberof BackupCreate
     */
    'selectedObjects'?: Array<SelectiveObjectTreeNode>;
}



