// 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 * alb-gws76zijb0****** */ resourceId?: string; /** * @remarks * The type of the resource. Valid values: * * * **acl**: an ACL * * **loadbalancer**: an ALB instance * * **securitypolicy**: a security policy * * **servergroup**: a server group * * @example * loadbalancer */ resourceType?: string; /** * @remarks * The tag key. * * @example * env */ tagKey?: string; /** * @remarks * The tag value. * * @example * product */ 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 number of entries per page. * * @example * 20 */ maxResults?: number; /** * @remarks * A pagination token. It can be used in the next request to retrieve a new page of results. Valid values: * * * If **NextToken** is empty, no next page exists. * * If a value is returned for **NextToken**, the value is the token that determines the start point of the next query. * * @example * FFmyTO70tTpLG6I3FmYAXGKPd**** */ nextToken?: string; /** * @remarks * The request ID. * * @example * 593B0448-D13E-4C56-AC0D-FDF0FD****** */ requestId?: string; /** * @remarks * The tags that match the specified keys and values. */ 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); } }