// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListTagResourcesResponseBodyTagResources extends $dara.Model { /** * @remarks * The name of the resource. * * @example * role1 */ resourceName?: string; /** * @remarks * The resource type. * * Enumerated values: * * * role: RAM roles. * * policy: policies. * * @example * role */ resourceType?: string; /** * @remarks * The key of the tag. * * @example * t1 */ tagKey?: string; /** * @remarks * The value of the tag. * * @example * v1 */ tagValue?: string; static names(): { [key: string]: string } { return { resourceName: 'ResourceName', resourceType: 'ResourceType', tagKey: 'TagKey', tagValue: 'TagValue', }; } static types(): { [key: string]: any } { return { resourceName: 'string', resourceType: 'string', tagKey: 'string', tagValue: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesResponseBody extends $dara.Model { /** * @remarks * A pagination token. It can be used in the next request to retrieve a new page of results. * * @example * GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K */ nextToken?: string; /** * @remarks * The request ID. * * @example * 5CCE804C-6450-49A7-B1DB-2460F7A97416 */ requestId?: string; /** * @remarks * The tags that are added to the cloud resources. */ tagResources?: ListTagResourcesResponseBodyTagResources[]; static names(): { [key: string]: string } { return { nextToken: 'NextToken', requestId: 'RequestId', tagResources: 'TagResources', }; } static types(): { [key: string]: any } { return { 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); } }