/* tslint:disable */
/* eslint-disable */
/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform. 
 *
 * 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 { AccountListRoleType } from './account-list-role-type';
// May contain unused imports in some cases
// @ts-ignore
import type { PrivilegeListItem } from './privilege-list-item';

/**
 * Cluster account information.
 * @export
 * @interface AccountListItem
 */
export interface AccountListItem {
    /**
     * Component type.
     * @type {string}
     * @memberof AccountListItem
     */
    'component'?: string;
    /**
     * The name of user.
     * @type {string}
     * @memberof AccountListItem
     */
    'name': string;
    /**
     * The password of user.
     * @type {string}
     * @memberof AccountListItem
     */
    'password'?: string;
    /**
     * 
     * @type {AccountListRoleType}
     * @memberof AccountListItem
     */
    'role'?: AccountListRoleType;
    /**
     * A list of privileges and their databases.
     * @type {Array<PrivilegeListItem>}
     * @memberof AccountListItem
     */
    'privilegesList'?: Array<PrivilegeListItem>;
    /**
     * extra information of account
     * @type {{ [key: string]: any; }}
     * @memberof AccountListItem
     */
    'extra'?: { [key: string]: any; };
}



