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 @@ GetThingModelTslRequest::GetThingModelTslRequest() :
GetThingModelTslRequest::~GetThingModelTslRequest()
{}
std::string GetThingModelTslRequest::getRealTenantId()const
{
return realTenantId_;
}
void GetThingModelTslRequest::setRealTenantId(const std::string& realTenantId)
{
realTenantId_ = realTenantId;
setParameter("RealTenantId", realTenantId);
}
bool GetThingModelTslRequest::getSimple()const
{
return simple_;
@@ -49,6 +60,17 @@ void GetThingModelTslRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string GetThingModelTslRequest::getRealTripartiteKey()const
{
return realTripartiteKey_;
}
void GetThingModelTslRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
{
realTripartiteKey_ = realTripartiteKey;
setParameter("RealTripartiteKey", realTripartiteKey);
}
std::string GetThingModelTslRequest::getResourceGroupId()const
{
return resourceGroupId_;
@@ -115,3 +137,14 @@ void GetThingModelTslRequest::setModelVersion(const std::string& modelVersion)
setParameter("ModelVersion", modelVersion);
}
std::string GetThingModelTslRequest::getFunctionBlockId()const
{
return functionBlockId_;
}
void GetThingModelTslRequest::setFunctionBlockId(const std::string& functionBlockId)
{
functionBlockId_ = functionBlockId;
setParameter("FunctionBlockId", functionBlockId);
}