// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; import { Tag } from "./Tag"; export class ListTagResourcesRequest extends $dara.Model { /** * @remarks * The token that determines the start point of the next query. * * @example * *** */ nextToken?: string; /** * @remarks * The region ID. * * This parameter is required. * * @example * cn-beijing */ regionId?: string; /** * @remarks * The list of resource IDs to query. * * This parameter is required. * * @example * ["xxxxx","xxxxxx"] */ resourceIds?: string[]; /** * @remarks * The resource type. * * CLUSTER: cluster. * * This parameter is required. * * @example * CLUSTER */ resourceType?: string; /** * @remarks * The list of tags to query. A maximum of 20 items can be specified. * * @example * [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}] */ tags?: Tag[]; static names(): { [key: string]: string } { return { nextToken: 'next_token', regionId: 'region_id', resourceIds: 'resource_ids', resourceType: 'resource_type', tags: 'tags', }; } static types(): { [key: string]: any } { return { nextToken: 'string', regionId: 'string', resourceIds: { 'type': 'array', 'itemType': 'string' }, resourceType: 'string', tags: { 'type': 'array', 'itemType': Tag }, }; } validate() { if(Array.isArray(this.resourceIds)) { $dara.Model.validateArray(this.resourceIds); } if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }