// 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 remove all tags. This parameter is valid only if the TagKey.n parameter is not set. Valid values: true and false. * * @example * true */ all?: boolean; /** * @remarks * The IDs of resources. * * This parameter is required. */ resourceId?: string[]; /** * @remarks * The type of the resource. Specify the savings plan instance as the type of the resource. * * This parameter is required. * * @example * instance */ resourceType?: string; /** * @remarks * The tag keys. */ tagKey?: string[]; static names(): { [key: string]: string } { return { all: 'All', resourceId: 'ResourceId', resourceType: 'ResourceType', tagKey: 'TagKey', }; } static types(): { [key: string]: any } { return { all: 'boolean', resourceId: { 'type': 'array', 'itemType': 'string' }, resourceType: 'string', tagKey: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.resourceId)) { $dara.Model.validateArray(this.resourceId); } if(Array.isArray(this.tagKey)) { $dara.Model.validateArray(this.tagKey); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }