Supported modification of securityGroupId for UpdateElasticNetworkInterface API.
This commit is contained in:
@@ -52,6 +52,15 @@ void CreateErRequest::setMasterZoneId(const std::string &masterZoneId) {
|
||||
setBodyParameter(std::string("MasterZoneId"), masterZoneId);
|
||||
}
|
||||
|
||||
std::string CreateErRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateErRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateErRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void GetErAttachmentResult::parse(const std::string &payload)
|
||||
content_.across = contentNode["Across"].asString() == "true";
|
||||
if(!contentNode["ResourceTenantId"].isNull())
|
||||
content_.resourceTenantId = contentNode["ResourceTenantId"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -60,6 +60,8 @@ void GetErResult::parse(const std::string &payload)
|
||||
content_.masterZoneId = contentNode["MasterZoneId"].asString();
|
||||
if(!contentNode["Description"].isNull())
|
||||
content_.description = contentNode["Description"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
auto allErAttachmentsNode = contentNode["ErAttachments"]["ErAttachment"];
|
||||
for (auto contentNodeErAttachmentsErAttachment : allErAttachmentsNode)
|
||||
{
|
||||
@@ -94,6 +96,8 @@ void GetErResult::parse(const std::string &payload)
|
||||
erAttachmentObject.across = contentNodeErAttachmentsErAttachment["Across"].asString() == "true";
|
||||
if(!contentNodeErAttachmentsErAttachment["ResourceTenantId"].isNull())
|
||||
erAttachmentObject.resourceTenantId = contentNodeErAttachmentsErAttachment["ResourceTenantId"].asString();
|
||||
if(!contentNodeErAttachmentsErAttachment["ResourceGroupId"].isNull())
|
||||
erAttachmentObject.resourceGroupId = contentNodeErAttachmentsErAttachment["ResourceGroupId"].asString();
|
||||
content_.erAttachments.push_back(erAttachmentObject);
|
||||
}
|
||||
auto allErRouteMapsNode = contentNode["ErRouteMaps"]["ErRouteMap"];
|
||||
@@ -112,8 +116,6 @@ void GetErResult::parse(const std::string &payload)
|
||||
erRouteMapObject.message = contentNodeErRouteMapsErRouteMap["Message"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["Status"].isNull())
|
||||
erRouteMapObject.status = contentNodeErRouteMapsErRouteMap["Status"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ErRouteMapName"].isNull())
|
||||
erRouteMapObject.erRouteMapName = contentNodeErRouteMapsErRouteMap["ErRouteMapName"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ErRouteMapId"].isNull())
|
||||
erRouteMapObject.erRouteMapId = contentNodeErRouteMapsErRouteMap["ErRouteMapId"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ErId"].isNull())
|
||||
@@ -142,6 +144,10 @@ void GetErResult::parse(const std::string &payload)
|
||||
erRouteMapObject.transmissionInstanceOwner = contentNodeErRouteMapsErRouteMap["TransmissionInstanceOwner"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ReceptionInstanceOwner"].isNull())
|
||||
erRouteMapObject.receptionInstanceOwner = contentNodeErRouteMapsErRouteMap["ReceptionInstanceOwner"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ResourceGroupId"].isNull())
|
||||
erRouteMapObject.resourceGroupId = contentNodeErRouteMapsErRouteMap["ResourceGroupId"].asString();
|
||||
if(!contentNodeErRouteMapsErRouteMap["ErRouteMapName"].isNull())
|
||||
erRouteMapObject.erRouteMapName = contentNodeErRouteMapsErRouteMap["ErRouteMapName"].asString();
|
||||
content_.erRouteMaps.push_back(erRouteMapObject);
|
||||
}
|
||||
auto allErRouteEntrysNode = contentNode["ErRouteEntrys"]["ErRouteEntry"];
|
||||
@@ -170,6 +176,8 @@ void GetErResult::parse(const std::string &payload)
|
||||
erRouteEntryObject.status = contentNodeErRouteEntrysErRouteEntry["Status"].asString();
|
||||
if(!contentNodeErRouteEntrysErRouteEntry["GmtModified"].isNull())
|
||||
erRouteEntryObject.gmtModified = contentNodeErRouteEntrysErRouteEntry["GmtModified"].asString();
|
||||
if(!contentNodeErRouteEntrysErRouteEntry["ResourceGroupId"].isNull())
|
||||
erRouteEntryObject.resourceGroupId = contentNodeErRouteEntrysErRouteEntry["ResourceGroupId"].asString();
|
||||
content_.erRouteEntrys.push_back(erRouteEntryObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -60,6 +60,8 @@ void GetErRouteEntryResult::parse(const std::string &payload)
|
||||
content_.status = contentNode["Status"].asString();
|
||||
if(!contentNode["GmtModified"].isNull())
|
||||
content_.gmtModified = contentNode["GmtModified"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -52,8 +52,6 @@ void GetErRouteMapResult::parse(const std::string &payload)
|
||||
content_.message = contentNode["Message"].asString();
|
||||
if(!contentNode["Status"].isNull())
|
||||
content_.status = contentNode["Status"].asString();
|
||||
if(!contentNode["ErRouteMapName"].isNull())
|
||||
content_.erRouteMapName = contentNode["ErRouteMapName"].asString();
|
||||
if(!contentNode["ErRouteMapId"].isNull())
|
||||
content_.erRouteMapId = contentNode["ErRouteMapId"].asString();
|
||||
if(!contentNode["ErId"].isNull())
|
||||
@@ -82,6 +80,10 @@ void GetErRouteMapResult::parse(const std::string &payload)
|
||||
content_.transmissionInstanceOwner = contentNode["TransmissionInstanceOwner"].asString();
|
||||
if(!contentNode["ReceptionInstanceOwner"].isNull())
|
||||
content_.receptionInstanceOwner = contentNode["ReceptionInstanceOwner"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
if(!contentNode["ErRouteMapName"].isNull())
|
||||
content_.erRouteMapName = contentNode["ErRouteMapName"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -62,6 +62,8 @@ void GetVccRouteEntryResult::parse(const std::string &payload)
|
||||
content_.gmtModified = contentNode["GmtModified"].asString();
|
||||
if(!contentNode["Message"].isNull())
|
||||
content_.message = contentNode["Message"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -60,6 +60,8 @@ void GetVpdRouteEntryResult::parse(const std::string &payload)
|
||||
content_.status = contentNode["Status"].asString();
|
||||
if(!contentNode["GmtModified"].isNull())
|
||||
content_.gmtModified = contentNode["GmtModified"].asString();
|
||||
if(!contentNode["ResourceGroupId"].isNull())
|
||||
content_.resourceGroupId = contentNode["ResourceGroupId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -43,6 +43,15 @@ void ListErAttachmentsRequest::setResourceTenantId(const std::string &resourceTe
|
||||
setBodyParameter(std::string("ResourceTenantId"), resourceTenantId);
|
||||
}
|
||||
|
||||
std::string ListErAttachmentsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListErAttachmentsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListErAttachmentsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ void ListErAttachmentsResult::parse(const std::string &payload)
|
||||
dataItemObject.across = contentNodeDataDataItem["Across"].asString() == "true";
|
||||
if(!contentNodeDataDataItem["ResourceTenantId"].isNull())
|
||||
dataItemObject.resourceTenantId = contentNodeDataDataItem["ResourceTenantId"].asString();
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListErRouteEntriesRequest::setRouteType(const std::string &routeType) {
|
||||
setBodyParameter(std::string("RouteType"), routeType);
|
||||
}
|
||||
|
||||
std::string ListErRouteEntriesRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListErRouteEntriesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListErRouteEntriesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ void ListErRouteEntriesResult::parse(const std::string &payload)
|
||||
dataItemObject.status = contentNodeDataDataItem["Status"].asString();
|
||||
if(!contentNodeDataDataItem["GmtModified"].isNull())
|
||||
dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString();
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -61,6 +61,15 @@ void ListErRouteMapsRequest::setPageNumber(int pageNumber) {
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListErRouteMapsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListErRouteMapsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListErRouteMapsRequest::getRouteMapAction() const {
|
||||
return routeMapAction_;
|
||||
}
|
||||
|
||||
@@ -86,6 +86,8 @@ void ListErRouteMapsResult::parse(const std::string &payload)
|
||||
dataItemObject.transmissionInstanceOwner = contentNodeDataDataItem["TransmissionInstanceOwner"].asString();
|
||||
if(!contentNodeDataDataItem["ReceptionInstanceOwner"].isNull())
|
||||
dataItemObject.receptionInstanceOwner = contentNodeDataDataItem["ReceptionInstanceOwner"].asString();
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -43,6 +43,15 @@ void ListErsRequest::setPageNumber(int pageNumber) {
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListErsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListErsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListErsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void ListErsResult::parse(const std::string &payload)
|
||||
dataItemObject.connections = std::stol(contentNodeDataDataItem["Connections"].asString());
|
||||
if(!contentNodeDataDataItem["RouteMaps"].isNull())
|
||||
dataItemObject.routeMaps = std::stol(contentNodeDataDataItem["RouteMaps"].asString());
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListVccRouteEntriesRequest::setRouteType(const std::string &routeType) {
|
||||
setBodyParameter(std::string("RouteType"), routeType);
|
||||
}
|
||||
|
||||
std::string ListVccRouteEntriesRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListVccRouteEntriesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListVccRouteEntriesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void ListVccRouteEntriesResult::parse(const std::string &payload)
|
||||
dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString();
|
||||
if(!contentNodeDataDataItem["Message"].isNull())
|
||||
dataItemObject.message = contentNodeDataDataItem["Message"].asString();
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListVpdRouteEntriesRequest::setRouteType(const std::string &routeType) {
|
||||
setBodyParameter(std::string("RouteType"), routeType);
|
||||
}
|
||||
|
||||
std::string ListVpdRouteEntriesRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ListVpdRouteEntriesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ListVpdRouteEntriesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ void ListVpdRouteEntriesResult::parse(const std::string &payload)
|
||||
dataItemObject.status = contentNodeDataDataItem["Status"].asString();
|
||||
if(!contentNodeDataDataItem["GmtModified"].isNull())
|
||||
dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString();
|
||||
if(!contentNodeDataDataItem["ResourceGroupId"].isNull())
|
||||
dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString();
|
||||
content_.data.push_back(dataItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -34,6 +34,15 @@ void UpdateElasticNetworkInterfaceRequest::setClientToken(const std::string &cli
|
||||
setBodyParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateElasticNetworkInterfaceRequest::getSecurityGroupId() const {
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void UpdateElasticNetworkInterfaceRequest::setSecurityGroupId(const std::string &securityGroupId) {
|
||||
securityGroupId_ = securityGroupId;
|
||||
setBodyParameter(std::string("SecurityGroupId"), securityGroupId);
|
||||
}
|
||||
|
||||
std::string UpdateElasticNetworkInterfaceRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user