/* 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 { ConfigSpecOption } from './config-spec-option';
// May contain unused imports in some cases
// @ts-ignore
import type { InitOptionObject } from './init-option-object';
// May contain unused imports in some cases
// @ts-ignore
import type { ParameterOptionRef } from './parameter-option-ref';
// May contain unused imports in some cases
// @ts-ignore
import type { ParameterTemplate } from './parameter-template';

/**
 * 
 * @export
 * @interface ParameterOption
 */
export interface ParameterOption {
    /**
     * component type
     * @type {string}
     * @memberof ParameterOption
     */
    'component': string;
    /**
     * 
     * @type {ParameterOptionRef}
     * @memberof ParameterOption
     */
    'referenceEngine'?: ParameterOptionRef;
    /**
     * If set to true, the current parameters of the component can be exported and saved as a parameter template.
     * @type {boolean}
     * @memberof ParameterOption
     */
    'exportTpl'?: boolean;
    /**
     * If set to true, the parameter templates of the component can be used. Mainly used by frontend.
     * @type {boolean}
     * @memberof ParameterOption
     */
    'enableTemplate'?: boolean;
    /**
     * If set to true, the component can display the raw content of the parameter configuration file.
     * @type {boolean}
     * @memberof ParameterOption
     */
    'enableRawContent'?: boolean;
    /**
     * all parameter configuration specs of this component
     * @type {Array<ConfigSpecOption>}
     * @memberof ParameterOption
     */
    'configSpecs'?: Array<ConfigSpecOption>;
    /**
     * 
     * @type {boolean}
     * @memberof ParameterOption
     */
    'disableHA'?: boolean;
    /**
     * parameter templates, including default parameter templates for different major versions or default parameter templates for different purposes.
     * @type {Array<ParameterTemplate>}
     * @memberof ParameterOption
     */
    'templates'?: Array<ParameterTemplate>;
    /**
     * Parameters to be initialized when cluster is created
     * @type {{ [key: string]: InitOptionObject; }}
     * @memberof ParameterOption
     */
    'initOptions'?: { [key: string]: InitOptionObject; };
}

