From 030365b47793d3bada1cc0fc1f50d2dd0f368ba7 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 17 Mar 2023 03:24:35 +0000 Subject: [PATCH] Update API CreateTransitRouteTableAggregation update request parameter TransitRouteTableAggregationScop to TransitRouteTableAggregationScope. --- VERSION | 2 +- ...CreateTransitRouteTableAggregationRequest.h | 6 +++--- ...escribeTransitRouteTableAggregationResult.h | 2 +- ...reateTransitRouteTableAggregationRequest.cc | 18 +++++++++--------- ...scribeTransitRouteTableAggregationResult.cc | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/VERSION b/VERSION index 78644ad3f..eba5a1035 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1507 \ No newline at end of file +1.36.1508 \ No newline at end of file diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouteTableAggregationRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouteTableAggregationRequest.h index b432a353f..1d6e98742 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouteTableAggregationRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouteTableAggregationRequest.h @@ -42,10 +42,10 @@ public: void setDryRun(bool dryRun); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getTransitRouteTableAggregationScope() const; + void setTransitRouteTableAggregationScope(const std::string &transitRouteTableAggregationScope); std::string getOwnerAccount() const; void setOwnerAccount(const std::string &ownerAccount); - std::string getTransitRouteTableAggregationScop() const; - void setTransitRouteTableAggregationScop(const std::string &transitRouteTableAggregationScop); long getOwnerId() const; void setOwnerId(long ownerId); std::string getVersion() const; @@ -62,8 +62,8 @@ private: std::string transitRouteTableAggregationName_; bool dryRun_; std::string resourceOwnerAccount_; + std::string transitRouteTableAggregationScope_; std::string ownerAccount_; - std::string transitRouteTableAggregationScop_; long ownerId_; std::string version_; std::string transitRouteTableId_; diff --git a/cbn/include/alibabacloud/cbn/model/DescribeTransitRouteTableAggregationResult.h b/cbn/include/alibabacloud/cbn/model/DescribeTransitRouteTableAggregationResult.h index 8ad438acf..255be4115 100644 --- a/cbn/include/alibabacloud/cbn/model/DescribeTransitRouteTableAggregationResult.h +++ b/cbn/include/alibabacloud/cbn/model/DescribeTransitRouteTableAggregationResult.h @@ -37,7 +37,7 @@ namespace AlibabaCloud std::string status; std::string routeType; std::string description; - std::string scop; + std::string scope; std::string nexthop; std::string transitRouteTableAggregationCidr; std::string trRouteTableId; diff --git a/cbn/src/model/CreateTransitRouteTableAggregationRequest.cc b/cbn/src/model/CreateTransitRouteTableAggregationRequest.cc index c5ddba1ea..96f94dfb4 100644 --- a/cbn/src/model/CreateTransitRouteTableAggregationRequest.cc +++ b/cbn/src/model/CreateTransitRouteTableAggregationRequest.cc @@ -79,6 +79,15 @@ void CreateTransitRouteTableAggregationRequest::setResourceOwnerAccount(const st setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } +std::string CreateTransitRouteTableAggregationRequest::getTransitRouteTableAggregationScope() const { + return transitRouteTableAggregationScope_; +} + +void CreateTransitRouteTableAggregationRequest::setTransitRouteTableAggregationScope(const std::string &transitRouteTableAggregationScope) { + transitRouteTableAggregationScope_ = transitRouteTableAggregationScope; + setParameter(std::string("TransitRouteTableAggregationScope"), transitRouteTableAggregationScope); +} + std::string CreateTransitRouteTableAggregationRequest::getOwnerAccount() const { return ownerAccount_; } @@ -88,15 +97,6 @@ void CreateTransitRouteTableAggregationRequest::setOwnerAccount(const std::strin setParameter(std::string("OwnerAccount"), ownerAccount); } -std::string CreateTransitRouteTableAggregationRequest::getTransitRouteTableAggregationScop() const { - return transitRouteTableAggregationScop_; -} - -void CreateTransitRouteTableAggregationRequest::setTransitRouteTableAggregationScop(const std::string &transitRouteTableAggregationScop) { - transitRouteTableAggregationScop_ = transitRouteTableAggregationScop; - setParameter(std::string("TransitRouteTableAggregationScop"), transitRouteTableAggregationScop); -} - long CreateTransitRouteTableAggregationRequest::getOwnerId() const { return ownerId_; } diff --git a/cbn/src/model/DescribeTransitRouteTableAggregationResult.cc b/cbn/src/model/DescribeTransitRouteTableAggregationResult.cc index e543883ed..c82672b1a 100644 --- a/cbn/src/model/DescribeTransitRouteTableAggregationResult.cc +++ b/cbn/src/model/DescribeTransitRouteTableAggregationResult.cc @@ -47,8 +47,8 @@ void DescribeTransitRouteTableAggregationResult::parse(const std::string &payloa dataObject.name = valueDataDataItem["Name"].asString(); if(!valueDataDataItem["TransitRouteTableAggregationCidr"].isNull()) dataObject.transitRouteTableAggregationCidr = valueDataDataItem["TransitRouteTableAggregationCidr"].asString(); - if(!valueDataDataItem["Scop"].isNull()) - dataObject.scop = valueDataDataItem["Scop"].asString(); + if(!valueDataDataItem["Scope"].isNull()) + dataObject.scope = valueDataDataItem["Scope"].asString(); if(!valueDataDataItem["Nexthop"].isNull()) dataObject.nexthop = valueDataDataItem["Nexthop"].asString(); if(!valueDataDataItem["RouteType"].isNull())