in cpp/include/alibabacloud/open_api.hpp [348:377]
void fromMap(map<string, boost::any> m) override {
if (m.find("action") != m.end() && !m["action"].empty()) {
action = make_shared<string>(boost::any_cast<string>(m["action"]));
}
if (m.find("version") != m.end() && !m["version"].empty()) {
version = make_shared<string>(boost::any_cast<string>(m["version"]));
}
if (m.find("protocol") != m.end() && !m["protocol"].empty()) {
protocol = make_shared<string>(boost::any_cast<string>(m["protocol"]));
}
if (m.find("pathname") != m.end() && !m["pathname"].empty()) {
pathname = make_shared<string>(boost::any_cast<string>(m["pathname"]));
}
if (m.find("method") != m.end() && !m["method"].empty()) {
method = make_shared<string>(boost::any_cast<string>(m["method"]));
}
if (m.find("authType") != m.end() && !m["authType"].empty()) {
authType = make_shared<string>(boost::any_cast<string>(m["authType"]));
}
if (m.find("bodyType") != m.end() && !m["bodyType"].empty()) {
bodyType = make_shared<string>(boost::any_cast<string>(m["bodyType"]));
}
if (m.find("reqBodyType") != m.end() && !m["reqBodyType"].empty()) {
reqBodyType =
make_shared<string>(boost::any_cast<string>(m["reqBodyType"]));
}
if (m.find("style") != m.end() && !m["style"].empty()) {
style = make_shared<string>(boost::any_cast<string>(m["style"]));
}
}