From 793abf30f9be45e5cfe0eff7c682ceb2c835d7ce Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 31 Aug 2020 23:48:06 +0800 Subject: [PATCH] Support PersonList. --- CHANGELOG | 3 +++ VERSION | 2 +- vcs/include/alibabacloud/vcs/model/GetProfileListResult.h | 2 +- vcs/src/model/GetProfileListResult.cc | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ade95b8c4..b812db7ea 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-08-31 Version: 1.36.623 +- Support PersonList. + 2020-08-31 Version: 1.36.622 - GetPersonList Support LastShotTime. diff --git a/VERSION b/VERSION index 98a8b0d35..17d281c21 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.622 \ No newline at end of file +1.36.623 \ No newline at end of file diff --git a/vcs/include/alibabacloud/vcs/model/GetProfileListResult.h b/vcs/include/alibabacloud/vcs/model/GetProfileListResult.h index 63d480b5a..dbeab5891 100644 --- a/vcs/include/alibabacloud/vcs/model/GetProfileListResult.h +++ b/vcs/include/alibabacloud/vcs/model/GetProfileListResult.h @@ -52,7 +52,7 @@ namespace AlibabaCloud long pageNumber; long total; std::vector records; - long success; + bool success; }; diff --git a/vcs/src/model/GetProfileListResult.cc b/vcs/src/model/GetProfileListResult.cc index 7bc3341ef..a8cf308ba 100644 --- a/vcs/src/model/GetProfileListResult.cc +++ b/vcs/src/model/GetProfileListResult.cc @@ -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"];