Browse Source

Add source id for list face detail.

sdk-team 6 years ago
parent
commit
91c8eee22c

+ 3 - 0
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.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.564
+1.36.565

+ 1 - 0
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;

+ 1 - 0
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;

+ 1 - 0
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;

+ 3 - 0
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> streamCapacities_;
 				std::string latitude_;
 				std::string presetNum_;
+				std::string deviceTimeStamp_;
 				std::string deviceSn_;
 				std::string audioFormat_;
 				std::string pTZCapacity_;

+ 2 - 0
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())

+ 2 - 0
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())

+ 2 - 0
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())

+ 11 - 0
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_;