LINKFACE SDK Auto Released By jiayao.wjy,Version:1.30.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user