Pārlūkot izejas kodu

Update API CreateTransitRouteTableAggregation update request parameter TransitRouteTableAggregationScop to TransitRouteTableAggregationScope.

sdk-team 3 gadi atpakaļ
vecāks
revīzija
030365b477

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1507
+1.36.1508

+ 3 - 3
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_;

+ 1 - 1
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;

+ 9 - 9
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_;
 }

+ 2 - 2
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())