// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeRegionsResponseBodyRegions extends $dara.Model { /** * @remarks * The name of the region. * * @example * China (Hangzhou) */ localName?: string; /** * @remarks * The endpoint of region service. * * @example * alb.cn-hangzhou.aliyuncs.com */ regionEndpoint?: string; /** * @remarks * The ID of the region. * * @example * cn-hangzhou */ regionId?: string; static names(): { [key: string]: string } { return { localName: 'LocalName', regionEndpoint: 'RegionEndpoint', regionId: 'RegionId', }; } static types(): { [key: string]: any } { return { localName: 'string', regionEndpoint: 'string', regionId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeRegionsResponseBody extends $dara.Model { /** * @remarks * The regions. */ regions?: DescribeRegionsResponseBodyRegions[]; /** * @remarks * The ID of the request. * * @example * 593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3 */ requestId?: string; static names(): { [key: string]: string } { return { regions: 'Regions', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions }, requestId: 'string', }; } validate() { if(Array.isArray(this.regions)) { $dara.Model.validateArray(this.regions); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }