Support PersonList.

This commit is contained in:
sdk-team
2020-08-31 23:48:06 +08:00
parent c0045d1c32
commit 793abf30f9
4 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2020-08-31 Version: 1.36.623
- Support PersonList.
2020-08-31 Version: 1.36.622
- GetPersonList Support LastShotTime.

View File

@@ -1 +1 @@
1.36.622
1.36.623

View File

@@ -52,7 +52,7 @@ namespace AlibabaCloud
long pageNumber;
long total;
std::vector<RecordsItem> records;
long success;
bool success;
};

View File

@@ -45,7 +45,7 @@ void GetProfileListResult::parse(const std::string &payload)
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stol(dataNode["PageSize"].asString());
if(!dataNode["Success"].isNull())
data_.success = std::stol(dataNode["Success"].asString());
data_.success = dataNode["Success"].asString() == "true";
if(!dataNode["Total"].isNull())
data_.total = std::stol(dataNode["Total"].asString());
auto allRecordsNode = dataNode["Records"]["RecordsItem"];