Add support for thing model function block features, including thing model APIs like CreateThingModel,UpdateThingModel,SetDeviceProperty,InvokeThingService etc.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user