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 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user