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:
yixiong.jxy
2018-11-02 19:41:11 +08:00
parent f87f6a1649
commit f189a9dbb2
12 changed files with 124 additions and 1 deletions

View File

@@ -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_;
};
}

View File

@@ -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_;
};
}

View File

@@ -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;
};

View File

@@ -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_;
};
}

View File

@@ -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_;
};
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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())

View File

@@ -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);
}

View File

@@ -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);
}