Bladeren bron

Generated 2020-06-06 for cams.

sdk-team 2 jaren geleden
bovenliggende
commit
589d7c0177

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1919
+1.36.1920

+ 12 - 21
cams/include/alibabacloud/cams/model/DeleteFlowRequest.h

@@ -30,29 +30,20 @@ class ALIBABACLOUD_CAMS_EXPORT DeleteFlowRequest : public RpcServiceRequest {
 public:
 	DeleteFlowRequest();
 	~DeleteFlowRequest();
-	long getResourceOwnerId() const;
-	void setResourceOwnerId(long resourceOwnerId);
-	std::string getCode() const;
-	void setCode(const std::string &code);
-	std::string getExtendFunction() const;
-	void setExtendFunction(const std::string &extendFunction);
-	std::string getAccessKeyId() const;
-	void setAccessKeyId(const std::string &accessKeyId);
-	std::string getRouteName() const;
-	void setRouteName(const std::string &routeName);
-	std::string getResourceOwnerAccount() const;
-	void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
-	long getOwnerId() const;
-	void setOwnerId(long ownerId);
+	std::string getApiCode() const;
+	void setApiCode(const std::string &apiCode);
+	std::string getProdCode() const;
+	void setProdCode(const std::string &prodCode);
+	std::string getCustSpaceId() const;
+	void setCustSpaceId(const std::string &custSpaceId);
+	std::string getFlowId() const;
+	void setFlowId(const std::string &flowId);
 
 private:
-	long resourceOwnerId_;
-	std::string code_;
-	std::string extendFunction_;
-	std::string accessKeyId_;
-	std::string routeName_;
-	std::string resourceOwnerAccount_;
-	long ownerId_;
+	std::string apiCode_;
+	std::string prodCode_;
+	std::string custSpaceId_;
+	std::string flowId_;
 };
 } // namespace Model
 } // namespace Cams

+ 0 - 6
cams/include/alibabacloud/cams/model/DeleteFlowResult.h

@@ -37,20 +37,14 @@ namespace AlibabaCloud
 				DeleteFlowResult();
 				explicit DeleteFlowResult(const std::string &payload);
 				~DeleteFlowResult();
-				std::string getResponse()const;
-				std::string getAccessDeniedDetail()const;
 				std::string getMessage()const;
 				std::string getCode()const;
-				bool getSuccess()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string response_;
-				std::string accessDeniedDetail_;
 				std::string message_;
 				std::string code_;
-				bool success_;
 
 			};
 		}

+ 3 - 0
cams/include/alibabacloud/cams/model/ListChatappTemplateRequest.h

@@ -34,6 +34,8 @@ public:
 	};
 	ListChatappTemplateRequest();
 	~ListChatappTemplateRequest();
+	std::string getCode() const;
+	void setCode(const std::string &code);
 	std::string getLanguage() const;
 	void setLanguage(const std::string &language);
 	std::string getCustWabaId() const;
@@ -56,6 +58,7 @@ public:
 	void setPage(const Page &page);
 
 private:
+	std::string code_;
 	std::string language_;
 	std::string custWabaId_;
 	std::string apiCode_;

+ 19 - 27
cams/include/alibabacloud/cams/model/ListFlowRequest.h

@@ -28,37 +28,29 @@ namespace Cams {
 namespace Model {
 class ALIBABACLOUD_CAMS_EXPORT ListFlowRequest : public RpcServiceRequest {
 public:
+	struct Page {
+		int size;
+		int index;
+	};
 	ListFlowRequest();
 	~ListFlowRequest();
-	long getResourceOwnerId() const;
-	void setResourceOwnerId(long resourceOwnerId);
-	std::string getExtendFunction() const;
-	void setExtendFunction(const std::string &extendFunction);
-	std::string getAccessKeyId() const;
-	void setAccessKeyId(const std::string &accessKeyId);
-	long getPageSize() const;
-	void setPageSize(long pageSize);
-	std::string getRouteName() const;
-	void setRouteName(const std::string &routeName);
-	std::string getResourceOwnerAccount() const;
-	void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
-	long getOwnerId() const;
-	void setOwnerId(long ownerId);
-	long getPageNo() const;
-	void setPageNo(long pageNo);
-	std::string getStatus() const;
-	void setStatus(const std::string &status);
+	std::string getApiCode() const;
+	void setApiCode(const std::string &apiCode);
+	std::string getProdCode() const;
+	void setProdCode(const std::string &prodCode);
+	std::string getCustSpaceId() const;
+	void setCustSpaceId(const std::string &custSpaceId);
+	std::string getFlowName() const;
+	void setFlowName(const std::string &flowName);
+	Page getPage() const;
+	void setPage(const Page &page);
 
 private:
-	long resourceOwnerId_;
-	std::string extendFunction_;
-	std::string accessKeyId_;
-	long pageSize_;
-	std::string routeName_;
-	std::string resourceOwnerAccount_;
-	long ownerId_;
-	long pageNo_;
-	std::string status_;
+	std::string apiCode_;
+	std::string prodCode_;
+	std::string custSpaceId_;
+	std::string flowName_;
+	Page page_;
 };
 } // namespace Model
 } // namespace Cams

+ 6 - 18
cams/include/alibabacloud/cams/model/ListFlowResult.h

@@ -32,39 +32,27 @@ namespace AlibabaCloud
 			class ALIBABACLOUD_CAMS_EXPORT ListFlowResult : public ServiceResult
 			{
 			public:
-				struct DataItem
+				struct 返回结果
 				{
-					std::string status;
-					std::string gmtCreate;
-					std::string gmtModified;
-					std::string title;
-					std::string partnerId;
-					std::string id;
-					std::string code;
-					std::string bizCode;
-					std::string remark;
+					std::string flowId;
+					std::vector<std::string> categories;
+					std::string flowName;
 				};
 
 
 				ListFlowResult();
 				explicit ListFlowResult(const std::string &payload);
 				~ListFlowResult();
-				std::string getResponse()const;
-				std::string getAccessDeniedDetail()const;
 				std::string getMessage()const;
-				std::vector<DataItem> getData()const;
+				std::vector<返回结果> getData()const;
 				std::string getCode()const;
-				bool getSuccess()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string response_;
-				std::string accessDeniedDetail_;
 				std::string message_;
-				std::vector<DataItem> data_;
+				std::vector<返回结果> data_;
 				std::string code_;
-				bool success_;
 
 			};
 		}

+ 27 - 6
cams/include/alibabacloud/cams/model/QueryChatappBindWabaRequest.h

@@ -30,19 +30,40 @@ class ALIBABACLOUD_CAMS_EXPORT QueryChatappBindWabaRequest : public RpcServiceRe
 public:
 	QueryChatappBindWabaRequest();
 	~QueryChatappBindWabaRequest();
-	std::string getApiCode() const;
-	void setApiCode(const std::string &apiCode);
+	long getResourceOwnerId() const;
+	void setResourceOwnerId(long resourceOwnerId);
+	std::string getLowcodeTenantId() const;
+	void setLowcodeTenantId(const std::string &lowcodeTenantId);
+	std::string getExtendFunction() const;
+	void setExtendFunction(const std::string &extendFunction);
+	std::string getAccessKeyId() const;
+	void setAccessKeyId(const std::string &accessKeyId);
+	std::string getLowcodePhysicAppName() const;
+	void setLowcodePhysicAppName(const std::string &lowcodePhysicAppName);
+	std::string getRouteName() const;
+	void setRouteName(const std::string &routeName);
 	std::string getIsvCode() const;
 	void setIsvCode(const std::string &isvCode);
-	std::string getProdCode() const;
-	void setProdCode(const std::string &prodCode);
+	std::string getResourceOwnerAccount() const;
+	void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
+	long getOwnerId() const;
+	void setOwnerId(long ownerId);
+	std::string getLowcodeLogicAppName() const;
+	void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
 	std::string getCustSpaceId() const;
 	void setCustSpaceId(const std::string &custSpaceId);
 
 private:
-	std::string apiCode_;
+	long resourceOwnerId_;
+	std::string lowcodeTenantId_;
+	std::string extendFunction_;
+	std::string accessKeyId_;
+	std::string lowcodePhysicAppName_;
+	std::string routeName_;
 	std::string isvCode_;
-	std::string prodCode_;
+	std::string resourceOwnerAccount_;
+	long ownerId_;
+	std::string lowcodeLogicAppName_;
 	std::string custSpaceId_;
 };
 } // namespace Model

+ 4 - 0
cams/include/alibabacloud/cams/model/QueryChatappBindWabaResult.h

@@ -34,11 +34,13 @@ namespace AlibabaCloud
 			public:
 				struct Data
 				{
+					std::string authInternationalRateEligibility;
 					std::string currency;
 					std::string id;
 					std::string accountReviewStatus;
 					std::string messageTemplateNamespace;
 					std::string name;
+					std::string primaryBusinessLocation;
 				};
 
 
@@ -49,6 +51,7 @@ namespace AlibabaCloud
 				std::string getMessage()const;
 				Data getData()const;
 				std::string getCode()const;
+				bool getSuccess()const;
 
 			protected:
 				void parse(const std::string &payload);
@@ -57,6 +60,7 @@ namespace AlibabaCloud
 				std::string message_;
 				Data data_;
 				std::string code_;
+				bool success_;
 
 			};
 		}

+ 20 - 47
cams/src/model/DeleteFlowRequest.cc

@@ -25,66 +25,39 @@ DeleteFlowRequest::DeleteFlowRequest()
 
 DeleteFlowRequest::~DeleteFlowRequest() {}
 
-long DeleteFlowRequest::getResourceOwnerId() const {
-  return resourceOwnerId_;
+std::string DeleteFlowRequest::getApiCode() const {
+  return apiCode_;
 }
 
-void DeleteFlowRequest::setResourceOwnerId(long resourceOwnerId) {
-  resourceOwnerId_ = resourceOwnerId;
-  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
+void DeleteFlowRequest::setApiCode(const std::string &apiCode) {
+  apiCode_ = apiCode;
+  setParameter(std::string("ApiCode"), apiCode);
 }
 
-std::string DeleteFlowRequest::getCode() const {
-  return code_;
+std::string DeleteFlowRequest::getProdCode() const {
+  return prodCode_;
 }
 
-void DeleteFlowRequest::setCode(const std::string &code) {
-  code_ = code;
-  setParameter(std::string("Code"), code);
+void DeleteFlowRequest::setProdCode(const std::string &prodCode) {
+  prodCode_ = prodCode;
+  setParameter(std::string("ProdCode"), prodCode);
 }
 
-std::string DeleteFlowRequest::getExtendFunction() const {
-  return extendFunction_;
+std::string DeleteFlowRequest::getCustSpaceId() const {
+  return custSpaceId_;
 }
 
-void DeleteFlowRequest::setExtendFunction(const std::string &extendFunction) {
-  extendFunction_ = extendFunction;
-  setParameter(std::string("ExtendFunction"), extendFunction);
+void DeleteFlowRequest::setCustSpaceId(const std::string &custSpaceId) {
+  custSpaceId_ = custSpaceId;
+  setBodyParameter(std::string("CustSpaceId"), custSpaceId);
 }
 
-std::string DeleteFlowRequest::getAccessKeyId() const {
-  return accessKeyId_;
+std::string DeleteFlowRequest::getFlowId() const {
+  return flowId_;
 }
 
-void DeleteFlowRequest::setAccessKeyId(const std::string &accessKeyId) {
-  accessKeyId_ = accessKeyId;
-  setParameter(std::string("AccessKeyId"), accessKeyId);
-}
-
-std::string DeleteFlowRequest::getRouteName() const {
-  return routeName_;
-}
-
-void DeleteFlowRequest::setRouteName(const std::string &routeName) {
-  routeName_ = routeName;
-  setParameter(std::string("RouteName"), routeName);
-}
-
-std::string DeleteFlowRequest::getResourceOwnerAccount() const {
-  return resourceOwnerAccount_;
-}
-
-void DeleteFlowRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
-  resourceOwnerAccount_ = resourceOwnerAccount;
-  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
-}
-
-long DeleteFlowRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void DeleteFlowRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+void DeleteFlowRequest::setFlowId(const std::string &flowId) {
+  flowId_ = flowId;
+  setBodyParameter(std::string("FlowId"), flowId);
 }
 

+ 2 - 23
cams/src/model/DeleteFlowResult.cc

@@ -39,27 +39,11 @@ void DeleteFlowResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
-	if(!value["Response"].isNull())
-		response_ = value["Response"].asString();
-	if(!value["AccessDeniedDetail"].isNull())
-		accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
-	if(!value["Message"].isNull())
-		message_ = value["Message"].asString();
 	if(!value["Code"].isNull())
 		code_ = value["Code"].asString();
-	if(!value["Success"].isNull())
-		success_ = value["Success"].asString() == "true";
-
-}
-
-std::string DeleteFlowResult::getResponse()const
-{
-	return response_;
-}
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
 
-std::string DeleteFlowResult::getAccessDeniedDetail()const
-{
-	return accessDeniedDetail_;
 }
 
 std::string DeleteFlowResult::getMessage()const
@@ -72,8 +56,3 @@ std::string DeleteFlowResult::getCode()const
 	return code_;
 }
 
-bool DeleteFlowResult::getSuccess()const
-{
-	return success_;
-}
-

+ 9 - 0
cams/src/model/ListChatappTemplateRequest.cc

@@ -25,6 +25,15 @@ ListChatappTemplateRequest::ListChatappTemplateRequest()
 
 ListChatappTemplateRequest::~ListChatappTemplateRequest() {}
 
+std::string ListChatappTemplateRequest::getCode() const {
+  return code_;
+}
+
+void ListChatappTemplateRequest::setCode(const std::string &code) {
+  code_ = code;
+  setParameter(std::string("Code"), code);
+}
+
 std::string ListChatappTemplateRequest::getLanguage() const {
   return language_;
 }

+ 26 - 61
cams/src/model/ListFlowRequest.cc

@@ -25,84 +25,49 @@ ListFlowRequest::ListFlowRequest()
 
 ListFlowRequest::~ListFlowRequest() {}
 
-long ListFlowRequest::getResourceOwnerId() const {
-  return resourceOwnerId_;
+std::string ListFlowRequest::getApiCode() const {
+  return apiCode_;
 }
 
-void ListFlowRequest::setResourceOwnerId(long resourceOwnerId) {
-  resourceOwnerId_ = resourceOwnerId;
-  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
+void ListFlowRequest::setApiCode(const std::string &apiCode) {
+  apiCode_ = apiCode;
+  setParameter(std::string("ApiCode"), apiCode);
 }
 
-std::string ListFlowRequest::getExtendFunction() const {
-  return extendFunction_;
+std::string ListFlowRequest::getProdCode() const {
+  return prodCode_;
 }
 
-void ListFlowRequest::setExtendFunction(const std::string &extendFunction) {
-  extendFunction_ = extendFunction;
-  setParameter(std::string("ExtendFunction"), extendFunction);
+void ListFlowRequest::setProdCode(const std::string &prodCode) {
+  prodCode_ = prodCode;
+  setParameter(std::string("ProdCode"), prodCode);
 }
 
-std::string ListFlowRequest::getAccessKeyId() const {
-  return accessKeyId_;
+std::string ListFlowRequest::getCustSpaceId() const {
+  return custSpaceId_;
 }
 
-void ListFlowRequest::setAccessKeyId(const std::string &accessKeyId) {
-  accessKeyId_ = accessKeyId;
-  setParameter(std::string("AccessKeyId"), accessKeyId);
+void ListFlowRequest::setCustSpaceId(const std::string &custSpaceId) {
+  custSpaceId_ = custSpaceId;
+  setBodyParameter(std::string("CustSpaceId"), custSpaceId);
 }
 
-long ListFlowRequest::getPageSize() const {
-  return pageSize_;
+std::string ListFlowRequest::getFlowName() const {
+  return flowName_;
 }
 
-void ListFlowRequest::setPageSize(long pageSize) {
-  pageSize_ = pageSize;
-  setParameter(std::string("PageSize"), std::to_string(pageSize));
+void ListFlowRequest::setFlowName(const std::string &flowName) {
+  flowName_ = flowName;
+  setBodyParameter(std::string("FlowName"), flowName);
 }
 
-std::string ListFlowRequest::getRouteName() const {
-  return routeName_;
+ListFlowRequest::Page ListFlowRequest::getPage() const {
+  return page_;
 }
 
-void ListFlowRequest::setRouteName(const std::string &routeName) {
-  routeName_ = routeName;
-  setParameter(std::string("RouteName"), routeName);
-}
-
-std::string ListFlowRequest::getResourceOwnerAccount() const {
-  return resourceOwnerAccount_;
-}
-
-void ListFlowRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
-  resourceOwnerAccount_ = resourceOwnerAccount;
-  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
-}
-
-long ListFlowRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void ListFlowRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-
-long ListFlowRequest::getPageNo() const {
-  return pageNo_;
-}
-
-void ListFlowRequest::setPageNo(long pageNo) {
-  pageNo_ = pageNo;
-  setParameter(std::string("PageNo"), std::to_string(pageNo));
-}
-
-std::string ListFlowRequest::getStatus() const {
-  return status_;
-}
-
-void ListFlowRequest::setStatus(const std::string &status) {
-  status_ = status;
-  setParameter(std::string("Status"), status);
+void ListFlowRequest::setPage(const ListFlowRequest::Page &page) {
+  page_ = page;
+  setBodyParameter(std::string("Page") + ".Size", std::to_string(page.size));
+  setBodyParameter(std::string("Page") + ".Index", std::to_string(page.index));
 }
 

+ 13 - 45
cams/src/model/ListFlowResult.cc

@@ -39,51 +39,24 @@ void ListFlowResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
-	auto allDataNode = value["Data"]["dataItem"];
-	for (auto valueDatadataItem : allDataNode)
+	auto allDataNode = value["Data"]["返回结果"];
+	for (auto valueData返回结果 : allDataNode)
 	{
-		DataItem dataObject;
-		if(!valueDatadataItem["Status"].isNull())
-			dataObject.status = valueDatadataItem["Status"].asString();
-		if(!valueDatadataItem["GmtCreate"].isNull())
-			dataObject.gmtCreate = valueDatadataItem["GmtCreate"].asString();
-		if(!valueDatadataItem["GmtModified"].isNull())
-			dataObject.gmtModified = valueDatadataItem["GmtModified"].asString();
-		if(!valueDatadataItem["Title"].isNull())
-			dataObject.title = valueDatadataItem["Title"].asString();
-		if(!valueDatadataItem["PartnerId"].isNull())
-			dataObject.partnerId = valueDatadataItem["PartnerId"].asString();
-		if(!valueDatadataItem["Id"].isNull())
-			dataObject.id = valueDatadataItem["Id"].asString();
-		if(!valueDatadataItem["Code"].isNull())
-			dataObject.code = valueDatadataItem["Code"].asString();
-		if(!valueDatadataItem["BizCode"].isNull())
-			dataObject.bizCode = valueDatadataItem["BizCode"].asString();
-		if(!valueDatadataItem["Remark"].isNull())
-			dataObject.remark = valueDatadataItem["Remark"].asString();
+		返回结果 dataObject;
+		if(!valueData返回结果["FlowId"].isNull())
+			dataObject.flowId = valueData返回结果["FlowId"].asString();
+		if(!valueData返回结果["FlowName"].isNull())
+			dataObject.flowName = valueData返回结果["FlowName"].asString();
+		auto allCategories = value["Categories"]["目录"];
+		for (auto value : allCategories)
+			dataObject.categories.push_back(value.asString());
 		data_.push_back(dataObject);
 	}
-	if(!value["Response"].isNull())
-		response_ = value["Response"].asString();
-	if(!value["AccessDeniedDetail"].isNull())
-		accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
-	if(!value["Message"].isNull())
-		message_ = value["Message"].asString();
 	if(!value["Code"].isNull())
 		code_ = value["Code"].asString();
-	if(!value["Success"].isNull())
-		success_ = value["Success"].asString() == "true";
-
-}
-
-std::string ListFlowResult::getResponse()const
-{
-	return response_;
-}
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
 
-std::string ListFlowResult::getAccessDeniedDetail()const
-{
-	return accessDeniedDetail_;
 }
 
 std::string ListFlowResult::getMessage()const
@@ -91,7 +64,7 @@ std::string ListFlowResult::getMessage()const
 	return message_;
 }
 
-std::vector<ListFlowResult::DataItem> ListFlowResult::getData()const
+std::vector<ListFlowResult::返回结果> ListFlowResult::getData()const
 {
 	return data_;
 }
@@ -101,8 +74,3 @@ std::string ListFlowResult::getCode()const
 	return code_;
 }
 
-bool ListFlowResult::getSuccess()const
-{
-	return success_;
-}
-

+ 73 - 10
cams/src/model/QueryChatappBindWabaRequest.cc

@@ -25,13 +25,58 @@ QueryChatappBindWabaRequest::QueryChatappBindWabaRequest()
 
 QueryChatappBindWabaRequest::~QueryChatappBindWabaRequest() {}
 
-std::string QueryChatappBindWabaRequest::getApiCode() const {
-  return apiCode_;
+long QueryChatappBindWabaRequest::getResourceOwnerId() const {
+  return resourceOwnerId_;
 }
 
-void QueryChatappBindWabaRequest::setApiCode(const std::string &apiCode) {
-  apiCode_ = apiCode;
-  setParameter(std::string("ApiCode"), apiCode);
+void QueryChatappBindWabaRequest::setResourceOwnerId(long resourceOwnerId) {
+  resourceOwnerId_ = resourceOwnerId;
+  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
+}
+
+std::string QueryChatappBindWabaRequest::getLowcodeTenantId() const {
+  return lowcodeTenantId_;
+}
+
+void QueryChatappBindWabaRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
+  lowcodeTenantId_ = lowcodeTenantId;
+  setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
+}
+
+std::string QueryChatappBindWabaRequest::getExtendFunction() const {
+  return extendFunction_;
+}
+
+void QueryChatappBindWabaRequest::setExtendFunction(const std::string &extendFunction) {
+  extendFunction_ = extendFunction;
+  setParameter(std::string("ExtendFunction"), extendFunction);
+}
+
+std::string QueryChatappBindWabaRequest::getAccessKeyId() const {
+  return accessKeyId_;
+}
+
+void QueryChatappBindWabaRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
+}
+
+std::string QueryChatappBindWabaRequest::getLowcodePhysicAppName() const {
+  return lowcodePhysicAppName_;
+}
+
+void QueryChatappBindWabaRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
+  lowcodePhysicAppName_ = lowcodePhysicAppName;
+  setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
+}
+
+std::string QueryChatappBindWabaRequest::getRouteName() const {
+  return routeName_;
+}
+
+void QueryChatappBindWabaRequest::setRouteName(const std::string &routeName) {
+  routeName_ = routeName;
+  setParameter(std::string("RouteName"), routeName);
 }
 
 std::string QueryChatappBindWabaRequest::getIsvCode() const {
@@ -43,13 +88,31 @@ void QueryChatappBindWabaRequest::setIsvCode(const std::string &isvCode) {
   setParameter(std::string("IsvCode"), isvCode);
 }
 
-std::string QueryChatappBindWabaRequest::getProdCode() const {
-  return prodCode_;
+std::string QueryChatappBindWabaRequest::getResourceOwnerAccount() const {
+  return resourceOwnerAccount_;
+}
+
+void QueryChatappBindWabaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
+  resourceOwnerAccount_ = resourceOwnerAccount;
+  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
+}
+
+long QueryChatappBindWabaRequest::getOwnerId() const {
+  return ownerId_;
+}
+
+void QueryChatappBindWabaRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+}
+
+std::string QueryChatappBindWabaRequest::getLowcodeLogicAppName() const {
+  return lowcodeLogicAppName_;
 }
 
-void QueryChatappBindWabaRequest::setProdCode(const std::string &prodCode) {
-  prodCode_ = prodCode;
-  setParameter(std::string("ProdCode"), prodCode);
+void QueryChatappBindWabaRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
+  lowcodeLogicAppName_ = lowcodeLogicAppName;
+  setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
 }
 
 std::string QueryChatappBindWabaRequest::getCustSpaceId() const {

+ 19 - 8
cams/src/model/QueryChatappBindWabaResult.cc

@@ -40,22 +40,28 @@ void QueryChatappBindWabaResult::parse(const std::string &payload)
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
 	auto dataNode = value["Data"];
-	if(!dataNode["Name"].isNull())
-		data_.name = dataNode["Name"].asString();
+	if(!dataNode["AuthInternationalRateEligibility"].isNull())
+		data_.authInternationalRateEligibility = dataNode["AuthInternationalRateEligibility"].asString();
 	if(!dataNode["Currency"].isNull())
 		data_.currency = dataNode["Currency"].asString();
 	if(!dataNode["Id"].isNull())
 		data_.id = dataNode["Id"].asString();
-	if(!dataNode["MessageTemplateNamespace"].isNull())
-		data_.messageTemplateNamespace = dataNode["MessageTemplateNamespace"].asString();
 	if(!dataNode["AccountReviewStatus"].isNull())
 		data_.accountReviewStatus = dataNode["AccountReviewStatus"].asString();
-	if(!value["Code"].isNull())
-		code_ = value["Code"].asString();
-	if(!value["Message"].isNull())
-		message_ = value["Message"].asString();
+	if(!dataNode["MessageTemplateNamespace"].isNull())
+		data_.messageTemplateNamespace = dataNode["MessageTemplateNamespace"].asString();
+	if(!dataNode["Name"].isNull())
+		data_.name = dataNode["Name"].asString();
+	if(!dataNode["PrimaryBusinessLocation"].isNull())
+		data_.primaryBusinessLocation = dataNode["PrimaryBusinessLocation"].asString();
 	if(!value["AccessDeniedDetail"].isNull())
 		accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
 
 }
 
@@ -79,3 +85,8 @@ std::string QueryChatappBindWabaResult::getCode()const
 	return code_;
 }
 
+bool QueryChatappBindWabaResult::getSuccess()const
+{
+	return success_;
+}
+