/* 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 { AccountRoleType } from './account-role-type';
// May contain unused imports in some cases
// @ts-ignore
import type { PrivilegeListItem } from './privilege-list-item';

/**
 * Cluster account information
 * @export
 * @interface Account
 */
export interface Account {
    /**
     * A list of privileges and their databases.
     * @type {Array<PrivilegeListItem>}
     * @memberof Account
     */
    'privilegesList'?: Array<PrivilegeListItem>;
    /**
     * Specify the name of component to be connected. If not specified, pick the first one.
     * @type {string}
     * @memberof Account
     */
    'component'?: string;
    /**
     * Specify the name of instance to be connected.
     * @type {string}
     * @memberof Account
     */
    'instance'?: string;
    /**
     * Specify the name of user, which must be unique.
     * @type {string}
     * @memberof Account
     */
    'name': string;
    /**
     * Specify the password of user. The default value is empty, which means a random password will be generated.
     * @type {string}
     * @memberof Account
     */
    'password'?: string;
    /**
     * 
     * @type {AccountRoleType}
     * @memberof Account
     */
    'role': AccountRoleType;
    /**
     * extra information of account
     * @type {{ [key: string]: any; }}
     * @memberof Account
     */
    'extra'?: { [key: string]: any; };
}



