Update API CreateTransitRouteTableAggregation update request parameter TransitRouteTableAggregationScop to TransitRouteTableAggregationScope.
This commit is contained in:
@@ -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_;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
}
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user