Bladeren bron

QueryChatappBindWaba接口增加businessId, businessName参数返回

sdk-team 2 jaren geleden
bovenliggende
commit
cfd6b2d640

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1983
+1.36.1984

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

@@ -35,10 +35,12 @@ namespace AlibabaCloud
 				struct Data
 				{
 					std::string authInternationalRateEligibility;
+					std::string businessName;
 					std::string currency;
 					std::string id;
 					std::string accountReviewStatus;
 					std::string messageTemplateNamespace;
+					std::string businessId;
 					std::string name;
 					std::string primaryBusinessLocation;
 				};

+ 4 - 0
cams/src/model/QueryChatappBindWabaResult.cc

@@ -42,6 +42,8 @@ void QueryChatappBindWabaResult::parse(const std::string &payload)
 	auto dataNode = value["Data"];
 	if(!dataNode["AuthInternationalRateEligibility"].isNull())
 		data_.authInternationalRateEligibility = dataNode["AuthInternationalRateEligibility"].asString();
+	if(!dataNode["BusinessName"].isNull())
+		data_.businessName = dataNode["BusinessName"].asString();
 	if(!dataNode["Currency"].isNull())
 		data_.currency = dataNode["Currency"].asString();
 	if(!dataNode["Id"].isNull())
@@ -50,6 +52,8 @@ void QueryChatappBindWabaResult::parse(const std::string &payload)
 		data_.accountReviewStatus = dataNode["AccountReviewStatus"].asString();
 	if(!dataNode["MessageTemplateNamespace"].isNull())
 		data_.messageTemplateNamespace = dataNode["MessageTemplateNamespace"].asString();
+	if(!dataNode["BusinessId"].isNull())
+		data_.businessId = dataNode["BusinessId"].asString();
 	if(!dataNode["Name"].isNull())
 		data_.name = dataNode["Name"].asString();
 	if(!dataNode["PrimaryBusinessLocation"].isNull())