in cloudesl-20190801/include/alibabacloud/cloudesl_20190801.hpp [4661:4788]
void fromMap(map<string, boost::any> m) override {
if (m.find("ActionPrice") != m.end() && !m["ActionPrice"].empty()) {
actionPrice = make_shared<long>(boost::any_cast<long>(m["ActionPrice"]));
}
if (m.find("BePromotion") != m.end() && !m["BePromotion"].empty()) {
bePromotion = make_shared<bool>(boost::any_cast<bool>(m["BePromotion"]));
}
if (m.find("BeSourceCode") != m.end() && !m["BeSourceCode"].empty()) {
beSourceCode = make_shared<bool>(boost::any_cast<bool>(m["BeSourceCode"]));
}
if (m.find("BrandName") != m.end() && !m["BrandName"].empty()) {
brandName = make_shared<string>(boost::any_cast<string>(m["BrandName"]));
}
if (m.find("CategoryName") != m.end() && !m["CategoryName"].empty()) {
categoryName = make_shared<string>(boost::any_cast<string>(m["CategoryName"]));
}
if (m.find("CompanyId") != m.end() && !m["CompanyId"].empty()) {
companyId = make_shared<string>(boost::any_cast<string>(m["CompanyId"]));
}
if (m.find("CustomizeFeatureA") != m.end() && !m["CustomizeFeatureA"].empty()) {
customizeFeatureA = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureA"]));
}
if (m.find("CustomizeFeatureB") != m.end() && !m["CustomizeFeatureB"].empty()) {
customizeFeatureB = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureB"]));
}
if (m.find("CustomizeFeatureC") != m.end() && !m["CustomizeFeatureC"].empty()) {
customizeFeatureC = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureC"]));
}
if (m.find("CustomizeFeatureD") != m.end() && !m["CustomizeFeatureD"].empty()) {
customizeFeatureD = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureD"]));
}
if (m.find("CustomizeFeatureE") != m.end() && !m["CustomizeFeatureE"].empty()) {
customizeFeatureE = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureE"]));
}
if (m.find("CustomizeFeatureF") != m.end() && !m["CustomizeFeatureF"].empty()) {
customizeFeatureF = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureF"]));
}
if (m.find("CustomizeFeatureG") != m.end() && !m["CustomizeFeatureG"].empty()) {
customizeFeatureG = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureG"]));
}
if (m.find("CustomizeFeatureH") != m.end() && !m["CustomizeFeatureH"].empty()) {
customizeFeatureH = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureH"]));
}
if (m.find("CustomizeFeatureI") != m.end() && !m["CustomizeFeatureI"].empty()) {
customizeFeatureI = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureI"]));
}
if (m.find("CustomizeFeatureJ") != m.end() && !m["CustomizeFeatureJ"].empty()) {
customizeFeatureJ = make_shared<string>(boost::any_cast<string>(m["CustomizeFeatureJ"]));
}
if (m.find("EnergyEfficiency") != m.end() && !m["EnergyEfficiency"].empty()) {
energyEfficiency = make_shared<string>(boost::any_cast<string>(m["EnergyEfficiency"]));
}
if (m.find("ExtraAttribute") != m.end() && !m["ExtraAttribute"].empty()) {
extraAttribute = make_shared<string>(boost::any_cast<string>(m["ExtraAttribute"]));
}
if (m.find("ForestFirstId") != m.end() && !m["ForestFirstId"].empty()) {
forestFirstId = make_shared<string>(boost::any_cast<string>(m["ForestFirstId"]));
}
if (m.find("ForestSecondId") != m.end() && !m["ForestSecondId"].empty()) {
forestSecondId = make_shared<string>(boost::any_cast<string>(m["ForestSecondId"]));
}
if (m.find("ItemBarCode") != m.end() && !m["ItemBarCode"].empty()) {
itemBarCode = make_shared<string>(boost::any_cast<string>(m["ItemBarCode"]));
}
if (m.find("ItemId") != m.end() && !m["ItemId"].empty()) {
itemId = make_shared<long>(boost::any_cast<long>(m["ItemId"]));
}
if (m.find("ItemInfoIndex") != m.end() && !m["ItemInfoIndex"].empty()) {
itemInfoIndex = make_shared<long>(boost::any_cast<long>(m["ItemInfoIndex"]));
}
if (m.find("ItemQrCode") != m.end() && !m["ItemQrCode"].empty()) {
itemQrCode = make_shared<string>(boost::any_cast<string>(m["ItemQrCode"]));
}
if (m.find("ItemShortTitle") != m.end() && !m["ItemShortTitle"].empty()) {
itemShortTitle = make_shared<string>(boost::any_cast<string>(m["ItemShortTitle"]));
}
if (m.find("ItemTitle") != m.end() && !m["ItemTitle"].empty()) {
itemTitle = make_shared<string>(boost::any_cast<string>(m["ItemTitle"]));
}
if (m.find("MemberPrice") != m.end() && !m["MemberPrice"].empty()) {
memberPrice = make_shared<long>(boost::any_cast<long>(m["MemberPrice"]));
}
if (m.find("ModelNumber") != m.end() && !m["ModelNumber"].empty()) {
modelNumber = make_shared<string>(boost::any_cast<string>(m["ModelNumber"]));
}
if (m.find("OptionGroups") != m.end() && !m["OptionGroups"].empty()) {
optionGroups = make_shared<string>(boost::any_cast<string>(m["OptionGroups"]));
}
if (m.find("OriginalPrice") != m.end() && !m["OriginalPrice"].empty()) {
originalPrice = make_shared<long>(boost::any_cast<long>(m["OriginalPrice"]));
}
if (m.find("PriceUnit") != m.end() && !m["PriceUnit"].empty()) {
priceUnit = make_shared<string>(boost::any_cast<string>(m["PriceUnit"]));
}
if (m.find("ProductionPlace") != m.end() && !m["ProductionPlace"].empty()) {
productionPlace = make_shared<string>(boost::any_cast<string>(m["ProductionPlace"]));
}
if (m.find("PromotionEnd") != m.end() && !m["PromotionEnd"].empty()) {
promotionEnd = make_shared<string>(boost::any_cast<string>(m["PromotionEnd"]));
}
if (m.find("PromotionReason") != m.end() && !m["PromotionReason"].empty()) {
promotionReason = make_shared<string>(boost::any_cast<string>(m["PromotionReason"]));
}
if (m.find("PromotionStart") != m.end() && !m["PromotionStart"].empty()) {
promotionStart = make_shared<string>(boost::any_cast<string>(m["PromotionStart"]));
}
if (m.find("PromotionText") != m.end() && !m["PromotionText"].empty()) {
promotionText = make_shared<string>(boost::any_cast<string>(m["PromotionText"]));
}
if (m.find("Rank") != m.end() && !m["Rank"].empty()) {
rank = make_shared<string>(boost::any_cast<string>(m["Rank"]));
}
if (m.find("SaleSpec") != m.end() && !m["SaleSpec"].empty()) {
saleSpec = make_shared<string>(boost::any_cast<string>(m["SaleSpec"]));
}
if (m.find("SkuId") != m.end() && !m["SkuId"].empty()) {
skuId = make_shared<string>(boost::any_cast<string>(m["SkuId"]));
}
if (m.find("SourceCode") != m.end() && !m["SourceCode"].empty()) {
sourceCode = make_shared<string>(boost::any_cast<string>(m["SourceCode"]));
}
if (m.find("StoreId") != m.end() && !m["StoreId"].empty()) {
storeId = make_shared<string>(boost::any_cast<string>(m["StoreId"]));
}
if (m.find("SuggestPrice") != m.end() && !m["SuggestPrice"].empty()) {
suggestPrice = make_shared<long>(boost::any_cast<long>(m["SuggestPrice"]));
}
}