in ecd-20201002/include/alibabacloud/ecd_20201002.hpp [3381:3553]
map<string, boost::any> toMap() override {
map<string, boost::any> res;
if (accessType) {
res["AccessType"] = boost::any(*accessType);
}
if (aliUid) {
res["AliUid"] = boost::any(*aliUid);
}
if (appId) {
res["AppId"] = boost::any(*appId);
}
if (authMode) {
res["AuthMode"] = boost::any(*authMode);
}
if (categoryId) {
res["CategoryId"] = boost::any(*categoryId);
}
if (categoryType) {
res["CategoryType"] = boost::any(*categoryType);
}
if (cdsName) {
res["CdsName"] = boost::any(*cdsName);
}
if (centerResourceId) {
res["CenterResourceId"] = boost::any(*centerResourceId);
}
if (chargeType) {
res["ChargeType"] = boost::any(*chargeType);
}
if (clients) {
vector<boost::any> temp1;
for(auto item1:*clients){
temp1.push_back(boost::any(item1.toMap()));
}
res["Clients"] = boost::any(temp1);
}
if (connectionProperties) {
res["ConnectionProperties"] = boost::any(*connectionProperties);
}
if (createTime) {
res["CreateTime"] = boost::any(*createTime);
}
if (desktopDurationList) {
vector<boost::any> temp1;
for(auto item1:*desktopDurationList){
temp1.push_back(boost::any(item1.toMap()));
}
res["DesktopDurationList"] = boost::any(temp1);
}
if (desktopTimers) {
vector<boost::any> temp1;
for(auto item1:*desktopTimers){
temp1.push_back(boost::any(item1.toMap()));
}
res["DesktopTimers"] = boost::any(temp1);
}
if (expiredTime) {
res["ExpiredTime"] = boost::any(*expiredTime);
}
if (externalDomainId) {
res["ExternalDomainId"] = boost::any(*externalDomainId);
}
if (externalUserId) {
res["ExternalUserId"] = boost::any(*externalUserId);
}
if (fotaUpdate) {
res["FotaUpdate"] = fotaUpdate ? boost::any(fotaUpdate->toMap()) : boost::any(map<string,boost::any>({}));
}
if (globalStatus) {
res["GlobalStatus"] = boost::any(*globalStatus);
}
if (hasUpgrade) {
res["HasUpgrade"] = boost::any(*hasUpgrade);
}
if (hibernationBeta) {
res["HibernationBeta"] = boost::any(*hibernationBeta);
}
if (icon) {
res["Icon"] = boost::any(*icon);
}
if (lastStartTime) {
res["LastStartTime"] = boost::any(*lastStartTime);
}
if (localName) {
res["LocalName"] = boost::any(*localName);
}
if (managementStatuses) {
res["ManagementStatuses"] = boost::any(*managementStatuses);
}
if (officeSiteId) {
res["OfficeSiteId"] = boost::any(*officeSiteId);
}
if (orderStatus) {
res["OrderStatus"] = boost::any(*orderStatus);
}
if (os) {
res["Os"] = boost::any(*os);
}
if (osDescription) {
res["OsDescription"] = boost::any(*osDescription);
}
if (osType) {
res["OsType"] = boost::any(*osType);
}
if (osUpdate) {
res["OsUpdate"] = osUpdate ? boost::any(osUpdate->toMap()) : boost::any(map<string,boost::any>({}));
}
if (productType) {
res["ProductType"] = boost::any(*productType);
}
if (protocolType) {
res["ProtocolType"] = boost::any(*protocolType);
}
if (realDesktopId) {
res["RealDesktopId"] = boost::any(*realDesktopId);
}
if (regionId) {
res["RegionId"] = boost::any(*regionId);
}
if (regionLocation) {
res["RegionLocation"] = boost::any(*regionLocation);
}
if (resourceGroupId) {
res["ResourceGroupId"] = boost::any(*resourceGroupId);
}
if (resourceId) {
res["ResourceId"] = boost::any(*resourceId);
}
if (resourceLevel) {
res["ResourceLevel"] = boost::any(*resourceLevel);
}
if (resourceName) {
res["ResourceName"] = boost::any(*resourceName);
}
if (resourceSessionStatus) {
res["ResourceSessionStatus"] = boost::any(*resourceSessionStatus);
}
if (resourceStatus) {
res["ResourceStatus"] = boost::any(*resourceStatus);
}
if (resourceType) {
res["ResourceType"] = boost::any(*resourceType);
}
if (sessionType) {
res["SessionType"] = boost::any(*sessionType);
}
if (sessions) {
vector<boost::any> temp1;
for(auto item1:*sessions){
temp1.push_back(boost::any(item1.toMap()));
}
res["Sessions"] = boost::any(temp1);
}
if (subPayType) {
res["SubPayType"] = boost::any(*subPayType);
}
if (supportHibernation) {
res["SupportHibernation"] = boost::any(*supportHibernation);
}
if (supportedActions) {
res["SupportedActions"] = boost::any(*supportedActions);
}
if (themeColor) {
res["ThemeColor"] = boost::any(*themeColor);
}
if (userCustomName) {
res["UserCustomName"] = boost::any(*userCustomName);
}
if (version) {
res["Version"] = boost::any(*version);
}
return res;
}