/* 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 { SelectedObjectOptionTreeLevelOrderInner } from './selected-object-option-tree-level-order-inner';

/**
 * 
 * @export
 * @interface SelectedObjectOptionTree
 */
export interface SelectedObjectOptionTree {
    /**
     * if set to true, the tree will switch when database is switched. This is used for database-level backup, and the root level of the tree is database. If not set or set to false, the tree will not switch when database is switched, and the root level of the tree is instance.
     * @type {boolean}
     * @memberof SelectedObjectOptionTree
     */
    'switchWithDatabase'?: boolean;
    /**
     * The SQL query to retrieve the object tree
     * @type {string}
     * @memberof SelectedObjectOptionTree
     */
    'sql': string;
    /**
     * The order of object types in the hierarchy
     * @type {Array<SelectedObjectOptionTreeLevelOrderInner>}
     * @memberof SelectedObjectOptionTree
     */
    'levelOrder': Array<SelectedObjectOptionTreeLevelOrderInner>;
}

