diff --git a/CHANGELOG b/CHANGELOG index aa7002862..2a78a4807 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-08-10 Version: 1.36.565 +- Add source id for list face detail. + 2020-08-10 Version: 1.36.564 - Add extend value for list event detail. diff --git a/VERSION b/VERSION index cd94881ca..527e041fd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.564 \ No newline at end of file +1.36.565 \ No newline at end of file diff --git a/vcs/include/alibabacloud/vcs/model/ListBodyAlgorithmResultsResult.h b/vcs/include/alibabacloud/vcs/model/ListBodyAlgorithmResultsResult.h index f018b9a5d..32a2ebe70 100644 --- a/vcs/include/alibabacloud/vcs/model/ListBodyAlgorithmResultsResult.h +++ b/vcs/include/alibabacloud/vcs/model/ListBodyAlgorithmResultsResult.h @@ -42,6 +42,7 @@ namespace AlibabaCloud float rightBottomX; float rightBottomY; std::string targetPicUrlPath; + std::string sourceId; std::string maxAge; float leftTopY; std::string capStyle; diff --git a/vcs/include/alibabacloud/vcs/model/ListFaceAlgorithmResultsResult.h b/vcs/include/alibabacloud/vcs/model/ListFaceAlgorithmResultsResult.h index e152ecf85..b73787718 100644 --- a/vcs/include/alibabacloud/vcs/model/ListFaceAlgorithmResultsResult.h +++ b/vcs/include/alibabacloud/vcs/model/ListFaceAlgorithmResultsResult.h @@ -43,6 +43,7 @@ namespace AlibabaCloud float rightBottomX; float rightBottomY; std::string targetPicUrlPath; + std::string sourceId; std::string maxAge; float leftTopY; std::string capStyle; diff --git a/vcs/include/alibabacloud/vcs/model/ListMotorAlgorithmResultsResult.h b/vcs/include/alibabacloud/vcs/model/ListMotorAlgorithmResultsResult.h index 8049798f1..3ce8a72ce 100644 --- a/vcs/include/alibabacloud/vcs/model/ListMotorAlgorithmResultsResult.h +++ b/vcs/include/alibabacloud/vcs/model/ListMotorAlgorithmResultsResult.h @@ -43,6 +43,7 @@ namespace AlibabaCloud std::string motorColor; float rightBottomY; std::string targetPicUrlPath; + std::string sourceId; std::string calling; std::string motorClass; float leftTopY; diff --git a/vcs/include/alibabacloud/vcs/model/ReportDeviceCapacityRequest.h b/vcs/include/alibabacloud/vcs/model/ReportDeviceCapacityRequest.h index 90e235bd5..b3f79505c 100644 --- a/vcs/include/alibabacloud/vcs/model/ReportDeviceCapacityRequest.h +++ b/vcs/include/alibabacloud/vcs/model/ReportDeviceCapacityRequest.h @@ -51,6 +51,8 @@ namespace AlibabaCloud void setLatitude(const std::string& latitude); std::string getPresetNum()const; void setPresetNum(const std::string& presetNum); + std::string getDeviceTimeStamp()const; + void setDeviceTimeStamp(const std::string& deviceTimeStamp); std::string getDeviceSn()const; void setDeviceSn(const std::string& deviceSn); std::string getAudioFormat()const; @@ -64,6 +66,7 @@ namespace AlibabaCloud std::vector streamCapacities_; std::string latitude_; std::string presetNum_; + std::string deviceTimeStamp_; std::string deviceSn_; std::string audioFormat_; std::string pTZCapacity_; diff --git a/vcs/src/model/ListBodyAlgorithmResultsResult.cc b/vcs/src/model/ListBodyAlgorithmResultsResult.cc index ae924456b..4e1c23af1 100644 --- a/vcs/src/model/ListBodyAlgorithmResultsResult.cc +++ b/vcs/src/model/ListBodyAlgorithmResultsResult.cc @@ -94,6 +94,8 @@ void ListBodyAlgorithmResultsResult::parse(const std::string &payload) recordsItemObject.coatColor = dataNodeRecordsRecordsItem["CoatColor"].asString(); if(!dataNodeRecordsRecordsItem["TrousersColor"].isNull()) recordsItemObject.trousersColor = dataNodeRecordsRecordsItem["TrousersColor"].asString(); + if(!dataNodeRecordsRecordsItem["SourceId"].isNull()) + recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString(); data_.records.push_back(recordsItemObject); } if(!value["Code"].isNull()) diff --git a/vcs/src/model/ListFaceAlgorithmResultsResult.cc b/vcs/src/model/ListFaceAlgorithmResultsResult.cc index 0a51e4cf3..dec1f2a5e 100644 --- a/vcs/src/model/ListFaceAlgorithmResultsResult.cc +++ b/vcs/src/model/ListFaceAlgorithmResultsResult.cc @@ -82,6 +82,8 @@ void ListFaceAlgorithmResultsResult::parse(const std::string &payload) recordsItemObject.picUrlPath = dataNodeRecordsRecordsItem["PicUrlPath"].asString(); if(!dataNodeRecordsRecordsItem["TargetPicUrlPath"].isNull()) recordsItemObject.targetPicUrlPath = dataNodeRecordsRecordsItem["TargetPicUrlPath"].asString(); + if(!dataNodeRecordsRecordsItem["SourceId"].isNull()) + recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString(); data_.records.push_back(recordsItemObject); } if(!value["Code"].isNull()) diff --git a/vcs/src/model/ListMotorAlgorithmResultsResult.cc b/vcs/src/model/ListMotorAlgorithmResultsResult.cc index c1e86f430..38fa8443c 100644 --- a/vcs/src/model/ListMotorAlgorithmResultsResult.cc +++ b/vcs/src/model/ListMotorAlgorithmResultsResult.cc @@ -92,6 +92,8 @@ void ListMotorAlgorithmResultsResult::parse(const std::string &payload) recordsItemObject.safetyBelt = dataNodeRecordsRecordsItem["SafetyBelt"].asString(); if(!dataNodeRecordsRecordsItem["Calling"].isNull()) recordsItemObject.calling = dataNodeRecordsRecordsItem["Calling"].asString(); + if(!dataNodeRecordsRecordsItem["SourceId"].isNull()) + recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString(); data_.records.push_back(recordsItemObject); } if(!value["Code"].isNull()) diff --git a/vcs/src/model/ReportDeviceCapacityRequest.cc b/vcs/src/model/ReportDeviceCapacityRequest.cc index 7882df9e7..3f026bdcf 100644 --- a/vcs/src/model/ReportDeviceCapacityRequest.cc +++ b/vcs/src/model/ReportDeviceCapacityRequest.cc @@ -69,6 +69,17 @@ void ReportDeviceCapacityRequest::setPresetNum(const std::string& presetNum) setBodyParameter("PresetNum", presetNum); } +std::string ReportDeviceCapacityRequest::getDeviceTimeStamp()const +{ + return deviceTimeStamp_; +} + +void ReportDeviceCapacityRequest::setDeviceTimeStamp(const std::string& deviceTimeStamp) +{ + deviceTimeStamp_ = deviceTimeStamp; + setBodyParameter("DeviceTimeStamp", deviceTimeStamp); +} + std::string ReportDeviceCapacityRequest::getDeviceSn()const { return deviceSn_;