Add support for thing model function block features, including thing model APIs like CreateThingModel,UpdateThingModel,SetDeviceProperty,InvokeThingService etc.

This commit is contained in:
sdk-team
2020-12-31 11:37:42 +00:00
parent fd8db44215
commit 7da7f672b5
177 changed files with 10526 additions and 108 deletions

View File

@@ -27,6 +27,17 @@ QueryThingModelRequest::QueryThingModelRequest() :
QueryThingModelRequest::~QueryThingModelRequest()
{}
std::string QueryThingModelRequest::getRealTenantId()const
{
return realTenantId_;
}
void QueryThingModelRequest::setRealTenantId(const std::string& realTenantId)
{
realTenantId_ = realTenantId;
setParameter("RealTenantId", realTenantId);
}
std::string QueryThingModelRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -38,6 +49,17 @@ void QueryThingModelRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string QueryThingModelRequest::getRealTripartiteKey()const
{
return realTripartiteKey_;
}
void QueryThingModelRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
{
realTripartiteKey_ = realTripartiteKey;
setParameter("RealTripartiteKey", realTripartiteKey);
}
std::string QueryThingModelRequest::getResourceGroupId()const
{
return resourceGroupId_;
@@ -104,3 +126,14 @@ void QueryThingModelRequest::setModelVersion(const std::string& modelVersion)
setParameter("ModelVersion", modelVersion);
}
std::string QueryThingModelRequest::getFunctionBlockId()const
{
return functionBlockId_;
}
void QueryThingModelRequest::setFunctionBlockId(const std::string& functionBlockId)
{
functionBlockId_ = functionBlockId;
setParameter("FunctionBlockId", functionBlockId);
}