// 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 (Beijing) */ localName?: string; /** * @remarks * The region ID. * * @example * cn-beijing */ regionId?: string; static names(): { [key: string]: string } { return { localName: 'localName', regionId: 'regionId', }; } static types(): { [key: string]: any } { return { localName: 'string', regionId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeRegionsResponseBody extends $dara.Model { /** * @remarks * The list of regions. */ regions?: DescribeRegionsResponseBodyRegions[]; /** * @remarks * The ID of the request. * * @example * 8FDE2569-626B-5176-9844-28877A***** */ 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); } }