diff --git a/CHANGELOG b/CHANGELOG index 23046d483..ade95b8c4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-08-31 Version: 1.36.622 +- GetPersonList Support LastShotTime. + 2020-08-31 Version: 1.36.621 - Support config resource recorder deliverychannel rule. diff --git a/VERSION b/VERSION index 8441c7052..98a8b0d35 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.621 \ No newline at end of file +1.36.622 \ No newline at end of file diff --git a/vcs/include/alibabacloud/vcs/model/GetPersonListResult.h b/vcs/include/alibabacloud/vcs/model/GetPersonListResult.h index 3ff1f16ac..0ca9f5692 100644 --- a/vcs/include/alibabacloud/vcs/model/GetPersonListResult.h +++ b/vcs/include/alibabacloud/vcs/model/GetPersonListResult.h @@ -48,6 +48,7 @@ namespace AlibabaCloud std::string searchMatchingRate; std::vector propertyTagList; std::string faceUrl; + long lastShotTime; }; long totalCount; long pageSize; diff --git a/vcs/include/alibabacloud/vcs/model/ListPersonVisitCountRequest.h b/vcs/include/alibabacloud/vcs/model/ListPersonVisitCountRequest.h index 8bb7912c7..be8438b2d 100644 --- a/vcs/include/alibabacloud/vcs/model/ListPersonVisitCountRequest.h +++ b/vcs/include/alibabacloud/vcs/model/ListPersonVisitCountRequest.h @@ -39,14 +39,20 @@ namespace AlibabaCloud void setCorpId(const std::string& corpId); std::string getEndTime()const; void setEndTime(const std::string& endTime); + std::string getCountType()const; + void setCountType(const std::string& countType); std::string getStartTime()const; void setStartTime(const std::string& startTime); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getTimeAggregateType()const; void setTimeAggregateType(const std::string& timeAggregateType); + std::string getMaxVal()const; + void setMaxVal(const std::string& maxVal); std::string getTagCode()const; void setTagCode(const std::string& tagCode); + std::string getMinVal()const; + void setMinVal(const std::string& minVal); int getPageSize()const; void setPageSize(int pageSize); std::string getAggregateType()const; @@ -55,10 +61,13 @@ namespace AlibabaCloud private: std::string corpId_; std::string endTime_; + std::string countType_; std::string startTime_; int pageNumber_; std::string timeAggregateType_; + std::string maxVal_; std::string tagCode_; + std::string minVal_; int pageSize_; std::string aggregateType_; diff --git a/vcs/src/VcsClient.cc b/vcs/src/VcsClient.cc index abd99e4e0..41714e34c 100644 --- a/vcs/src/VcsClient.cc +++ b/vcs/src/VcsClient.cc @@ -31,21 +31,21 @@ VcsClient::VcsClient(const Credentials &credentials, const ClientConfiguration & RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vcs"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } VcsClient::VcsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vcs"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } VcsClient::VcsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vcs"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } VcsClient::~VcsClient() diff --git a/vcs/src/model/GetPersonListResult.cc b/vcs/src/model/GetPersonListResult.cc index 5ec235ec5..28e8c6ad3 100644 --- a/vcs/src/model/GetPersonListResult.cc +++ b/vcs/src/model/GetPersonListResult.cc @@ -58,6 +58,8 @@ void GetPersonListResult::parse(const std::string &payload) recordsItemObject.personId = dataNodeRecordsRecordsItem["PersonId"].asString(); if(!dataNodeRecordsRecordsItem["SearchMatchingRate"].isNull()) recordsItemObject.searchMatchingRate = dataNodeRecordsRecordsItem["SearchMatchingRate"].asString(); + if(!dataNodeRecordsRecordsItem["LastShotTime"].isNull()) + recordsItemObject.lastShotTime = std::stol(dataNodeRecordsRecordsItem["LastShotTime"].asString()); auto allPropertyTagListNode = allRecordsNode["PropertyTagList"]["TagList"]; for (auto allRecordsNodePropertyTagListTagList : allPropertyTagListNode) { diff --git a/vcs/src/model/ListPersonVisitCountRequest.cc b/vcs/src/model/ListPersonVisitCountRequest.cc index 5e3218d8f..c3c933716 100644 --- a/vcs/src/model/ListPersonVisitCountRequest.cc +++ b/vcs/src/model/ListPersonVisitCountRequest.cc @@ -49,6 +49,17 @@ void ListPersonVisitCountRequest::setEndTime(const std::string& endTime) setBodyParameter("EndTime", endTime); } +std::string ListPersonVisitCountRequest::getCountType()const +{ + return countType_; +} + +void ListPersonVisitCountRequest::setCountType(const std::string& countType) +{ + countType_ = countType; + setBodyParameter("CountType", countType); +} + std::string ListPersonVisitCountRequest::getStartTime()const { return startTime_; @@ -82,6 +93,17 @@ void ListPersonVisitCountRequest::setTimeAggregateType(const std::string& timeAg setBodyParameter("TimeAggregateType", timeAggregateType); } +std::string ListPersonVisitCountRequest::getMaxVal()const +{ + return maxVal_; +} + +void ListPersonVisitCountRequest::setMaxVal(const std::string& maxVal) +{ + maxVal_ = maxVal; + setBodyParameter("MaxVal", maxVal); +} + std::string ListPersonVisitCountRequest::getTagCode()const { return tagCode_; @@ -93,6 +115,17 @@ void ListPersonVisitCountRequest::setTagCode(const std::string& tagCode) setBodyParameter("TagCode", tagCode); } +std::string ListPersonVisitCountRequest::getMinVal()const +{ + return minVal_; +} + +void ListPersonVisitCountRequest::setMinVal(const std::string& minVal) +{ + minVal_ = minVal; + setBodyParameter("MinVal", minVal); +} + int ListPersonVisitCountRequest::getPageSize()const { return pageSize_;