// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CleanUserPermissionsRequest extends $dara.Model { /** * @remarks * The list of cluster IDs. If this list is specified, only the KubeConfig credentials and RBAC permissions of the current user in the specified clusters are cleaned up. */ clusterIds?: string[]; /** * @remarks * Specifies whether to force delete the specified KubeConfig. Valid values: * - false (default): Before deleting the KubeConfig, the system checks whether cluster access records exist within the last seven days. If access records exist or cannot be retrieved, the deletion is not allowed. * - true: Force deletes the KubeConfig without checking cluster access records. * * @example * false */ force?: boolean; static names(): { [key: string]: string } { return { clusterIds: 'ClusterIds', force: 'Force', }; } static types(): { [key: string]: any } { return { clusterIds: { 'type': 'array', 'itemType': 'string' }, force: 'boolean', }; } validate() { if(Array.isArray(this.clusterIds)) { $dara.Model.validateArray(this.clusterIds); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }