Forráskód Böngészése

QueryInstanceBillResponse add ServicePeriod.

sdk-team 7 éve
szülő
commit
2dcbea3a7f

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-08-15 Version 1.36.88
+- QueryInstanceBillResponse add ServicePeriod.
+
 2019-08-14 Version 1.36.87
 2019-08-14 Version 1.36.87
 - Generated 2018-01-20 for `Iot`.
 - Generated 2018-01-20 for `Iot`.
 
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.87
+1.36.88

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h

@@ -63,6 +63,7 @@ namespace AlibabaCloud
 						std::string billingItem;
 						std::string billingItem;
 						std::string nickName;
 						std::string nickName;
 						std::string intranetIP;
 						std::string intranetIP;
+						std::string servicePeriod;
 						float deductedByResourcePackage;
 						float deductedByResourcePackage;
 						std::string usageUnit;
 						std::string usageUnit;
 						long ownerID;
 						long ownerID;

+ 2 - 0
bssopenapi/src/model/QueryInstanceBillResult.cc

@@ -128,6 +128,8 @@ void QueryInstanceBillResult::parse(const std::string &payload)
 			itemObject.zone = value["Zone"].asString();
 			itemObject.zone = value["Zone"].asString();
 		if(!value["Item"].isNull())
 		if(!value["Item"].isNull())
 			itemObject.item = value["Item"].asString();
 			itemObject.item = value["Item"].asString();
+		if(!value["ServicePeriod"].isNull())
+			itemObject.servicePeriod = value["ServicePeriod"].asString();
 		data_.items.push_back(itemObject);
 		data_.items.push_back(itemObject);
 	}
 	}
 	if(!value["Success"].isNull())
 	if(!value["Success"].isNull())