// 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 maximum number of results to return. Maximum value: 200. * * @example * 20 */ maxResults?: number; /** * @remarks * The token for the next query. * * @example * xxxxxxxxxx */ nextToken?: string; /** * @remarks * The list of resource IDs. */ resourceId?: string[]; /** * @remarks * The resource type. * * This parameter is required. * * @example * Service */ resourceType?: string; /** * @remarks * The labels. Used as filter conditions for the query. * * You can specify up to 20 labels. */ tag?: Tag[]; static names(): { [key: string]: string } { return { maxResults: 'maxResults', nextToken: 'nextToken', resourceId: 'resourceId', resourceType: 'resourceType', tag: 'tag', }; } static types(): { [key: string]: any } { return { maxResults: 'number', nextToken: 'string', resourceId: { 'type': 'array', 'itemType': 'string' }, resourceType: 'string', tag: { 'type': 'array', 'itemType': Tag }, }; } validate() { if(Array.isArray(this.resourceId)) { $dara.Model.validateArray(this.resourceId); } if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }