// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class UntagResourcesRequest extends $dara.Model { /** * @remarks * Specifies whether to delete all custom tags. This parameter takes effect only when `tag_keys` is empty. Valid values: * * - `true`: Delete all tags. * - `false`: Do not delete all tags. * * @example * true */ all?: boolean; /** * @remarks * The region ID of the resource. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The list of resource IDs. You can specify up to 50 resource IDs. * * This parameter is required. */ resourceIds?: string[]; /** * @remarks * The resource type. * * CLUSTER: cluster. * * This parameter is required. * * @example * CLUSTER */ resourceType?: string; /** * @remarks * The list of tag keys for the resource. You can specify up to 20 tag keys. * * This parameter is required. */ tagKeys?: string[]; static names(): { [key: string]: string } { return { all: 'all', regionId: 'region_id', resourceIds: 'resource_ids', resourceType: 'resource_type', tagKeys: 'tag_keys', }; } static types(): { [key: string]: any } { return { all: 'boolean', regionId: 'string', resourceIds: { 'type': 'array', 'itemType': 'string' }, resourceType: 'string', tagKeys: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.resourceIds)) { $dara.Model.validateArray(this.resourceIds); } if(Array.isArray(this.tagKeys)) { $dara.Model.validateArray(this.tagKeys); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }