Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
052017ee0a |
@@ -1,3 +1,9 @@
|
||||
2021-02-08 Version: patch
|
||||
- Fix IoT Studio BatchBindDevicesIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchBindProductsIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectDevices API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectProducts API return datatype.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Add username for RunCommand and InvokeCommand.
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchBindDevicesIntoProjectResult();
|
||||
explicit BatchBindDevicesIntoProjectResult(const std::string &payload);
|
||||
~BatchBindDevicesIntoProjectResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchBindProductsIntoProjectResult();
|
||||
explicit BatchBindProductsIntoProjectResult(const std::string &payload);
|
||||
~BatchBindProductsIntoProjectResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchUnbindProjectDevicesResult();
|
||||
explicit BatchUnbindProjectDevicesResult(const std::string &payload);
|
||||
~BatchUnbindProjectDevicesResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchUnbindProjectProductsResult();
|
||||
explicit BatchUnbindProjectProductsResult(const std::string &payload);
|
||||
~BatchUnbindProjectProductsResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getGroupName()const;
|
||||
@@ -45,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string groupName_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
QueryConsumerGroupListRequest();
|
||||
~QueryConsumerGroupListRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
@@ -51,6 +55,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
bool fuzzy_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
QueryConsumerGroupStatusRequest();
|
||||
~QueryConsumerGroupStatusRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string groupId_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
QueryProductTopicRequest();
|
||||
~QueryProductTopicRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
@@ -47,7 +51,9 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
QuerySubscribeRelationRequest();
|
||||
~QuerySubscribeRelationRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
@@ -47,7 +51,9 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string type_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchBindDevicesIntoProjectResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchBindDevicesIntoProjectResult::getData()const
|
||||
bool BatchBindDevicesIntoProjectResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchBindProductsIntoProjectResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchBindProductsIntoProjectResult::getData()const
|
||||
bool BatchBindProductsIntoProjectResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchUnbindProjectDevicesResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchUnbindProjectDevicesResult::getData()const
|
||||
bool BatchUnbindProjectDevicesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchUnbindProjectProductsResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchUnbindProjectProductsResult::getData()const
|
||||
bool BatchUnbindProjectProductsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,28 @@ CreateConsumerGroupRequest::CreateConsumerGroupRequest() :
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,28 @@ QueryConsumerGroupListRequest::QueryConsumerGroupListRequest() :
|
||||
QueryConsumerGroupListRequest::~QueryConsumerGroupListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupListRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupListRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,28 @@ QueryConsumerGroupStatusRequest::QueryConsumerGroupStatusRequest() :
|
||||
QueryConsumerGroupStatusRequest::~QueryConsumerGroupStatusRequest()
|
||||
{}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupStatusRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupStatusRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ QueryProductTopicRequest::QueryProductTopicRequest() :
|
||||
QueryProductTopicRequest::~QueryProductTopicRequest()
|
||||
{}
|
||||
|
||||
std::string QueryProductTopicRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryProductTopicRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -38,6 +49,17 @@ void QueryProductTopicRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryProductTopicRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ QuerySubscribeRelationRequest::QuerySubscribeRelationRequest() :
|
||||
QuerySubscribeRelationRequest::~QuerySubscribeRelationRequest()
|
||||
{}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QuerySubscribeRelationRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -38,6 +49,17 @@ void QuerySubscribeRelationRequest::setType(const std::string& type)
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QuerySubscribeRelationRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
Reference in New Issue
Block a user