/* 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 { ESSecurityRoleTemplate } from './essecurity-role-template'; /** * Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty. * @export * @interface ESSecurityRoleMapping */ export interface ESSecurityRoleMapping { /** * * @type {boolean} * @memberof ESSecurityRoleMapping */ 'enabled': boolean | null; /** * * @type {Array} * @memberof ESSecurityRoleMapping */ 'roles'?: Array; /** * * @type {Array} * @memberof ESSecurityRoleMapping */ 'role_templates'?: Array; /** * * @type {{ [key: string]: any; }} * @memberof ESSecurityRoleMapping */ 'rules': { [key: string]: any; }; /** * * @type {{ [key: string]: any; }} * @memberof ESSecurityRoleMapping */ 'metadata'?: { [key: string]: any; }; }