diff --git a/aliyun-java-sdk-cams/ChangeLog.txt b/aliyun-java-sdk-cams/ChangeLog.txt
index 1cc981c778..0508f58841 100644
--- a/aliyun-java-sdk-cams/ChangeLog.txt
+++ b/aliyun-java-sdk-cams/ChangeLog.txt
@@ -1,3 +1,7 @@
+2024-07-25 Version: 1.0.14
+- 增加号码开场白、命令等
+- 模板列表增加最迟更新时间
+
2024-06-21 Version: 1.0.13
- Authentication template add SupportApps
diff --git a/aliyun-java-sdk-cams/pom.xml b/aliyun-java-sdk-cams/pom.xml
index 1c95df0a86..2a947c75cf 100644
--- a/aliyun-java-sdk-cams/pom.xml
+++ b/aliyun-java-sdk-cams/pom.xml
@@ -4,7 +4,7 @@
com.aliyun
aliyun-java-sdk-cams
jar
- 1.0.13
+ 1.0.14
aliyun-java-sdk-cams
http://www.aliyun.com
Aliyun Open API SDK for Java
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberRequest.java
index ff1c6be03e..e18bced52a 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberRequest.java
@@ -25,6 +25,8 @@
public class AddChatappPhoneNumberRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String preValidateId;
private String verifiedName;
@@ -33,6 +35,10 @@ public class AddChatappPhoneNumberRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String wabaId;
public ChatappBindWabaRequest() {
super("cams", "2020-06-06", "ChatappBindWaba", "cams");
@@ -35,6 +41,39 @@ public ChatappBindWabaRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getWabaId() {
return this.wabaId;
}
@@ -42,7 +81,7 @@ public String getWabaId() {
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
- putBodyParameter("WabaId", wabaId);
+ putQueryParameter("WabaId", wabaId);
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappBindWabaResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappBindWabaResponse.java
index d6500082ea..e04bf19146 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappBindWabaResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappBindWabaResponse.java
@@ -24,16 +24,34 @@
*/
public class ChatappBindWabaResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
-
- private String accessDeniedDetail;
+ private Boolean success;
private Data data;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
public String getRequestId() {
return this.requestId;
}
@@ -50,20 +68,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
- }
-
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
public Data getData() {
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterRequest.java
index 425b2807c4..a0cb7b24c5 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterRequest.java
@@ -25,8 +25,14 @@
public class ChatappPhoneNumberRegisterRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public ChatappPhoneNumberRegisterRequest() {
super("cams", "2020-06-06", "ChatappPhoneNumberRegister", "cams");
@@ -37,6 +43,17 @@ public ChatappPhoneNumberRegisterRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -44,7 +61,29 @@ public String getPhoneNumber() {
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
- putBodyParameter("PhoneNumber", phoneNumber);
+ putQueryParameter("PhoneNumber", phoneNumber);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
}
}
@@ -55,7 +94,7 @@ public String getCustSpaceId() {
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
- putBodyParameter("CustSpaceId", custSpaceId);
+ putQueryParameter("CustSpaceId", custSpaceId);
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterResponse.java
index 4adfb4a3bd..5a2fecaa14 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterResponse.java
@@ -24,13 +24,31 @@
*/
public class ChatappPhoneNumberRegisterResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
- private String accessDeniedDetail;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
public String getRequestId() {
return this.requestId;
@@ -48,20 +66,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
@Override
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberRequest.java
index 293f36720d..a1bb596a01 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberRequest.java
@@ -25,6 +25,12 @@
public class ChatappSyncPhoneNumberRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public ChatappSyncPhoneNumberRequest() {
super("cams", "2020-06-06", "ChatappSyncPhoneNumber", "cams");
@@ -35,6 +41,39 @@ public ChatappSyncPhoneNumberRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getCustSpaceId() {
return this.custSpaceId;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberResponse.java
index ae0101cf46..a8784dc5a8 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberResponse.java
@@ -25,15 +25,33 @@
*/
public class ChatappSyncPhoneNumberResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
- private String accessDeniedDetail;
+ private List phoneNumbers;
+
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
- private List phoneNumbers;
+ public void setMessage(String message) {
+ this.message = message;
+ }
public String getRequestId() {
return this.requestId;
@@ -51,126 +69,110 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
- public List getPhoneNumbers() {
+ public List getPhoneNumbers() {
return this.phoneNumbers;
}
- public void setPhoneNumbers(List phoneNumbers) {
+ public void setPhoneNumbers(List phoneNumbers) {
this.phoneNumbers = phoneNumbers;
}
- public static class PhoneNumbersItem {
-
- private String upQueue;
+ public static class Content {
- private String phoneNumber;
+ private String verifiedName;
- private String statusQueue;
+ private String status;
- private String verifiedName;
+ private String qualityRating;
- private String statusCallbackUrl;
+ private String codeVerificationStatus;
- private String upCallbackUrl;
+ private String newNameStatus;
- private String qualityRating;
+ private String phoneNumber;
- private String status;
+ private String statusQueue;
- private String codeVerificationStatus;
+ private String upQueue;
private String nameStatus;
- private String messagingLimitTier;
-
- private String newNameStatus;
+ private String upCallbackUrl;
- public String getUpQueue() {
- return this.upQueue;
- }
+ private String messagingLimitTier;
- public void setUpQueue(String upQueue) {
- this.upQueue = upQueue;
- }
+ private String statusCallbackUrl;
- public String getPhoneNumber() {
- return this.phoneNumber;
+ public String getVerifiedName() {
+ return this.verifiedName;
}
- public void setPhoneNumber(String phoneNumber) {
- this.phoneNumber = phoneNumber;
+ public void setVerifiedName(String verifiedName) {
+ this.verifiedName = verifiedName;
}
- public String getStatusQueue() {
- return this.statusQueue;
+ public String getStatus() {
+ return this.status;
}
- public void setStatusQueue(String statusQueue) {
- this.statusQueue = statusQueue;
+ public void setStatus(String status) {
+ this.status = status;
}
- public String getVerifiedName() {
- return this.verifiedName;
+ public String getQualityRating() {
+ return this.qualityRating;
}
- public void setVerifiedName(String verifiedName) {
- this.verifiedName = verifiedName;
+ public void setQualityRating(String qualityRating) {
+ this.qualityRating = qualityRating;
}
- public String getStatusCallbackUrl() {
- return this.statusCallbackUrl;
+ public String getCodeVerificationStatus() {
+ return this.codeVerificationStatus;
}
- public void setStatusCallbackUrl(String statusCallbackUrl) {
- this.statusCallbackUrl = statusCallbackUrl;
+ public void setCodeVerificationStatus(String codeVerificationStatus) {
+ this.codeVerificationStatus = codeVerificationStatus;
}
- public String getUpCallbackUrl() {
- return this.upCallbackUrl;
+ public String getNewNameStatus() {
+ return this.newNameStatus;
}
- public void setUpCallbackUrl(String upCallbackUrl) {
- this.upCallbackUrl = upCallbackUrl;
+ public void setNewNameStatus(String newNameStatus) {
+ this.newNameStatus = newNameStatus;
}
- public String getQualityRating() {
- return this.qualityRating;
+ public String getPhoneNumber() {
+ return this.phoneNumber;
}
- public void setQualityRating(String qualityRating) {
- this.qualityRating = qualityRating;
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
}
- public String getStatus() {
- return this.status;
+ public String getStatusQueue() {
+ return this.statusQueue;
}
- public void setStatus(String status) {
- this.status = status;
+ public void setStatusQueue(String statusQueue) {
+ this.statusQueue = statusQueue;
}
- public String getCodeVerificationStatus() {
- return this.codeVerificationStatus;
+ public String getUpQueue() {
+ return this.upQueue;
}
- public void setCodeVerificationStatus(String codeVerificationStatus) {
- this.codeVerificationStatus = codeVerificationStatus;
+ public void setUpQueue(String upQueue) {
+ this.upQueue = upQueue;
}
public String getNameStatus() {
@@ -181,6 +183,14 @@ public void setNameStatus(String nameStatus) {
this.nameStatus = nameStatus;
}
+ public String getUpCallbackUrl() {
+ return this.upCallbackUrl;
+ }
+
+ public void setUpCallbackUrl(String upCallbackUrl) {
+ this.upCallbackUrl = upCallbackUrl;
+ }
+
public String getMessagingLimitTier() {
return this.messagingLimitTier;
}
@@ -189,12 +199,12 @@ public void setMessagingLimitTier(String messagingLimitTier) {
this.messagingLimitTier = messagingLimitTier;
}
- public String getNewNameStatus() {
- return this.newNameStatus;
+ public String getStatusCallbackUrl() {
+ return this.statusCallbackUrl;
}
- public void setNewNameStatus(String newNameStatus) {
- this.newNameStatus = newNameStatus;
+ public void setStatusCallbackUrl(String statusCallbackUrl) {
+ this.statusCallbackUrl = statusCallbackUrl;
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterRequest.java
index cab3cd1a5d..a70171772b 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterRequest.java
@@ -25,10 +25,16 @@
public class ChatappVerifyAndRegisterRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
private String verifyCode;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public ChatappVerifyAndRegisterRequest() {
super("cams", "2020-06-06", "ChatappVerifyAndRegister", "cams");
@@ -39,6 +45,17 @@ public ChatappVerifyAndRegisterRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -46,7 +63,7 @@ public String getPhoneNumber() {
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
- putBodyParameter("PhoneNumber", phoneNumber);
+ putQueryParameter("PhoneNumber", phoneNumber);
}
}
@@ -57,7 +74,29 @@ public String getVerifyCode() {
public void setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
if(verifyCode != null){
- putBodyParameter("VerifyCode", verifyCode);
+ putQueryParameter("VerifyCode", verifyCode);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
}
}
@@ -68,7 +107,7 @@ public String getCustSpaceId() {
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
- putBodyParameter("CustSpaceId", custSpaceId);
+ putQueryParameter("CustSpaceId", custSpaceId);
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterResponse.java
index 85b4b95028..fe25436071 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterResponse.java
@@ -24,13 +24,31 @@
*/
public class ChatappVerifyAndRegisterResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
- private String accessDeniedDetail;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
public String getRequestId() {
return this.requestId;
@@ -48,20 +66,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
@Override
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java
index 828f3ce469..33df21ad37 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java
@@ -25,6 +25,8 @@
public class DeleteChatappTemplateRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String custWabaId;
private String language;
@@ -35,6 +37,10 @@ public class DeleteChatappTemplateRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
private String locale;
private String method;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public GetChatappVerifyCodeRequest() {
super("cams", "2020-06-06", "GetChatappVerifyCode", "cams");
@@ -41,6 +47,17 @@ public GetChatappVerifyCodeRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -48,7 +65,7 @@ public String getPhoneNumber() {
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
- putBodyParameter("PhoneNumber", phoneNumber);
+ putQueryParameter("PhoneNumber", phoneNumber);
}
}
@@ -59,7 +76,7 @@ public String getLocale() {
public void setLocale(String locale) {
this.locale = locale;
if(locale != null){
- putBodyParameter("Locale", locale);
+ putQueryParameter("Locale", locale);
}
}
@@ -70,7 +87,29 @@ public String getBizMethod() {
public void setBizMethod(String method) {
this.method = method;
if(method != null){
- putBodyParameter("Method", method);
+ putQueryParameter("Method", method);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
}
}
@@ -81,7 +120,7 @@ public String getCustSpaceId() {
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
- putBodyParameter("CustSpaceId", custSpaceId);
+ putQueryParameter("CustSpaceId", custSpaceId);
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeResponse.java
index edc9abe38f..fedeed03a0 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeResponse.java
@@ -24,13 +24,31 @@
*/
public class GetChatappVerifyCodeResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
- private String accessDeniedDetail;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
public String getRequestId() {
return this.requestId;
@@ -48,20 +66,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
@Override
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingRequest.java
index a060388c4a..ef0f30ccd1 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingRequest.java
@@ -25,8 +25,14 @@
public class GetCommerceSettingRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public GetCommerceSettingRequest() {
super("cams", "2020-06-06", "GetCommerceSetting", "cams");
@@ -37,6 +43,17 @@ public GetCommerceSettingRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -48,6 +65,28 @@ public void setPhoneNumber(String phoneNumber) {
}
}
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getCustSpaceId() {
return this.custSpaceId;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingResponse.java
index 9176249fba..bf43aec041 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetCommerceSettingResponse.java
@@ -24,14 +24,34 @@
*/
public class GetCommerceSettingResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
private Data data;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
public String getRequestId() {
return this.requestId;
}
@@ -48,12 +68,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setMessage(String message) {
- this.message = message;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
public Data getData() {
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationRequest.java
new file mode 100644
index 0000000000..d214f89d1a
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationRequest.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cams.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetConversationalAutomationRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String phoneNumber;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String custSpaceId;
+ public GetConversationalAutomationRequest() {
+ super("cams", "2020-06-06", "GetConversationalAutomation", "cams");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ if(phoneNumber != null){
+ putQueryParameter("PhoneNumber", phoneNumber);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getCustSpaceId() {
+ return this.custSpaceId;
+ }
+
+ public void setCustSpaceId(String custSpaceId) {
+ this.custSpaceId = custSpaceId;
+ if(custSpaceId != null){
+ putQueryParameter("CustSpaceId", custSpaceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return GetConversationalAutomationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationResponse.java
new file mode 100644
index 0000000000..e991e22a6e
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationResponse.java
@@ -0,0 +1,163 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cams.transform.v20200606.GetConversationalAutomationResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetConversationalAutomationResponse extends AcsResponse {
+
+ private String accessDeniedDetail;
+
+ private String message;
+
+ private String requestId;
+
+ private String code;
+
+ private Boolean success;
+
+ private Data data;
+
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getCode() {
+ return this.code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ public Data getData() {
+ return this.data;
+ }
+
+ public void setData(Data data) {
+ this.data = data;
+ }
+
+ public static class Data {
+
+ private String phoneNumber;
+
+ private Boolean enableWelcomeMessage;
+
+ private List commands;
+
+ private List prompts;
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+
+ public Boolean getEnableWelcomeMessage() {
+ return this.enableWelcomeMessage;
+ }
+
+ public void setEnableWelcomeMessage(Boolean enableWelcomeMessage) {
+ this.enableWelcomeMessage = enableWelcomeMessage;
+ }
+
+ public List getCommands() {
+ return this.commands;
+ }
+
+ public void setCommands(List commands) {
+ this.commands = commands;
+ }
+
+ public List getPrompts() {
+ return this.prompts;
+ }
+
+ public void setPrompts(List prompts) {
+ this.prompts = prompts;
+ }
+
+ public static class CommandsItem {
+
+ private String commandDescription;
+
+ private String commandName;
+
+ public String getCommandDescription() {
+ return this.commandDescription;
+ }
+
+ public void setCommandDescription(String commandDescription) {
+ this.commandDescription = commandDescription;
+ }
+
+ public String getCommandName() {
+ return this.commandName;
+ }
+
+ public void setCommandName(String commandName) {
+ this.commandName = commandName;
+ }
+ }
+ }
+
+ @Override
+ public GetConversationalAutomationResponse getInstance(UnmarshallerContext context) {
+ return GetConversationalAutomationResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusRequest.java
new file mode 100644
index 0000000000..06de87c0d7
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusRequest.java
@@ -0,0 +1,158 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cams.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetWhatsappHealthStatusRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String nodeType;
+
+ private String phoneNumber;
+
+ private String language;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String wabaId;
+
+ private String custSpaceId;
+
+ private String templateCode;
+ public GetWhatsappHealthStatusRequest() {
+ super("cams", "2020-06-06", "GetWhatsappHealthStatus", "cams");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getNodeType() {
+ return this.nodeType;
+ }
+
+ public void setNodeType(String nodeType) {
+ this.nodeType = nodeType;
+ if(nodeType != null){
+ putQueryParameter("NodeType", nodeType);
+ }
+ }
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ if(phoneNumber != null){
+ putQueryParameter("PhoneNumber", phoneNumber);
+ }
+ }
+
+ public String getLanguage() {
+ return this.language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ if(language != null){
+ putQueryParameter("Language", language);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getWabaId() {
+ return this.wabaId;
+ }
+
+ public void setWabaId(String wabaId) {
+ this.wabaId = wabaId;
+ if(wabaId != null){
+ putQueryParameter("WabaId", wabaId);
+ }
+ }
+
+ public String getCustSpaceId() {
+ return this.custSpaceId;
+ }
+
+ public void setCustSpaceId(String custSpaceId) {
+ this.custSpaceId = custSpaceId;
+ if(custSpaceId != null){
+ putQueryParameter("CustSpaceId", custSpaceId);
+ }
+ }
+
+ public String getTemplateCode() {
+ return this.templateCode;
+ }
+
+ public void setTemplateCode(String templateCode) {
+ this.templateCode = templateCode;
+ if(templateCode != null){
+ putQueryParameter("TemplateCode", templateCode);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return GetWhatsappHealthStatusResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusResponse.java
new file mode 100644
index 0000000000..8a9ee3e0de
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusResponse.java
@@ -0,0 +1,236 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cams.transform.v20200606.GetWhatsappHealthStatusResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetWhatsappHealthStatusResponse extends AcsResponse {
+
+ private String accessDeniedDetail;
+
+ private String message;
+
+ private String requestId;
+
+ private String code;
+
+ private Boolean success;
+
+ private Data data;
+
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getCode() {
+ return this.code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ public Data getData() {
+ return this.data;
+ }
+
+ public void setData(Data data) {
+ this.data = data;
+ }
+
+ public static class Data {
+
+ private String canSendMessage;
+
+ private List entities;
+
+ public String getCanSendMessage() {
+ return this.canSendMessage;
+ }
+
+ public void setCanSendMessage(String canSendMessage) {
+ this.canSendMessage = canSendMessage;
+ }
+
+ public List getEntities() {
+ return this.entities;
+ }
+
+ public void setEntities(List entities) {
+ this.entities = entities;
+ }
+
+ public static class EntitiesItem {
+
+ private String entityType;
+
+ private String templateCode;
+
+ private String language;
+
+ private String canSendMessage;
+
+ private String phoneNumber;
+
+ private String wabaId;
+
+ private String businessId;
+
+ private List errors;
+
+ public String getEntityType() {
+ return this.entityType;
+ }
+
+ public void setEntityType(String entityType) {
+ this.entityType = entityType;
+ }
+
+ public String getTemplateCode() {
+ return this.templateCode;
+ }
+
+ public void setTemplateCode(String templateCode) {
+ this.templateCode = templateCode;
+ }
+
+ public String getLanguage() {
+ return this.language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+ public String getCanSendMessage() {
+ return this.canSendMessage;
+ }
+
+ public void setCanSendMessage(String canSendMessage) {
+ this.canSendMessage = canSendMessage;
+ }
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+
+ public String getWabaId() {
+ return this.wabaId;
+ }
+
+ public void setWabaId(String wabaId) {
+ this.wabaId = wabaId;
+ }
+
+ public String getBusinessId() {
+ return this.businessId;
+ }
+
+ public void setBusinessId(String businessId) {
+ this.businessId = businessId;
+ }
+
+ public List getErrors() {
+ return this.errors;
+ }
+
+ public void setErrors(List errors) {
+ this.errors = errors;
+ }
+
+ public static class ErrorsItem {
+
+ private String errorDescription;
+
+ private String possibleSolution;
+
+ private String errorCode;
+
+ public String getErrorDescription() {
+ return this.errorDescription;
+ }
+
+ public void setErrorDescription(String errorDescription) {
+ this.errorDescription = errorDescription;
+ }
+
+ public String getPossibleSolution() {
+ return this.possibleSolution;
+ }
+
+ public void setPossibleSolution(String possibleSolution) {
+ this.possibleSolution = possibleSolution;
+ }
+
+ public String getErrorCode() {
+ return this.errorCode;
+ }
+
+ public void setErrorCode(String errorCode) {
+ this.errorCode = errorCode;
+ }
+ }
+ }
+ }
+
+ @Override
+ public GetWhatsappHealthStatusResponse getInstance(UnmarshallerContext context) {
+ return GetWhatsappHealthStatusResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListChatappTemplateResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListChatappTemplateResponse.java
index 0a66e8c1dd..3331d12baf 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListChatappTemplateResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListChatappTemplateResponse.java
@@ -101,6 +101,8 @@ public static class Template {
private String reason;
+ private Long lastUpdateTime;
+
public String getTemplateName() {
return this.templateName;
}
@@ -156,6 +158,14 @@ public String getReason() {
public void setReason(String reason) {
this.reason = reason;
}
+
+ public Long getLastUpdateTime() {
+ return this.lastUpdateTime;
+ }
+
+ public void setLastUpdateTime(Long lastUpdateTime) {
+ this.lastUpdateTime = lastUpdateTime;
+ }
}
@Override
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java
index 84f0dc26d5..63135c48a0 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java
@@ -28,6 +28,8 @@
public class ModifyPhoneBusinessProfileRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
private String about;
@@ -40,6 +42,10 @@ public class ModifyPhoneBusinessProfileRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public QueryPhoneBusinessProfileRequest() {
super("cams", "2020-06-06", "QueryPhoneBusinessProfile", "cams");
@@ -37,6 +43,17 @@ public QueryPhoneBusinessProfileRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -48,6 +65,28 @@ public void setPhoneNumber(String phoneNumber) {
}
}
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getCustSpaceId() {
return this.custSpaceId;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileResponse.java
index 7667d1e203..e3d2efabf2 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileResponse.java
@@ -25,16 +25,34 @@
*/
public class QueryPhoneBusinessProfileResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
-
- private String accessDeniedDetail;
+ private Boolean success;
private Data data;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
public String getRequestId() {
return this.requestId;
}
@@ -51,20 +69,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
+ public Boolean getSuccess() {
+ return this.success;
}
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
- }
-
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
public Data getData() {
@@ -77,26 +87,26 @@ public void setData(Data data) {
public static class Data {
- private String address;
+ private String vertical;
private String description;
- private String vertical;
-
private String email;
+ private String address;
+
private String profilePictureUrl;
private String about;
private List websites;
- public String getAddress() {
- return this.address;
+ public String getVertical() {
+ return this.vertical;
}
- public void setAddress(String address) {
- this.address = address;
+ public void setVertical(String vertical) {
+ this.vertical = vertical;
}
public String getDescription() {
@@ -107,14 +117,6 @@ public void setDescription(String description) {
this.description = description;
}
- public String getVertical() {
- return this.vertical;
- }
-
- public void setVertical(String vertical) {
- this.vertical = vertical;
- }
-
public String getEmail() {
return this.email;
}
@@ -123,6 +125,14 @@ public void setEmail(String email) {
this.email = email;
}
+ public String getAddress() {
+ return this.address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
public String getProfilePictureUrl() {
return this.profilePictureUrl;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoRequest.java
index 9d8bd11853..38f58b38e4 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoRequest.java
@@ -25,6 +25,12 @@
public class QueryWabaBusinessInfoRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String wabaId;
private String custSpaceId;
@@ -37,6 +43,39 @@ public QueryWabaBusinessInfoRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getWabaId() {
return this.wabaId;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoResponse.java
index eb311a4348..8b6e495c74 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoResponse.java
@@ -24,16 +24,34 @@
*/
public class QueryWabaBusinessInfoResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
-
- private String accessDeniedDetail;
+ private Boolean success;
private Data data;
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
public String getRequestId() {
return this.requestId;
}
@@ -50,20 +68,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
- public String getAccessDeniedDetail() {
- return this.accessDeniedDetail;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setAccessDeniedDetail(String accessDeniedDetail) {
- this.accessDeniedDetail = accessDeniedDetail;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
public Data getData() {
@@ -76,28 +86,20 @@ public void setData(Data data) {
public static class Data {
- private String businessId;
-
- private String businessName;
+ private String vertical;
private String verificationStatus;
- private String vertical;
-
- public String getBusinessId() {
- return this.businessId;
- }
+ private String businessName;
- public void setBusinessId(String businessId) {
- this.businessId = businessId;
- }
+ private String businessId;
- public String getBusinessName() {
- return this.businessName;
+ public String getVertical() {
+ return this.vertical;
}
- public void setBusinessName(String businessName) {
- this.businessName = businessName;
+ public void setVertical(String vertical) {
+ this.vertical = vertical;
}
public String getVerificationStatus() {
@@ -108,12 +110,20 @@ public void setVerificationStatus(String verificationStatus) {
this.verificationStatus = verificationStatus;
}
- public String getVertical() {
- return this.vertical;
+ public String getBusinessName() {
+ return this.businessName;
}
- public void setVertical(String vertical) {
- this.vertical = vertical;
+ public void setBusinessName(String businessName) {
+ this.businessName = businessName;
+ }
+
+ public String getBusinessId() {
+ return this.businessId;
+ }
+
+ public void setBusinessId(String businessId) {
+ this.businessId = businessId;
}
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingRequest.java
index ff5f89e73c..be52140261 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingRequest.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingRequest.java
@@ -25,12 +25,18 @@
public class UpdateCommerceSettingRequest extends RpcAcsRequest {
+ private Long resourceOwnerId;
+
private String phoneNumber;
private Boolean catalogVisible;
private Boolean cartEnable;
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
private String custSpaceId;
public UpdateCommerceSettingRequest() {
super("cams", "2020-06-06", "UpdateCommerceSetting", "cams");
@@ -41,6 +47,17 @@ public UpdateCommerceSettingRequest() {
} catch (Exception e) {}
}
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
public String getPhoneNumber() {
return this.phoneNumber;
}
@@ -74,6 +91,28 @@ public void setCartEnable(Boolean cartEnable) {
}
}
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
public String getCustSpaceId() {
return this.custSpaceId;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingResponse.java
index 03132d1512..e388638e9b 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingResponse.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingResponse.java
@@ -24,11 +24,31 @@
*/
public class UpdateCommerceSettingResponse extends AcsResponse {
+ private String accessDeniedDetail;
+
+ private String message;
+
private String requestId;
private String code;
- private String message;
+ private Boolean success;
+
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
public String getRequestId() {
return this.requestId;
@@ -46,12 +66,12 @@ public void setCode(String code) {
this.code = code;
}
- public String getMessage() {
- return this.message;
+ public Boolean getSuccess() {
+ return this.success;
}
- public void setMessage(String message) {
- this.message = message;
+ public void setSuccess(Boolean success) {
+ this.success = success;
}
@Override
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationRequest.java
new file mode 100644
index 0000000000..b7a94eb16b
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationRequest.java
@@ -0,0 +1,175 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.google.gson.Gson;
+import com.google.gson.annotations.SerializedName;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cams.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class UpdateConversationalAutomationRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String phoneNumber;
+
+ private Boolean enableWelcomeMessage;
+
+ @SerializedName("commands")
+ private List commands;
+
+ @SerializedName("prompts")
+ private List prompts;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String custSpaceId;
+ public UpdateConversationalAutomationRequest() {
+ super("cams", "2020-06-06", "UpdateConversationalAutomation", "cams");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ if(phoneNumber != null){
+ putQueryParameter("PhoneNumber", phoneNumber);
+ }
+ }
+
+ public Boolean getEnableWelcomeMessage() {
+ return this.enableWelcomeMessage;
+ }
+
+ public void setEnableWelcomeMessage(Boolean enableWelcomeMessage) {
+ this.enableWelcomeMessage = enableWelcomeMessage;
+ if(enableWelcomeMessage != null){
+ putQueryParameter("EnableWelcomeMessage", enableWelcomeMessage.toString());
+ }
+ }
+
+ public List getCommands() {
+ return this.commands;
+ }
+
+ public void setCommands(List commands) {
+ this.commands = commands;
+ if (commands != null) {
+ putQueryParameter("Commands" , new Gson().toJson(commands));
+ }
+ }
+
+ public List getPrompts() {
+ return this.prompts;
+ }
+
+ public void setPrompts(List prompts) {
+ this.prompts = prompts;
+ if (prompts != null) {
+ putQueryParameter("Prompts" , new Gson().toJson(prompts));
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getCustSpaceId() {
+ return this.custSpaceId;
+ }
+
+ public void setCustSpaceId(String custSpaceId) {
+ this.custSpaceId = custSpaceId;
+ if(custSpaceId != null){
+ putQueryParameter("CustSpaceId", custSpaceId);
+ }
+ }
+
+ public static class Commands {
+
+ @SerializedName("CommandDescription")
+ private String commandDescription;
+
+ @SerializedName("CommandName")
+ private String commandName;
+
+ public String getCommandDescription() {
+ return this.commandDescription;
+ }
+
+ public void setCommandDescription(String commandDescription) {
+ this.commandDescription = commandDescription;
+ }
+
+ public String getCommandName() {
+ return this.commandName;
+ }
+
+ public void setCommandName(String commandName) {
+ this.commandName = commandName;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return UpdateConversationalAutomationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationResponse.java
new file mode 100644
index 0000000000..3c2a593629
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationResponse.java
@@ -0,0 +1,86 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.model.v20200606;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cams.transform.v20200606.UpdateConversationalAutomationResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class UpdateConversationalAutomationResponse extends AcsResponse {
+
+ private String accessDeniedDetail;
+
+ private String message;
+
+ private String requestId;
+
+ private String code;
+
+ private Boolean success;
+
+ public String getAccessDeniedDetail() {
+ return this.accessDeniedDetail;
+ }
+
+ public void setAccessDeniedDetail(String accessDeniedDetail) {
+ this.accessDeniedDetail = accessDeniedDetail;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getCode() {
+ return this.code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ @Override
+ public UpdateConversationalAutomationResponse getInstance(UnmarshallerContext context) {
+ return UpdateConversationalAutomationResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/AddChatappPhoneNumberResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/AddChatappPhoneNumberResponseUnmarshaller.java
index 6e92d20825..147584050a 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/AddChatappPhoneNumberResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/AddChatappPhoneNumberResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class AddChatappPhoneNumberResponseUnmarshaller {
public static AddChatappPhoneNumberResponse unmarshall(AddChatappPhoneNumberResponse addChatappPhoneNumberResponse, UnmarshallerContext _ctx) {
addChatappPhoneNumberResponse.setRequestId(_ctx.stringValue("AddChatappPhoneNumberResponse.RequestId"));
- addChatappPhoneNumberResponse.setCode(_ctx.stringValue("AddChatappPhoneNumberResponse.Code"));
+ addChatappPhoneNumberResponse.setAccessDeniedDetail(_ctx.stringValue("AddChatappPhoneNumberResponse.AccessDeniedDetail"));
addChatappPhoneNumberResponse.setMessage(_ctx.stringValue("AddChatappPhoneNumberResponse.Message"));
- addChatappPhoneNumberResponse.setAccessDeniedDetail(_ctx.stringValue("AddChatappPhoneNumberResponse.AccessDeniedDetail"));
+ addChatappPhoneNumberResponse.setCode(_ctx.stringValue("AddChatappPhoneNumberResponse.Code"));
+ addChatappPhoneNumberResponse.setSuccess(_ctx.booleanValue("AddChatappPhoneNumberResponse.Success"));
return addChatappPhoneNumberResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappBindWabaResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappBindWabaResponseUnmarshaller.java
index 2b0478d6b9..071cddde5e 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappBindWabaResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappBindWabaResponseUnmarshaller.java
@@ -24,9 +24,10 @@ public class ChatappBindWabaResponseUnmarshaller {
public static ChatappBindWabaResponse unmarshall(ChatappBindWabaResponse chatappBindWabaResponse, UnmarshallerContext _ctx) {
chatappBindWabaResponse.setRequestId(_ctx.stringValue("ChatappBindWabaResponse.RequestId"));
- chatappBindWabaResponse.setCode(_ctx.stringValue("ChatappBindWabaResponse.Code"));
- chatappBindWabaResponse.setMessage(_ctx.stringValue("ChatappBindWabaResponse.Message"));
chatappBindWabaResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappBindWabaResponse.AccessDeniedDetail"));
+ chatappBindWabaResponse.setMessage(_ctx.stringValue("ChatappBindWabaResponse.Message"));
+ chatappBindWabaResponse.setCode(_ctx.stringValue("ChatappBindWabaResponse.Code"));
+ chatappBindWabaResponse.setSuccess(_ctx.booleanValue("ChatappBindWabaResponse.Success"));
Data data = new Data();
data.setCustSpaceId(_ctx.stringValue("ChatappBindWabaResponse.Data.CustSpaceId"));
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberRegisterResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberRegisterResponseUnmarshaller.java
index a7f62b83d7..d079b27096 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberRegisterResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberRegisterResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class ChatappPhoneNumberRegisterResponseUnmarshaller {
public static ChatappPhoneNumberRegisterResponse unmarshall(ChatappPhoneNumberRegisterResponse chatappPhoneNumberRegisterResponse, UnmarshallerContext _ctx) {
chatappPhoneNumberRegisterResponse.setRequestId(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.RequestId"));
- chatappPhoneNumberRegisterResponse.setCode(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.Code"));
+ chatappPhoneNumberRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.AccessDeniedDetail"));
chatappPhoneNumberRegisterResponse.setMessage(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.Message"));
- chatappPhoneNumberRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.AccessDeniedDetail"));
+ chatappPhoneNumberRegisterResponse.setCode(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.Code"));
+ chatappPhoneNumberRegisterResponse.setSuccess(_ctx.booleanValue("ChatappPhoneNumberRegisterResponse.Success"));
return chatappPhoneNumberRegisterResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappSyncPhoneNumberResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappSyncPhoneNumberResponseUnmarshaller.java
index 390e54c55e..6320bb690a 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappSyncPhoneNumberResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappSyncPhoneNumberResponseUnmarshaller.java
@@ -18,7 +18,7 @@
import java.util.List;
import com.aliyuncs.cams.model.v20200606.ChatappSyncPhoneNumberResponse;
-import com.aliyuncs.cams.model.v20200606.ChatappSyncPhoneNumberResponse.PhoneNumbersItem;
+import com.aliyuncs.cams.model.v20200606.ChatappSyncPhoneNumberResponse.Content;
import com.aliyuncs.transform.UnmarshallerContext;
@@ -27,27 +27,28 @@ public class ChatappSyncPhoneNumberResponseUnmarshaller {
public static ChatappSyncPhoneNumberResponse unmarshall(ChatappSyncPhoneNumberResponse chatappSyncPhoneNumberResponse, UnmarshallerContext _ctx) {
chatappSyncPhoneNumberResponse.setRequestId(_ctx.stringValue("ChatappSyncPhoneNumberResponse.RequestId"));
- chatappSyncPhoneNumberResponse.setCode(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Code"));
- chatappSyncPhoneNumberResponse.setMessage(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Message"));
chatappSyncPhoneNumberResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappSyncPhoneNumberResponse.AccessDeniedDetail"));
+ chatappSyncPhoneNumberResponse.setMessage(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Message"));
+ chatappSyncPhoneNumberResponse.setCode(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Code"));
+ chatappSyncPhoneNumberResponse.setSuccess(_ctx.booleanValue("ChatappSyncPhoneNumberResponse.Success"));
- List phoneNumbers = new ArrayList();
+ List phoneNumbers = new ArrayList();
for (int i = 0; i < _ctx.lengthValue("ChatappSyncPhoneNumberResponse.PhoneNumbers.Length"); i++) {
- PhoneNumbersItem phoneNumbersItem = new PhoneNumbersItem();
- phoneNumbersItem.setUpQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpQueue"));
- phoneNumbersItem.setPhoneNumber(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].PhoneNumber"));
- phoneNumbersItem.setStatusQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusQueue"));
- phoneNumbersItem.setVerifiedName(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].VerifiedName"));
- phoneNumbersItem.setStatusCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusCallbackUrl"));
- phoneNumbersItem.setUpCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpCallbackUrl"));
- phoneNumbersItem.setQualityRating(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].QualityRating"));
- phoneNumbersItem.setStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].Status"));
- phoneNumbersItem.setCodeVerificationStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].CodeVerificationStatus"));
- phoneNumbersItem.setNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NameStatus"));
- phoneNumbersItem.setMessagingLimitTier(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].MessagingLimitTier"));
- phoneNumbersItem.setNewNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NewNameStatus"));
+ Content content = new Content();
+ content.setVerifiedName(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].VerifiedName"));
+ content.setStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].Status"));
+ content.setQualityRating(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].QualityRating"));
+ content.setCodeVerificationStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].CodeVerificationStatus"));
+ content.setNewNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NewNameStatus"));
+ content.setPhoneNumber(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].PhoneNumber"));
+ content.setStatusQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusQueue"));
+ content.setUpQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpQueue"));
+ content.setNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NameStatus"));
+ content.setUpCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpCallbackUrl"));
+ content.setMessagingLimitTier(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].MessagingLimitTier"));
+ content.setStatusCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusCallbackUrl"));
- phoneNumbers.add(phoneNumbersItem);
+ phoneNumbers.add(content);
}
chatappSyncPhoneNumberResponse.setPhoneNumbers(phoneNumbers);
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappVerifyAndRegisterResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappVerifyAndRegisterResponseUnmarshaller.java
index 1f81846279..98c4924770 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappVerifyAndRegisterResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ChatappVerifyAndRegisterResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class ChatappVerifyAndRegisterResponseUnmarshaller {
public static ChatappVerifyAndRegisterResponse unmarshall(ChatappVerifyAndRegisterResponse chatappVerifyAndRegisterResponse, UnmarshallerContext _ctx) {
chatappVerifyAndRegisterResponse.setRequestId(_ctx.stringValue("ChatappVerifyAndRegisterResponse.RequestId"));
- chatappVerifyAndRegisterResponse.setCode(_ctx.stringValue("ChatappVerifyAndRegisterResponse.Code"));
+ chatappVerifyAndRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappVerifyAndRegisterResponse.AccessDeniedDetail"));
chatappVerifyAndRegisterResponse.setMessage(_ctx.stringValue("ChatappVerifyAndRegisterResponse.Message"));
- chatappVerifyAndRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappVerifyAndRegisterResponse.AccessDeniedDetail"));
+ chatappVerifyAndRegisterResponse.setCode(_ctx.stringValue("ChatappVerifyAndRegisterResponse.Code"));
+ chatappVerifyAndRegisterResponse.setSuccess(_ctx.booleanValue("ChatappVerifyAndRegisterResponse.Success"));
return chatappVerifyAndRegisterResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteChatappTemplateResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteChatappTemplateResponseUnmarshaller.java
index 667e511e45..37c6cbb263 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteChatappTemplateResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteChatappTemplateResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class DeleteChatappTemplateResponseUnmarshaller {
public static DeleteChatappTemplateResponse unmarshall(DeleteChatappTemplateResponse deleteChatappTemplateResponse, UnmarshallerContext _ctx) {
deleteChatappTemplateResponse.setRequestId(_ctx.stringValue("DeleteChatappTemplateResponse.RequestId"));
- deleteChatappTemplateResponse.setCode(_ctx.stringValue("DeleteChatappTemplateResponse.Code"));
+ deleteChatappTemplateResponse.setAccessDeniedDetail(_ctx.stringValue("DeleteChatappTemplateResponse.AccessDeniedDetail"));
deleteChatappTemplateResponse.setMessage(_ctx.stringValue("DeleteChatappTemplateResponse.Message"));
- deleteChatappTemplateResponse.setAccessDeniedDetail(_ctx.stringValue("DeleteChatappTemplateResponse.AccessDeniedDetail"));
+ deleteChatappTemplateResponse.setCode(_ctx.stringValue("DeleteChatappTemplateResponse.Code"));
+ deleteChatappTemplateResponse.setSuccess(_ctx.booleanValue("DeleteChatappTemplateResponse.Success"));
return deleteChatappTemplateResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappVerifyCodeResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappVerifyCodeResponseUnmarshaller.java
index a472b971ca..eec4ac1959 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappVerifyCodeResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappVerifyCodeResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class GetChatappVerifyCodeResponseUnmarshaller {
public static GetChatappVerifyCodeResponse unmarshall(GetChatappVerifyCodeResponse getChatappVerifyCodeResponse, UnmarshallerContext _ctx) {
getChatappVerifyCodeResponse.setRequestId(_ctx.stringValue("GetChatappVerifyCodeResponse.RequestId"));
- getChatappVerifyCodeResponse.setCode(_ctx.stringValue("GetChatappVerifyCodeResponse.Code"));
+ getChatappVerifyCodeResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappVerifyCodeResponse.AccessDeniedDetail"));
getChatappVerifyCodeResponse.setMessage(_ctx.stringValue("GetChatappVerifyCodeResponse.Message"));
- getChatappVerifyCodeResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappVerifyCodeResponse.AccessDeniedDetail"));
+ getChatappVerifyCodeResponse.setCode(_ctx.stringValue("GetChatappVerifyCodeResponse.Code"));
+ getChatappVerifyCodeResponse.setSuccess(_ctx.booleanValue("GetChatappVerifyCodeResponse.Success"));
return getChatappVerifyCodeResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetCommerceSettingResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetCommerceSettingResponseUnmarshaller.java
index 43ffa60a64..4a7b7093a4 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetCommerceSettingResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetCommerceSettingResponseUnmarshaller.java
@@ -24,8 +24,10 @@ public class GetCommerceSettingResponseUnmarshaller {
public static GetCommerceSettingResponse unmarshall(GetCommerceSettingResponse getCommerceSettingResponse, UnmarshallerContext _ctx) {
getCommerceSettingResponse.setRequestId(_ctx.stringValue("GetCommerceSettingResponse.RequestId"));
- getCommerceSettingResponse.setCode(_ctx.stringValue("GetCommerceSettingResponse.Code"));
+ getCommerceSettingResponse.setAccessDeniedDetail(_ctx.stringValue("GetCommerceSettingResponse.AccessDeniedDetail"));
getCommerceSettingResponse.setMessage(_ctx.stringValue("GetCommerceSettingResponse.Message"));
+ getCommerceSettingResponse.setCode(_ctx.stringValue("GetCommerceSettingResponse.Code"));
+ getCommerceSettingResponse.setSuccess(_ctx.booleanValue("GetCommerceSettingResponse.Success"));
Data data = new Data();
data.setCartEnable(_ctx.booleanValue("GetCommerceSettingResponse.Data.CartEnable"));
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetConversationalAutomationResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetConversationalAutomationResponseUnmarshaller.java
new file mode 100644
index 0000000000..b80b335daf
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetConversationalAutomationResponseUnmarshaller.java
@@ -0,0 +1,59 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.transform.v20200606;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.cams.model.v20200606.GetConversationalAutomationResponse;
+import com.aliyuncs.cams.model.v20200606.GetConversationalAutomationResponse.Data;
+import com.aliyuncs.cams.model.v20200606.GetConversationalAutomationResponse.Data.CommandsItem;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class GetConversationalAutomationResponseUnmarshaller {
+
+ public static GetConversationalAutomationResponse unmarshall(GetConversationalAutomationResponse getConversationalAutomationResponse, UnmarshallerContext _ctx) {
+
+ getConversationalAutomationResponse.setRequestId(_ctx.stringValue("GetConversationalAutomationResponse.RequestId"));
+ getConversationalAutomationResponse.setAccessDeniedDetail(_ctx.stringValue("GetConversationalAutomationResponse.AccessDeniedDetail"));
+ getConversationalAutomationResponse.setMessage(_ctx.stringValue("GetConversationalAutomationResponse.Message"));
+ getConversationalAutomationResponse.setCode(_ctx.stringValue("GetConversationalAutomationResponse.Code"));
+ getConversationalAutomationResponse.setSuccess(_ctx.booleanValue("GetConversationalAutomationResponse.Success"));
+
+ Data data = new Data();
+ data.setPhoneNumber(_ctx.stringValue("GetConversationalAutomationResponse.Data.PhoneNumber"));
+ data.setEnableWelcomeMessage(_ctx.booleanValue("GetConversationalAutomationResponse.Data.EnableWelcomeMessage"));
+
+ List prompts = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("GetConversationalAutomationResponse.Data.Prompts.Length"); i++) {
+ prompts.add(_ctx.stringValue("GetConversationalAutomationResponse.Data.Prompts["+ i +"]"));
+ }
+ data.setPrompts(prompts);
+
+ List commands = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("GetConversationalAutomationResponse.Data.Commands.Length"); i++) {
+ CommandsItem commandsItem = new CommandsItem();
+ commandsItem.setCommandDescription(_ctx.stringValue("GetConversationalAutomationResponse.Data.Commands["+ i +"].CommandDescription"));
+ commandsItem.setCommandName(_ctx.stringValue("GetConversationalAutomationResponse.Data.Commands["+ i +"].CommandName"));
+
+ commands.add(commandsItem);
+ }
+ data.setCommands(commands);
+ getConversationalAutomationResponse.setData(data);
+
+ return getConversationalAutomationResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetWhatsappHealthStatusResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetWhatsappHealthStatusResponseUnmarshaller.java
new file mode 100644
index 0000000000..f23e782143
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetWhatsappHealthStatusResponseUnmarshaller.java
@@ -0,0 +1,69 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.transform.v20200606;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.cams.model.v20200606.GetWhatsappHealthStatusResponse;
+import com.aliyuncs.cams.model.v20200606.GetWhatsappHealthStatusResponse.Data;
+import com.aliyuncs.cams.model.v20200606.GetWhatsappHealthStatusResponse.Data.EntitiesItem;
+import com.aliyuncs.cams.model.v20200606.GetWhatsappHealthStatusResponse.Data.EntitiesItem.ErrorsItem;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class GetWhatsappHealthStatusResponseUnmarshaller {
+
+ public static GetWhatsappHealthStatusResponse unmarshall(GetWhatsappHealthStatusResponse getWhatsappHealthStatusResponse, UnmarshallerContext _ctx) {
+
+ getWhatsappHealthStatusResponse.setRequestId(_ctx.stringValue("GetWhatsappHealthStatusResponse.RequestId"));
+ getWhatsappHealthStatusResponse.setAccessDeniedDetail(_ctx.stringValue("GetWhatsappHealthStatusResponse.AccessDeniedDetail"));
+ getWhatsappHealthStatusResponse.setMessage(_ctx.stringValue("GetWhatsappHealthStatusResponse.Message"));
+ getWhatsappHealthStatusResponse.setCode(_ctx.stringValue("GetWhatsappHealthStatusResponse.Code"));
+ getWhatsappHealthStatusResponse.setSuccess(_ctx.booleanValue("GetWhatsappHealthStatusResponse.Success"));
+
+ Data data = new Data();
+ data.setCanSendMessage(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.CanSendMessage"));
+
+ List entities = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("GetWhatsappHealthStatusResponse.Data.Entities.Length"); i++) {
+ EntitiesItem entitiesItem = new EntitiesItem();
+ entitiesItem.setEntityType(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].EntityType"));
+ entitiesItem.setTemplateCode(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].TemplateCode"));
+ entitiesItem.setLanguage(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].Language"));
+ entitiesItem.setCanSendMessage(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].CanSendMessage"));
+ entitiesItem.setPhoneNumber(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].PhoneNumber"));
+ entitiesItem.setWabaId(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].WabaId"));
+ entitiesItem.setBusinessId(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].BusinessId"));
+
+ List errors = new ArrayList();
+ for (int j = 0; j < _ctx.lengthValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].Errors.Length"); j++) {
+ ErrorsItem errorsItem = new ErrorsItem();
+ errorsItem.setErrorDescription(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].Errors["+ j +"].ErrorDescription"));
+ errorsItem.setPossibleSolution(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].Errors["+ j +"].PossibleSolution"));
+ errorsItem.setErrorCode(_ctx.stringValue("GetWhatsappHealthStatusResponse.Data.Entities["+ i +"].Errors["+ j +"].ErrorCode"));
+
+ errors.add(errorsItem);
+ }
+ entitiesItem.setErrors(errors);
+
+ entities.add(entitiesItem);
+ }
+ data.setEntities(entities);
+ getWhatsappHealthStatusResponse.setData(data);
+
+ return getWhatsappHealthStatusResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListChatappTemplateResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListChatappTemplateResponseUnmarshaller.java
index 442b06cf63..2818b1ece8 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListChatappTemplateResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListChatappTemplateResponseUnmarshaller.java
@@ -42,6 +42,7 @@ public static ListChatappTemplateResponse unmarshall(ListChatappTemplateResponse
template.setCategory(_ctx.stringValue("ListChatappTemplateResponse.ListTemplate["+ i +"].Category"));
template.setTemplateType(_ctx.stringValue("ListChatappTemplateResponse.ListTemplate["+ i +"].TemplateType"));
template.setReason(_ctx.stringValue("ListChatappTemplateResponse.ListTemplate["+ i +"].Reason"));
+ template.setLastUpdateTime(_ctx.longValue("ListChatappTemplateResponse.ListTemplate["+ i +"].LastUpdateTime"));
listTemplate.add(template);
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyPhoneBusinessProfileResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyPhoneBusinessProfileResponseUnmarshaller.java
index 503bc12f4c..2bb33ca4b9 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyPhoneBusinessProfileResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyPhoneBusinessProfileResponseUnmarshaller.java
@@ -23,9 +23,10 @@ public class ModifyPhoneBusinessProfileResponseUnmarshaller {
public static ModifyPhoneBusinessProfileResponse unmarshall(ModifyPhoneBusinessProfileResponse modifyPhoneBusinessProfileResponse, UnmarshallerContext _ctx) {
modifyPhoneBusinessProfileResponse.setRequestId(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.RequestId"));
- modifyPhoneBusinessProfileResponse.setCode(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.Code"));
+ modifyPhoneBusinessProfileResponse.setAccessDeniedDetail(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.AccessDeniedDetail"));
modifyPhoneBusinessProfileResponse.setMessage(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.Message"));
- modifyPhoneBusinessProfileResponse.setAccessDeniedDetail(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.AccessDeniedDetail"));
+ modifyPhoneBusinessProfileResponse.setCode(_ctx.stringValue("ModifyPhoneBusinessProfileResponse.Code"));
+ modifyPhoneBusinessProfileResponse.setSuccess(_ctx.booleanValue("ModifyPhoneBusinessProfileResponse.Success"));
return modifyPhoneBusinessProfileResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java
index 5f7b534197..c240e6a1e2 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java
@@ -27,15 +27,16 @@ public class QueryPhoneBusinessProfileResponseUnmarshaller {
public static QueryPhoneBusinessProfileResponse unmarshall(QueryPhoneBusinessProfileResponse queryPhoneBusinessProfileResponse, UnmarshallerContext _ctx) {
queryPhoneBusinessProfileResponse.setRequestId(_ctx.stringValue("QueryPhoneBusinessProfileResponse.RequestId"));
- queryPhoneBusinessProfileResponse.setCode(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Code"));
- queryPhoneBusinessProfileResponse.setMessage(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Message"));
queryPhoneBusinessProfileResponse.setAccessDeniedDetail(_ctx.stringValue("QueryPhoneBusinessProfileResponse.AccessDeniedDetail"));
+ queryPhoneBusinessProfileResponse.setMessage(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Message"));
+ queryPhoneBusinessProfileResponse.setCode(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Code"));
+ queryPhoneBusinessProfileResponse.setSuccess(_ctx.booleanValue("QueryPhoneBusinessProfileResponse.Success"));
Data data = new Data();
- data.setAddress(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Address"));
- data.setDescription(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Description"));
data.setVertical(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Vertical"));
+ data.setDescription(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Description"));
data.setEmail(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Email"));
+ data.setAddress(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Address"));
data.setProfilePictureUrl(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.ProfilePictureUrl"));
data.setAbout(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.About"));
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryWabaBusinessInfoResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryWabaBusinessInfoResponseUnmarshaller.java
index a764fa966a..224589b58c 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryWabaBusinessInfoResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryWabaBusinessInfoResponseUnmarshaller.java
@@ -24,15 +24,16 @@ public class QueryWabaBusinessInfoResponseUnmarshaller {
public static QueryWabaBusinessInfoResponse unmarshall(QueryWabaBusinessInfoResponse queryWabaBusinessInfoResponse, UnmarshallerContext _ctx) {
queryWabaBusinessInfoResponse.setRequestId(_ctx.stringValue("QueryWabaBusinessInfoResponse.RequestId"));
- queryWabaBusinessInfoResponse.setCode(_ctx.stringValue("QueryWabaBusinessInfoResponse.Code"));
- queryWabaBusinessInfoResponse.setMessage(_ctx.stringValue("QueryWabaBusinessInfoResponse.Message"));
queryWabaBusinessInfoResponse.setAccessDeniedDetail(_ctx.stringValue("QueryWabaBusinessInfoResponse.AccessDeniedDetail"));
+ queryWabaBusinessInfoResponse.setMessage(_ctx.stringValue("QueryWabaBusinessInfoResponse.Message"));
+ queryWabaBusinessInfoResponse.setCode(_ctx.stringValue("QueryWabaBusinessInfoResponse.Code"));
+ queryWabaBusinessInfoResponse.setSuccess(_ctx.booleanValue("QueryWabaBusinessInfoResponse.Success"));
Data data = new Data();
- data.setBusinessId(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.BusinessId"));
- data.setBusinessName(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.BusinessName"));
- data.setVerificationStatus(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.VerificationStatus"));
data.setVertical(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.Vertical"));
+ data.setVerificationStatus(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.VerificationStatus"));
+ data.setBusinessName(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.BusinessName"));
+ data.setBusinessId(_ctx.stringValue("QueryWabaBusinessInfoResponse.Data.BusinessId"));
queryWabaBusinessInfoResponse.setData(data);
return queryWabaBusinessInfoResponse;
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateCommerceSettingResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateCommerceSettingResponseUnmarshaller.java
index fce3442069..7ce68e58df 100644
--- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateCommerceSettingResponseUnmarshaller.java
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateCommerceSettingResponseUnmarshaller.java
@@ -23,8 +23,10 @@ public class UpdateCommerceSettingResponseUnmarshaller {
public static UpdateCommerceSettingResponse unmarshall(UpdateCommerceSettingResponse updateCommerceSettingResponse, UnmarshallerContext _ctx) {
updateCommerceSettingResponse.setRequestId(_ctx.stringValue("UpdateCommerceSettingResponse.RequestId"));
+ updateCommerceSettingResponse.setAccessDeniedDetail(_ctx.stringValue("UpdateCommerceSettingResponse.AccessDeniedDetail"));
+ updateCommerceSettingResponse.setMessage(_ctx.stringValue("UpdateCommerceSettingResponse.Message"));
updateCommerceSettingResponse.setCode(_ctx.stringValue("UpdateCommerceSettingResponse.Code"));
- updateCommerceSettingResponse.setMessage(_ctx.stringValue("UpdateCommerceSettingResponse.Message"));
+ updateCommerceSettingResponse.setSuccess(_ctx.booleanValue("UpdateCommerceSettingResponse.Success"));
return updateCommerceSettingResponse;
}
diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateConversationalAutomationResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateConversationalAutomationResponseUnmarshaller.java
new file mode 100644
index 0000000000..258a3d89cc
--- /dev/null
+++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateConversationalAutomationResponseUnmarshaller.java
@@ -0,0 +1,33 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cams.transform.v20200606;
+
+import com.aliyuncs.cams.model.v20200606.UpdateConversationalAutomationResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class UpdateConversationalAutomationResponseUnmarshaller {
+
+ public static UpdateConversationalAutomationResponse unmarshall(UpdateConversationalAutomationResponse updateConversationalAutomationResponse, UnmarshallerContext _ctx) {
+
+ updateConversationalAutomationResponse.setRequestId(_ctx.stringValue("UpdateConversationalAutomationResponse.RequestId"));
+ updateConversationalAutomationResponse.setAccessDeniedDetail(_ctx.stringValue("UpdateConversationalAutomationResponse.AccessDeniedDetail"));
+ updateConversationalAutomationResponse.setMessage(_ctx.stringValue("UpdateConversationalAutomationResponse.Message"));
+ updateConversationalAutomationResponse.setCode(_ctx.stringValue("UpdateConversationalAutomationResponse.Code"));
+ updateConversationalAutomationResponse.setSuccess(_ctx.booleanValue("UpdateConversationalAutomationResponse.Success"));
+
+ return updateConversationalAutomationResponse;
+ }
+}
\ No newline at end of file