Bläddra i källkod

LINKFACE SDK Auto Released By jiayao.wjy,Version:1.30.1

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 år sedan
förälder
incheckning
f189a9dbb2

+ 5 - 0
CHANGELOG

@@ -1,3 +1,8 @@
+2018-11-02 Version: 1.30.1
+1, deviceName and productKey can be used instead of iotId.
+2, New productKey fields for queryauthentication output parameter.
+3, New deviceName fields for queryauthentication output parameter.
+
 2018-11-02 Version: 1.30.0
 1, first version
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.30.0
+1.30.1

+ 6 - 0
linkface/include/alibabacloud/linkface/model/QueryAddUserInfoRequest.h

@@ -37,9 +37,15 @@ namespace AlibabaCloud
 
 				std::string getIotId()const;
 				void setIotId(const std::string& iotId);
+				std::string getDeviceName()const;
+				void setDeviceName(const std::string& deviceName);
+				std::string getProductKey()const;
+				void setProductKey(const std::string& productKey);
 
             private:
 				std::string iotId_;
+				std::string deviceName_;
+				std::string productKey_;
 
 			};
 		}

+ 6 - 0
linkface/include/alibabacloud/linkface/model/QueryAuthenticationRequest.h

@@ -43,12 +43,18 @@ namespace AlibabaCloud
 				void setPageSize(int pageSize);
 				int getCurrentPage()const;
 				void setCurrentPage(int currentPage);
+				std::string getDeviceName()const;
+				void setDeviceName(const std::string& deviceName);
+				std::string getProductKey()const;
+				void setProductKey(const std::string& productKey);
 
             private:
 				int licenseType_;
 				std::string iotId_;
 				int pageSize_;
 				int currentPage_;
+				std::string deviceName_;
+				std::string productKey_;
 
 			};
 		}

+ 2 - 0
linkface/include/alibabacloud/linkface/model/QueryAuthenticationResult.h

@@ -39,8 +39,10 @@ namespace AlibabaCloud
 					std::string expiredTime;
 					std::string beginTime;
 					std::string clientId;
+					std::string productKey;
 					int licenseType;
 					std::string apkPubkey;
+					std::string deviceName;
 				};
 
 

+ 6 - 0
linkface/include/alibabacloud/linkface/model/QuerySyncPicScheduleRequest.h

@@ -37,9 +37,15 @@ namespace AlibabaCloud
 
 				std::string getIotId()const;
 				void setIotId(const std::string& iotId);
+				std::string getDeviceName()const;
+				void setDeviceName(const std::string& deviceName);
+				std::string getProductKey()const;
+				void setProductKey(const std::string& productKey);
 
             private:
 				std::string iotId_;
+				std::string deviceName_;
+				std::string productKey_;
 
 			};
 		}

+ 6 - 0
linkface/include/alibabacloud/linkface/model/SyncFacePicturesRequest.h

@@ -39,10 +39,16 @@ namespace AlibabaCloud
 				void setIotId(const std::string& iotId);
 				std::string getGroupId()const;
 				void setGroupId(const std::string& groupId);
+				std::string getDeviceName()const;
+				void setDeviceName(const std::string& deviceName);
+				std::string getProductKey()const;
+				void setProductKey(const std::string& productKey);
 
             private:
 				std::string iotId_;
 				std::string groupId_;
+				std::string deviceName_;
+				std::string productKey_;
 
 			};
 		}

+ 22 - 0
linkface/src/model/QueryAddUserInfoRequest.cc

@@ -36,3 +36,25 @@ void QueryAddUserInfoRequest::setIotId(const std::string& iotId)
 	setParameter("IotId", iotId);
 }
 
+std::string QueryAddUserInfoRequest::getDeviceName()const
+{
+	return deviceName_;
+}
+
+void QueryAddUserInfoRequest::setDeviceName(const std::string& deviceName)
+{
+	deviceName_ = deviceName;
+	setParameter("DeviceName", deviceName);
+}
+
+std::string QueryAddUserInfoRequest::getProductKey()const
+{
+	return productKey_;
+}
+
+void QueryAddUserInfoRequest::setProductKey(const std::string& productKey)
+{
+	productKey_ = productKey;
+	setParameter("ProductKey", productKey);
+}
+

+ 22 - 0
linkface/src/model/QueryAuthenticationRequest.cc

@@ -69,3 +69,25 @@ void QueryAuthenticationRequest::setCurrentPage(int currentPage)
 	setParameter("CurrentPage", std::to_string(currentPage));
 }
 
+std::string QueryAuthenticationRequest::getDeviceName()const
+{
+	return deviceName_;
+}
+
+void QueryAuthenticationRequest::setDeviceName(const std::string& deviceName)
+{
+	deviceName_ = deviceName;
+	setParameter("DeviceName", deviceName);
+}
+
+std::string QueryAuthenticationRequest::getProductKey()const
+{
+	return productKey_;
+}
+
+void QueryAuthenticationRequest::setProductKey(const std::string& productKey)
+{
+	productKey_ = productKey;
+	setParameter("ProductKey", productKey);
+}
+

+ 4 - 0
linkface/src/model/QueryAuthenticationResult.cc

@@ -58,6 +58,10 @@ void QueryAuthenticationResult::parse(const std::string &payload)
 			dataObject.packageName = value["PackageName"].asString();
 		if(!value["ClientId"].isNull())
 			dataObject.clientId = value["ClientId"].asString();
+		if(!value["ProductKey"].isNull())
+			dataObject.productKey = value["ProductKey"].asString();
+		if(!value["DeviceName"].isNull())
+			dataObject.deviceName = value["DeviceName"].asString();
 		data_.push_back(dataObject);
 	}
 	if(!value["Code"].isNull())

+ 22 - 0
linkface/src/model/QuerySyncPicScheduleRequest.cc

@@ -36,3 +36,25 @@ void QuerySyncPicScheduleRequest::setIotId(const std::string& iotId)
 	setParameter("IotId", iotId);
 }
 
+std::string QuerySyncPicScheduleRequest::getDeviceName()const
+{
+	return deviceName_;
+}
+
+void QuerySyncPicScheduleRequest::setDeviceName(const std::string& deviceName)
+{
+	deviceName_ = deviceName;
+	setParameter("DeviceName", deviceName);
+}
+
+std::string QuerySyncPicScheduleRequest::getProductKey()const
+{
+	return productKey_;
+}
+
+void QuerySyncPicScheduleRequest::setProductKey(const std::string& productKey)
+{
+	productKey_ = productKey;
+	setParameter("ProductKey", productKey);
+}
+

+ 22 - 0
linkface/src/model/SyncFacePicturesRequest.cc

@@ -47,3 +47,25 @@ void SyncFacePicturesRequest::setGroupId(const std::string& groupId)
 	setParameter("GroupId", groupId);
 }
 
+std::string SyncFacePicturesRequest::getDeviceName()const
+{
+	return deviceName_;
+}
+
+void SyncFacePicturesRequest::setDeviceName(const std::string& deviceName)
+{
+	deviceName_ = deviceName;
+	setParameter("DeviceName", deviceName);
+}
+
+std::string SyncFacePicturesRequest::getProductKey()const
+{
+	return productKey_;
+}
+
+void SyncFacePicturesRequest::setProductKey(const std::string& productKey)
+{
+	productKey_ = productKey;
+	setParameter("ProductKey", productKey);
+}
+