QueryInstanceBillResponse add ServicePeriod.
This commit is contained in:
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string billingItem;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string servicePeriod;
|
||||
float deductedByResourcePackage;
|
||||
std::string usageUnit;
|
||||
long ownerID;
|
||||
|
||||
@@ -128,6 +128,8 @@ void QueryInstanceBillResult::parse(const std::string &payload)
|
||||
itemObject.zone = value["Zone"].asString();
|
||||
if(!value["Item"].isNull())
|
||||
itemObject.item = value["Item"].asString();
|
||||
if(!value["ServicePeriod"].isNull())
|
||||
itemObject.servicePeriod = value["ServicePeriod"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user