// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListTagResourcesResponseBodyTagResourcesTagResource extends $dara.Model { /** * @remarks * The resource ID. * * @example * c2e39566adf23481fa1164ed510**** */ resourceId?: string; /** * @remarks * The resource type. * * @example * ALIYUN::CS::CLUSTER */ resourceType?: string; /** * @remarks * The tag key. * * @example * ack.aliyun.com */ tagKey?: string; /** * @remarks * The tag value. * * @example * c71cf3d796c374bf48644482cb0c3**** */ tagValue?: string; static names(): { [key: string]: string } { return { resourceId: 'resource_id', resourceType: 'resource_type', tagKey: 'tag_key', tagValue: 'tag_value', }; } 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 ListTagResourcesResponseBodyTagResources extends $dara.Model { /** * @remarks * The tag resource. */ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[]; static names(): { [key: string]: string } { return { tagResource: 'tag_resource', }; } static types(): { [key: string]: any } { return { tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource }, }; } validate() { if(Array.isArray(this.tagResource)) { $dara.Model.validateArray(this.tagResource); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesResponseBody extends $dara.Model { /** * @remarks * The token that determines the start point of the next query. * * @example * c374bf4864448**** */ nextToken?: string; /** * @remarks * The request ID. * * @example * E368C761-F8F6-4A36-9B58-BD53D5****** */ requestId?: string; /** * @remarks * The collection of tag resources. */ tagResources?: ListTagResourcesResponseBodyTagResources; static names(): { [key: string]: string } { return { nextToken: 'next_token', requestId: 'request_id', tagResources: 'tag_resources', }; } static types(): { [key: string]: any } { return { nextToken: 'string', requestId: 'string', tagResources: ListTagResourcesResponseBodyTagResources, }; } validate() { if(this.tagResources && typeof (this.tagResources as any).validate === 'function') { (this.tagResources as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }