// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListTagResourcesResponseBodyTagResources extends $dara.Model { /** * @remarks * The resource ID. * * @example * test */ resourceId?: string; /** * @remarks * The resource type. * * @example * Service */ resourceType?: string; /** * @remarks * The label key. * * @example * env */ tagKey?: string; /** * @remarks * The label value. * * @example * test */ tagValue?: string; static names(): { [key: string]: string } { return { resourceId: 'resourceId', resourceType: 'resourceType', tagKey: 'tagKey', tagValue: 'tagValue', }; } static types(): { [key: string]: any } { return { resourceId: 'string', resourceType: 'string', tagKey: 'string', tagValue: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesResponseBody 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 request ID. * * @example * 0CEC5375-C554-562B-A65F-*** */ requestId?: string; /** * @remarks * The label list. */ tagResources?: ListTagResourcesResponseBodyTagResources[]; static names(): { [key: string]: string } { return { maxResults: 'maxResults', nextToken: 'nextToken', requestId: 'requestId', tagResources: 'tagResources', }; } static types(): { [key: string]: any } { return { maxResults: 'number', nextToken: 'string', requestId: 'string', tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources }, }; } validate() { if(Array.isArray(this.tagResources)) { $dara.Model.validateArray(this.tagResources); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }