Skip to content

Commit

Permalink
增加号码开场白、命令等
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 25, 2024
1 parent 39e7a07 commit 8fc81d9
Show file tree
Hide file tree
Showing 49 changed files with 2,027 additions and 305 deletions.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-cams/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-07-25 Version: 1.0.14
- 增加号码开场白、命令等
- 模板列表增加最迟更新时间

2024-06-21 Version: 1.0.13
- Authentication template add SupportApps

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-cams/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-cams</artifactId>
<packaging>jar</packaging>
<version>1.0.13</version>
<version>1.0.14</version>
<name>aliyun-java-sdk-cams</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
public class AddChatappPhoneNumberRequest extends RpcAcsRequest<AddChatappPhoneNumberResponse> {


private Long resourceOwnerId;

private String preValidateId;

private String verifiedName;
Expand All @@ -33,6 +35,10 @@ public class AddChatappPhoneNumberRequest extends RpcAcsRequest<AddChatappPhoneN

private String cc;

private String resourceOwnerAccount;

private Long ownerId;

private String custSpaceId;
public AddChatappPhoneNumberRequest() {
super("cams", "2020-06-06", "AddChatappPhoneNumber", "cams");
Expand All @@ -43,14 +49,25 @@ public AddChatappPhoneNumberRequest() {
} 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 getPreValidateId() {
return this.preValidateId;
}

public void setPreValidateId(String preValidateId) {
this.preValidateId = preValidateId;
if(preValidateId != null){
putBodyParameter("PreValidateId", preValidateId);
putQueryParameter("PreValidateId", preValidateId);
}
}

Expand All @@ -61,7 +78,7 @@ public String getVerifiedName() {
public void setVerifiedName(String verifiedName) {
this.verifiedName = verifiedName;
if(verifiedName != null){
putBodyParameter("VerifiedName", verifiedName);
putQueryParameter("VerifiedName", verifiedName);
}
}

Expand All @@ -72,7 +89,7 @@ public String getPhoneNumber() {
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
putQueryParameter("PhoneNumber", phoneNumber);
}
}

Expand All @@ -83,7 +100,29 @@ public String getCc() {
public void setCc(String cc) {
this.cc = cc;
if(cc != null){
putBodyParameter("Cc", cc);
putQueryParameter("Cc", cc);
}
}

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());
}
}

Expand All @@ -94,7 +133,7 @@ public String getCustSpaceId() {
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
putQueryParameter("CustSpaceId", custSpaceId);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,31 @@
*/
public class AddChatappPhoneNumberResponse 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;
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
public class ChatappBindWabaRequest extends RpcAcsRequest<ChatappBindWabaResponse> {


private Long resourceOwnerId;

private String resourceOwnerAccount;

private Long ownerId;

private String wabaId;
public ChatappBindWabaRequest() {
super("cams", "2020-06-06", "ChatappBindWaba", "cams");
Expand All @@ -35,14 +41,47 @@ 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;
}

public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
putBodyParameter("WabaId", wabaId);
putQueryParameter("WabaId", wabaId);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@
public class ChatappPhoneNumberRegisterRequest extends RpcAcsRequest<ChatappPhoneNumberRegisterResponse> {


private Long resourceOwnerId;

private String phoneNumber;

private String resourceOwnerAccount;

private Long ownerId;

private String custSpaceId;
public ChatappPhoneNumberRegisterRequest() {
super("cams", "2020-06-06", "ChatappPhoneNumberRegister", "cams");
Expand All @@ -37,14 +43,47 @@ 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;
}

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());
}
}

Expand All @@ -55,7 +94,7 @@ public String getCustSpaceId() {
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
putQueryParameter("CustSpaceId", custSpaceId);
}
}

Expand Down
Loading

0 comments on commit 8fc81d9

Please sign in to comment.