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