From 31872ba22ad12dcc79645f375a3e646cf98db88c Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 13 Nov 2024 02:54:50 +0000 Subject: [PATCH] Extending IsDisplayPool Filed For QueryBindingDetails. --- aliyun-java-sdk-dyplsapi/ChangeLog.txt | 3 + aliyun-java-sdk-dyplsapi/pom.xml | 7 +- .../model/v20170525/AddAxnTrackNoRequest.java | 2 +- .../v20170525/AddSecretBlacklistRequest.java | 2 +- .../model/v20170525/BindAXBCallRequest.java | 173 +++++++++++ .../model/v20170525/BindAXBCallResponse.java | 99 +++++++ .../model/v20170525/BindAxbRequest.java | 2 +- .../model/v20170525/BindAxgRequest.java | 2 +- .../v20170525/BindAxnExtensionRequest.java | 15 +- .../model/v20170525/BindAxnRequest.java | 15 +- .../model/v20170525/BindBatchAxgRequest.java | 2 +- .../model/v20170525/BindXBRequest.java | 160 ++++++++++ .../model/v20170525/BindXBResponse.java | 109 +++++++ .../model/v20170525/BuySecretNoRequest.java | 2 +- .../v20170525/CancelPickUpWaybillRequest.java | 2 +- .../model/v20170525/ConfigXRequest.java | 252 ++++++++++++++++ .../model/v20170525/ConfigXResponse.java | 129 ++++++++ .../v20170525/CreateAxgGroupRequest.java | 2 +- .../CreatePickUpWaybillPreQueryRequest.java | 2 +- .../v20170525/CreatePickUpWaybillRequest.java | 2 +- .../model/v20170525/CreateSmsSignRequest.java | 147 ++++++++++ .../v20170525/CreateSmsSignResponse.java | 99 +++++++ .../v20170525/DeleteAxgGroupRequest.java | 2 +- .../DeleteSecretBlacklistRequest.java | 2 +- .../v20170525/GetSecretAsrDetailRequest.java | 2 +- .../v20170525/GetTotalPublicUrlRequest.java | 2 +- .../model/v20170525/GetXConfigRequest.java | 134 +++++++++ .../model/v20170525/GetXConfigResponse.java | 276 ++++++++++++++++++ .../v20170525/GetXDefaultConfigRequest.java | 134 +++++++++ .../v20170525/GetXDefaultConfigResponse.java | 276 ++++++++++++++++++ .../v20170525/ListXTelephonesRequest.java | 147 ++++++++++ .../v20170525/ListXTelephonesResponse.java | 233 +++++++++++++++ .../model/v20170525/LockSecretNoRequest.java | 2 +- .../v20170525/OperateAxgGroupRequest.java | 2 +- .../v20170525/OperateBlackNoRequest.java | 2 +- .../QueryPhoneNoAByTrackNoRequest.java | 2 +- .../QueryRecordFileDownloadUrlRequest.java | 2 +- .../v20170525/QuerySecretNoDetailRequest.java | 2 +- .../v20170525/QuerySecretNoRemainRequest.java | 2 +- .../v20170525/QuerySoundRecordRequest.java | 134 +++++++++ .../v20170525/QuerySoundRecordResponse.java | 99 +++++++ .../model/v20170525/QuerySubsIdRequest.java | 2 +- .../QuerySubscriptionDetailRequest.java | 2 +- .../v20170525/ReleaseSecretNoRequest.java | 2 +- .../model/v20170525/UnBindAXBRequest.java | 134 +++++++++ .../model/v20170525/UnBindAXBResponse.java | 129 ++++++++ .../model/v20170525/UnBindXBRequest.java | 147 ++++++++++ .../model/v20170525/UnBindXBResponse.java | 129 ++++++++ .../v20170525/UnbindSubscriptionRequest.java | 2 +- .../v20170525/UnlockSecretNoRequest.java | 2 +- .../v20170525/UpdateSubscriptionRequest.java | 2 +- .../BindAXBCallResponseUnmarshaller.java | 37 +++ .../v20170525/BindXBResponseUnmarshaller.java | 38 +++ .../ConfigXResponseUnmarshaller.java | 40 +++ .../CreateSmsSignResponseUnmarshaller.java | 37 +++ .../GetXConfigResponseUnmarshaller.java | 73 +++++ ...GetXDefaultConfigResponseUnmarshaller.java | 73 +++++ .../ListXTelephonesResponseUnmarshaller.java | 61 ++++ .../QuerySoundRecordResponseUnmarshaller.java | 37 +++ .../UnBindAXBResponseUnmarshaller.java | 40 +++ .../UnBindXBResponseUnmarshaller.java | 40 +++ 61 files changed, 3677 insertions(+), 33 deletions(-) create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAXBCallRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAXBCallResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ConfigXRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ConfigXResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateSmsSignRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateSmsSignResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXConfigRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXConfigResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySoundRecordRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySoundRecordResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindAXBRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindAXBResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBRequest.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBResponse.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/BindAXBCallResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/BindXBResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/ConfigXResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/CreateSmsSignResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/GetXConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/GetXDefaultConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/ListXTelephonesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/QuerySoundRecordResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindAXBResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindXBResponseUnmarshaller.java diff --git a/aliyun-java-sdk-dyplsapi/ChangeLog.txt b/aliyun-java-sdk-dyplsapi/ChangeLog.txt index 218be20dde..8bf1834a15 100644 --- a/aliyun-java-sdk-dyplsapi/ChangeLog.txt +++ b/aliyun-java-sdk-dyplsapi/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-13 Version: 1.3.6 +- Extending IsDisplayPool Filed For QueryBindingDetails. + 2023-05-04 Version: 1.3.5 - Add new API. diff --git a/aliyun-java-sdk-dyplsapi/pom.xml b/aliyun-java-sdk-dyplsapi/pom.xml index 2e1e6bda46..08abc060fa 100644 --- a/aliyun-java-sdk-dyplsapi/pom.xml +++ b/aliyun-java-sdk-dyplsapi/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-dyplsapi jar - 1.3.5 + 1.3.6 aliyun-java-sdk-dyplsapi http://www.aliyun.com Aliyun Open API SDK for Java @@ -27,7 +27,7 @@ http://www.aliyun.com com.aliyun aliyun-java-sdk-core true - [4.4.9,5.0.0) + [4.3.2,5.0.0) com.google.code.gson @@ -83,10 +83,9 @@ http://www.aliyun.com org.apache.maven.plugins maven-javadoc-plugin - 3.1.0 + 2.8 UTF-8 - none diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddAxnTrackNoRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddAxnTrackNoRequest.java index 6652ba94fc..dbb2cc4b0e 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddAxnTrackNoRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddAxnTrackNoRequest.java @@ -39,7 +39,7 @@ public class AddAxnTrackNoRequest extends RpcAcsRequest { private String poolKey; public AddAxnTrackNoRequest() { - super("Dyplsapi", "2017-05-25", "AddAxnTrackNo"); + super("Dyplsapi", "2017-05-25", "AddAxnTrackNo", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddSecretBlacklistRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddSecretBlacklistRequest.java index 073f96478e..6fed882216 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddSecretBlacklistRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/AddSecretBlacklistRequest.java @@ -35,7 +35,7 @@ public class AddSecretBlacklistRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String reqId; + + private String telA; + + private String userData; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + + private String authId; + + private Long expiration; + public BindAXBCallRequest() { + super("Dyplsapi", "2017-05-25", "BindAXBCall", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getTelA() { + return this.telA; + } + + public void setTelA(String telA) { + this.telA = telA; + if(telA != null){ + putQueryParameter("TelA", telA); + } + } + + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + if(userData != null){ + putQueryParameter("UserData", userData); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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 getAuthId() { + return this.authId; + } + + public void setAuthId(String authId) { + this.authId = authId; + if(authId != null){ + putQueryParameter("AuthId", authId); + } + } + + public Long getExpiration() { + return this.expiration; + } + + public void setExpiration(Long expiration) { + this.expiration = expiration; + if(expiration != null){ + putQueryParameter("Expiration", expiration.toString()); + } + } + + @Override + public Class getResponseClass() { + return BindAXBCallResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAXBCallResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAXBCallResponse.java new file mode 100644 index 0000000000..00d8e7cbcc --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAXBCallResponse.java @@ -0,0 +1,99 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.BindAXBCallResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class BindAXBCallResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 bindId; + + public String getBindId() { + return this.bindId; + } + + public void setBindId(String bindId) { + this.bindId = bindId; + } + } + + @Override + public BindAXBCallResponse getInstance(UnmarshallerContext context) { + return BindAXBCallResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxbRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxbRequest.java index 6fd2cb1d6f..9d44f4fc01 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxbRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxbRequest.java @@ -63,7 +63,7 @@ public class BindAxbRequest extends RpcAcsRequest { private String callRestrict; public BindAxbRequest() { - super("Dyplsapi", "2017-05-25", "BindAxb"); + super("Dyplsapi", "2017-05-25", "BindAxb", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxgRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxgRequest.java index 463a74888d..b3868771c1 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxgRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxgRequest.java @@ -61,7 +61,7 @@ public class BindAxgRequest extends RpcAcsRequest { private String callRestrict; public BindAxgRequest() { - super("Dyplsapi", "2017-05-25", "BindAxg"); + super("Dyplsapi", "2017-05-25", "BindAxg", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxnExtensionRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxnExtensionRequest.java index 6458776f41..74bc796fac 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxnExtensionRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindAxnExtensionRequest.java @@ -49,6 +49,8 @@ public class BindAxnExtensionRequest extends RpcAcsRequest { private String outOrderId; + private String extend; + private String poolKey; private String expiration; @@ -63,7 +65,7 @@ public class BindAxnRequest extends RpcAcsRequest { private String callRestrict; public BindAxnRequest() { - super("Dyplsapi", "2017-05-25", "BindAxn"); + super("Dyplsapi", "2017-05-25", "BindAxn", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -203,6 +205,17 @@ public void setOutOrderId(String outOrderId) { } } + public String getExtend() { + return this.extend; + } + + public void setExtend(String extend) { + this.extend = extend; + if(extend != null){ + putQueryParameter("Extend", extend); + } + } + public String getPoolKey() { return this.poolKey; } diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindBatchAxgRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindBatchAxgRequest.java index 73fb137fa1..68d57bcd7e 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindBatchAxgRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindBatchAxgRequest.java @@ -39,7 +39,7 @@ public class BindBatchAxgRequest extends RpcAcsRequest { private String poolKey; public BindBatchAxgRequest() { - super("Dyplsapi", "2017-05-25", "BindBatchAxg"); + super("Dyplsapi", "2017-05-25", "BindBatchAxg", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBRequest.java new file mode 100644 index 0000000000..368f3d2275 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBRequest.java @@ -0,0 +1,160 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.dyplsapi.Endpoint; + +/** + * @author auto create + * @version + */ +public class BindXBRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String telX; + + private String reqId; + + private String telB; + + private String userData; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + public BindXBRequest() { + super("Dyplsapi", "2017-05-25", "BindXB", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + if(telX != null){ + putQueryParameter("TelX", telX); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getTelB() { + return this.telB; + } + + public void setTelB(String telB) { + this.telB = telB; + if(telB != null){ + putQueryParameter("TelB", telB); + } + } + + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + if(userData != null){ + putQueryParameter("UserData", userData); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return BindXBResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBResponse.java new file mode 100644 index 0000000000..96afce2789 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BindXBResponse.java @@ -0,0 +1,109 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.BindXBResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class BindXBResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 authId; + + private String telX; + + public String getAuthId() { + return this.authId; + } + + public void setAuthId(String authId) { + this.authId = authId; + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + } + } + + @Override + public BindXBResponse getInstance(UnmarshallerContext context) { + return BindXBResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BuySecretNoRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BuySecretNoRequest.java index be1eda25a8..ddcd6ce39b 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BuySecretNoRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/BuySecretNoRequest.java @@ -41,7 +41,7 @@ public class BuySecretNoRequest extends RpcAcsRequest { private String poolKey; public BuySecretNoRequest() { - super("Dyplsapi", "2017-05-25", "BuySecretNo"); + super("Dyplsapi", "2017-05-25", "BuySecretNo", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CancelPickUpWaybillRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CancelPickUpWaybillRequest.java index 59cae38faa..8ad1661a91 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CancelPickUpWaybillRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CancelPickUpWaybillRequest.java @@ -37,7 +37,7 @@ public class CancelPickUpWaybillRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String smsAbility; + + private String telX; + + private String sequenceMode; + + @SerializedName("sequenceCalls") + private List sequenceCalls; + + private String reqId; + + private String gNFlag; + + private String callAbility; + + private String customerPoolKey; + + private String smsSignMode; + + private String resourceOwnerAccount; + + private Long ownerId; + public ConfigXRequest() { + super("Dyplsapi", "2017-05-25", "ConfigX", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getSmsAbility() { + return this.smsAbility; + } + + public void setSmsAbility(String smsAbility) { + this.smsAbility = smsAbility; + if(smsAbility != null){ + putQueryParameter("SmsAbility", smsAbility); + } + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + if(telX != null){ + putQueryParameter("TelX", telX); + } + } + + public String getSequenceMode() { + return this.sequenceMode; + } + + public void setSequenceMode(String sequenceMode) { + this.sequenceMode = sequenceMode; + if(sequenceMode != null){ + putQueryParameter("SequenceMode", sequenceMode); + } + } + + public List getSequenceCalls() { + return this.sequenceCalls; + } + + public void setSequenceCalls(List sequenceCalls) { + this.sequenceCalls = sequenceCalls; + if (sequenceCalls != null) { + putQueryParameter("SequenceCalls" , new Gson().toJson(sequenceCalls)); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getGNFlag() { + return this.gNFlag; + } + + public void setGNFlag(String gNFlag) { + this.gNFlag = gNFlag; + if(gNFlag != null){ + putQueryParameter("GNFlag", gNFlag); + } + } + + public String getCallAbility() { + return this.callAbility; + } + + public void setCallAbility(String callAbility) { + this.callAbility = callAbility; + if(callAbility != null){ + putQueryParameter("CallAbility", callAbility); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + public String getSmsSignMode() { + return this.smsSignMode; + } + + public void setSmsSignMode(String smsSignMode) { + this.smsSignMode = smsSignMode; + if(smsSignMode != null){ + putQueryParameter("SmsSignMode", smsSignMode); + } + } + + 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 static class SequenceCalls { + + @SerializedName("SequenceCallNoPlayCode") + private String sequenceCallNoPlayCode; + + @SerializedName("SequenceCalledNo") + private String sequenceCalledNo; + + @SerializedName("SequenceCalledPlayCode") + private String sequenceCalledPlayCode; + + public String getSequenceCallNoPlayCode() { + return this.sequenceCallNoPlayCode; + } + + public void setSequenceCallNoPlayCode(String sequenceCallNoPlayCode) { + this.sequenceCallNoPlayCode = sequenceCallNoPlayCode; + } + + public String getSequenceCalledNo() { + return this.sequenceCalledNo; + } + + public void setSequenceCalledNo(String sequenceCalledNo) { + this.sequenceCalledNo = sequenceCalledNo; + } + + public String getSequenceCalledPlayCode() { + return this.sequenceCalledPlayCode; + } + + public void setSequenceCalledPlayCode(String sequenceCalledPlayCode) { + this.sequenceCalledPlayCode = sequenceCalledPlayCode; + } + } + + @Override + public Class getResponseClass() { + return ConfigXResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ConfigXResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ConfigXResponse.java new file mode 100644 index 0000000000..1c25832cf2 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ConfigXResponse.java @@ -0,0 +1,129 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.ConfigXResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ConfigXResponse 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 message; + + private String code; + + private Boolean success; + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + 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 ConfigXResponse getInstance(UnmarshallerContext context) { + return ConfigXResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateAxgGroupRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateAxgGroupRequest.java index f574b4fc63..69245b636d 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateAxgGroupRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateAxgGroupRequest.java @@ -39,7 +39,7 @@ public class CreateAxgGroupRequest extends RpcAcsRequest private String name; public CreateAxgGroupRequest() { - super("Dyplsapi", "2017-05-25", "CreateAxgGroup"); + super("Dyplsapi", "2017-05-25", "CreateAxgGroup", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreatePickUpWaybillPreQueryRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreatePickUpWaybillPreQueryRequest.java index e232724a21..58fb548b13 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreatePickUpWaybillPreQueryRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreatePickUpWaybillPreQueryRequest.java @@ -43,7 +43,7 @@ public class CreatePickUpWaybillPreQueryRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String calledNo; + + private Long callerParentId; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + + private String callingNo; + public CreateSmsSignRequest() { + super("Dyplsapi", "2017-05-25", "CreateSmsSign", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 getCalledNo() { + return this.calledNo; + } + + public void setCalledNo(String calledNo) { + this.calledNo = calledNo; + if(calledNo != null){ + putQueryParameter("CalledNo", calledNo); + } + } + + public Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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 getCallingNo() { + return this.callingNo; + } + + public void setCallingNo(String callingNo) { + this.callingNo = callingNo; + if(callingNo != null){ + putQueryParameter("CallingNo", callingNo); + } + } + + @Override + public Class getResponseClass() { + return CreateSmsSignResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateSmsSignResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateSmsSignResponse.java new file mode 100644 index 0000000000..7337f52987 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/CreateSmsSignResponse.java @@ -0,0 +1,99 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.CreateSmsSignResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateSmsSignResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 calledNoSign; + + public String getCalledNoSign() { + return this.calledNoSign; + } + + public void setCalledNoSign(String calledNoSign) { + this.calledNoSign = calledNoSign; + } + } + + @Override + public CreateSmsSignResponse getInstance(UnmarshallerContext context) { + return CreateSmsSignResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteAxgGroupRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteAxgGroupRequest.java index e6e1d15db0..ecdbd7bdf5 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteAxgGroupRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteAxgGroupRequest.java @@ -35,7 +35,7 @@ public class DeleteAxgGroupRequest extends RpcAcsRequest private String poolKey; public DeleteAxgGroupRequest() { - super("Dyplsapi", "2017-05-25", "DeleteAxgGroup"); + super("Dyplsapi", "2017-05-25", "DeleteAxgGroup", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteSecretBlacklistRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteSecretBlacklistRequest.java index 7e364a4636..b2a9863abe 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteSecretBlacklistRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/DeleteSecretBlacklistRequest.java @@ -35,7 +35,7 @@ public class DeleteSecretBlacklistRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String telX; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + public GetXConfigRequest() { + super("Dyplsapi", "2017-05-25", "GetXConfig", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + if(telX != null){ + putQueryParameter("TelX", telX); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return GetXConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXConfigResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXConfigResponse.java new file mode 100644 index 0000000000..11d2f25dd2 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXConfigResponse.java @@ -0,0 +1,276 @@ +/* + * 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.dyplsapi.model.v20170525; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.GetXConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetXConfigResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 sequenceStartTime; + + private String smsAbility; + + private String gNFlag; + + private String smsSignMode; + + private String callAbility; + + private String sequenceEndTime; + + private List sequenceCalls; + + private List reachJsons; + + public String getSequenceStartTime() { + return this.sequenceStartTime; + } + + public void setSequenceStartTime(String sequenceStartTime) { + this.sequenceStartTime = sequenceStartTime; + } + + public String getSmsAbility() { + return this.smsAbility; + } + + public void setSmsAbility(String smsAbility) { + this.smsAbility = smsAbility; + } + + public String getGNFlag() { + return this.gNFlag; + } + + public void setGNFlag(String gNFlag) { + this.gNFlag = gNFlag; + } + + public String getSmsSignMode() { + return this.smsSignMode; + } + + public void setSmsSignMode(String smsSignMode) { + this.smsSignMode = smsSignMode; + } + + public String getCallAbility() { + return this.callAbility; + } + + public void setCallAbility(String callAbility) { + this.callAbility = callAbility; + } + + public String getSequenceEndTime() { + return this.sequenceEndTime; + } + + public void setSequenceEndTime(String sequenceEndTime) { + this.sequenceEndTime = sequenceEndTime; + } + + public List getSequenceCalls() { + return this.sequenceCalls; + } + + public void setSequenceCalls(List sequenceCalls) { + this.sequenceCalls = sequenceCalls; + } + + public List getReachJsons() { + return this.reachJsons; + } + + public void setReachJsons(List reachJsons) { + this.reachJsons = reachJsons; + } + + public static class SequenceCallsItem { + + private String sequenceCallNoPlayCode; + + private String sequenceCalledNo; + + private String sequenceCalledPlayCode; + + public String getSequenceCallNoPlayCode() { + return this.sequenceCallNoPlayCode; + } + + public void setSequenceCallNoPlayCode(String sequenceCallNoPlayCode) { + this.sequenceCallNoPlayCode = sequenceCallNoPlayCode; + } + + public String getSequenceCalledNo() { + return this.sequenceCalledNo; + } + + public void setSequenceCalledNo(String sequenceCalledNo) { + this.sequenceCalledNo = sequenceCalledNo; + } + + public String getSequenceCalledPlayCode() { + return this.sequenceCalledPlayCode; + } + + public void setSequenceCalledPlayCode(String sequenceCalledPlayCode) { + this.sequenceCalledPlayCode = sequenceCalledPlayCode; + } + } + + public static class ReachJsonsItem { + + private String receiveDir; + + private String callDir; + + private String tempId; + + private String ruleId; + + private String callStatus; + + private String ruleType; + + private String ruleName; + + public String getReceiveDir() { + return this.receiveDir; + } + + public void setReceiveDir(String receiveDir) { + this.receiveDir = receiveDir; + } + + public String getCallDir() { + return this.callDir; + } + + public void setCallDir(String callDir) { + this.callDir = callDir; + } + + public String getTempId() { + return this.tempId; + } + + public void setTempId(String tempId) { + this.tempId = tempId; + } + + public String getRuleId() { + return this.ruleId; + } + + public void setRuleId(String ruleId) { + this.ruleId = ruleId; + } + + public String getCallStatus() { + return this.callStatus; + } + + public void setCallStatus(String callStatus) { + this.callStatus = callStatus; + } + + public String getRuleType() { + return this.ruleType; + } + + public void setRuleType(String ruleType) { + this.ruleType = ruleType; + } + + public String getRuleName() { + return this.ruleName; + } + + public void setRuleName(String ruleName) { + this.ruleName = ruleName; + } + } + } + + @Override + public GetXConfigResponse getInstance(UnmarshallerContext context) { + return GetXConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigRequest.java new file mode 100644 index 0000000000..7e847cc846 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigRequest.java @@ -0,0 +1,134 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.dyplsapi.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetXDefaultConfigRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String telX; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + public GetXDefaultConfigRequest() { + super("Dyplsapi", "2017-05-25", "GetXDefaultConfig", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + if(telX != null){ + putQueryParameter("TelX", telX); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return GetXDefaultConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigResponse.java new file mode 100644 index 0000000000..7b6dd5dd35 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/GetXDefaultConfigResponse.java @@ -0,0 +1,276 @@ +/* + * 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.dyplsapi.model.v20170525; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.GetXDefaultConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetXDefaultConfigResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 sequenceStartTime; + + private String smsAbility; + + private String gNFlag; + + private String smsSignMode; + + private String callAbility; + + private String sequenceEndTime; + + private List reachJson; + + private List sequenceCall; + + public String getSequenceStartTime() { + return this.sequenceStartTime; + } + + public void setSequenceStartTime(String sequenceStartTime) { + this.sequenceStartTime = sequenceStartTime; + } + + public String getSmsAbility() { + return this.smsAbility; + } + + public void setSmsAbility(String smsAbility) { + this.smsAbility = smsAbility; + } + + public String getGNFlag() { + return this.gNFlag; + } + + public void setGNFlag(String gNFlag) { + this.gNFlag = gNFlag; + } + + public String getSmsSignMode() { + return this.smsSignMode; + } + + public void setSmsSignMode(String smsSignMode) { + this.smsSignMode = smsSignMode; + } + + public String getCallAbility() { + return this.callAbility; + } + + public void setCallAbility(String callAbility) { + this.callAbility = callAbility; + } + + public String getSequenceEndTime() { + return this.sequenceEndTime; + } + + public void setSequenceEndTime(String sequenceEndTime) { + this.sequenceEndTime = sequenceEndTime; + } + + public List getReachJson() { + return this.reachJson; + } + + public void setReachJson(List reachJson) { + this.reachJson = reachJson; + } + + public List getSequenceCall() { + return this.sequenceCall; + } + + public void setSequenceCall(List sequenceCall) { + this.sequenceCall = sequenceCall; + } + + public static class ReachJsonItem { + + private String receiveDir; + + private String callDir; + + private String tempId; + + private String ruleId; + + private String callStatus; + + private String ruleType; + + private String ruleName; + + public String getReceiveDir() { + return this.receiveDir; + } + + public void setReceiveDir(String receiveDir) { + this.receiveDir = receiveDir; + } + + public String getCallDir() { + return this.callDir; + } + + public void setCallDir(String callDir) { + this.callDir = callDir; + } + + public String getTempId() { + return this.tempId; + } + + public void setTempId(String tempId) { + this.tempId = tempId; + } + + public String getRuleId() { + return this.ruleId; + } + + public void setRuleId(String ruleId) { + this.ruleId = ruleId; + } + + public String getCallStatus() { + return this.callStatus; + } + + public void setCallStatus(String callStatus) { + this.callStatus = callStatus; + } + + public String getRuleType() { + return this.ruleType; + } + + public void setRuleType(String ruleType) { + this.ruleType = ruleType; + } + + public String getRuleName() { + return this.ruleName; + } + + public void setRuleName(String ruleName) { + this.ruleName = ruleName; + } + } + + public static class SequenceCallItem { + + private String sequenceCallNoPlayCode; + + private String sequenceCalledNo; + + private String sequenceCalledPlayCode; + + public String getSequenceCallNoPlayCode() { + return this.sequenceCallNoPlayCode; + } + + public void setSequenceCallNoPlayCode(String sequenceCallNoPlayCode) { + this.sequenceCallNoPlayCode = sequenceCallNoPlayCode; + } + + public String getSequenceCalledNo() { + return this.sequenceCalledNo; + } + + public void setSequenceCalledNo(String sequenceCalledNo) { + this.sequenceCalledNo = sequenceCalledNo; + } + + public String getSequenceCalledPlayCode() { + return this.sequenceCalledPlayCode; + } + + public void setSequenceCalledPlayCode(String sequenceCalledPlayCode) { + this.sequenceCalledPlayCode = sequenceCalledPlayCode; + } + } + } + + @Override + public GetXDefaultConfigResponse getInstance(UnmarshallerContext context) { + return GetXDefaultConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesRequest.java new file mode 100644 index 0000000000..cf076f9221 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesRequest.java @@ -0,0 +1,147 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.dyplsapi.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListXTelephonesRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String reqId; + + private Long pageSize; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + + private Long pageNo; + public ListXTelephonesRequest() { + super("Dyplsapi", "2017-05-25", "ListXTelephones", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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 Long getPageNo() { + return this.pageNo; + } + + public void setPageNo(Long pageNo) { + this.pageNo = pageNo; + if(pageNo != null){ + putQueryParameter("PageNo", pageNo.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListXTelephonesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesResponse.java new file mode 100644 index 0000000000..7da60c0586 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/ListXTelephonesResponse.java @@ -0,0 +1,233 @@ +/* + * 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.dyplsapi.model.v20170525; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.ListXTelephonesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListXTelephonesResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 Long pageSize; + + private Long total; + + private Long pageNo; + + private List list; + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getPageNo() { + return this.pageNo; + } + + public void setPageNo(Long pageNo) { + this.pageNo = pageNo; + } + + public List getList() { + return this.list; + } + + public void setList(List list) { + this.list = list; + } + + public static class ListItem { + + private String buyTime; + + private String telephoneStatus; + + private String customerPoolKey; + + private String bindTime; + + private String customerPoolName; + + private String telephone; + + private String smsStatus; + + private String releaseTime; + + private String authMsg; + + private String unbindTime; + + public String getBuyTime() { + return this.buyTime; + } + + public void setBuyTime(String buyTime) { + this.buyTime = buyTime; + } + + public String getTelephoneStatus() { + return this.telephoneStatus; + } + + public void setTelephoneStatus(String telephoneStatus) { + this.telephoneStatus = telephoneStatus; + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + } + + public String getBindTime() { + return this.bindTime; + } + + public void setBindTime(String bindTime) { + this.bindTime = bindTime; + } + + public String getCustomerPoolName() { + return this.customerPoolName; + } + + public void setCustomerPoolName(String customerPoolName) { + this.customerPoolName = customerPoolName; + } + + public String getTelephone() { + return this.telephone; + } + + public void setTelephone(String telephone) { + this.telephone = telephone; + } + + public String getSmsStatus() { + return this.smsStatus; + } + + public void setSmsStatus(String smsStatus) { + this.smsStatus = smsStatus; + } + + public String getReleaseTime() { + return this.releaseTime; + } + + public void setReleaseTime(String releaseTime) { + this.releaseTime = releaseTime; + } + + public String getAuthMsg() { + return this.authMsg; + } + + public void setAuthMsg(String authMsg) { + this.authMsg = authMsg; + } + + public String getUnbindTime() { + return this.unbindTime; + } + + public void setUnbindTime(String unbindTime) { + this.unbindTime = unbindTime; + } + } + } + + @Override + public ListXTelephonesResponse getInstance(UnmarshallerContext context) { + return ListXTelephonesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/LockSecretNoRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/LockSecretNoRequest.java index 78807fe1dc..f1b192ddbb 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/LockSecretNoRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/LockSecretNoRequest.java @@ -35,7 +35,7 @@ public class LockSecretNoRequest extends RpcAcsRequest { private String poolKey; public LockSecretNoRequest() { - super("Dyplsapi", "2017-05-25", "LockSecretNo"); + super("Dyplsapi", "2017-05-25", "LockSecretNo", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/OperateAxgGroupRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/OperateAxgGroupRequest.java index ae3f7febf2..8aa7fbb23e 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/OperateAxgGroupRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/OperateAxgGroupRequest.java @@ -39,7 +39,7 @@ public class OperateAxgGroupRequest extends RpcAcsRequest private String operateType; public OperateBlackNoRequest() { - super("Dyplsapi", "2017-05-25", "OperateBlackNo"); + super("Dyplsapi", "2017-05-25", "OperateBlackNo", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QueryPhoneNoAByTrackNoRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QueryPhoneNoAByTrackNoRequest.java index 4d736962c7..d5546124ae 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QueryPhoneNoAByTrackNoRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QueryPhoneNoAByTrackNoRequest.java @@ -37,7 +37,7 @@ public class QueryPhoneNoAByTrackNoRequest extends RpcAcsRequest { + + + private String callId; + + private Long resourceOwnerId; + + private Long callerParentId; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + public QuerySoundRecordRequest() { + super("Dyplsapi", "2017-05-25", "QuerySoundRecord", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 String getCallId() { + return this.callId; + } + + public void setCallId(String callId) { + this.callId = callId; + if(callId != null){ + putQueryParameter("CallId", callId); + } + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return QuerySoundRecordResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySoundRecordResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySoundRecordResponse.java new file mode 100644 index 0000000000..4d773a2e69 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySoundRecordResponse.java @@ -0,0 +1,99 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.QuerySoundRecordResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class QuerySoundRecordResponse extends AcsResponse { + + private String accessDeniedDetail; + + private String message; + + 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 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 fileUrl; + + public String getFileUrl() { + return this.fileUrl; + } + + public void setFileUrl(String fileUrl) { + this.fileUrl = fileUrl; + } + } + + @Override + public QuerySoundRecordResponse getInstance(UnmarshallerContext context) { + return QuerySoundRecordResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubsIdRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubsIdRequest.java index 90c7edaff7..efb1054320 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubsIdRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubsIdRequest.java @@ -35,7 +35,7 @@ public class QuerySubsIdRequest extends RpcAcsRequest { private String poolKey; public QuerySubsIdRequest() { - super("Dyplsapi", "2017-05-25", "QuerySubsId"); + super("Dyplsapi", "2017-05-25", "QuerySubsId", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubscriptionDetailRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubscriptionDetailRequest.java index c3911387ce..4dfeae6c4d 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubscriptionDetailRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/QuerySubscriptionDetailRequest.java @@ -39,7 +39,7 @@ public class QuerySubscriptionDetailRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + + private String bindId; + public UnBindAXBRequest() { + super("Dyplsapi", "2017-05-25", "UnBindAXB", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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 getBindId() { + return this.bindId; + } + + public void setBindId(String bindId) { + this.bindId = bindId; + if(bindId != null){ + putQueryParameter("BindId", bindId); + } + } + + @Override + public Class getResponseClass() { + return UnBindAXBResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindAXBResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindAXBResponse.java new file mode 100644 index 0000000000..47ada3c1ad --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindAXBResponse.java @@ -0,0 +1,129 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.UnBindAXBResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UnBindAXBResponse 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 message; + + private String code; + + private Boolean success; + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + 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 UnBindAXBResponse getInstance(UnmarshallerContext context) { + return UnBindAXBResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBRequest.java new file mode 100644 index 0000000000..47882ac1d9 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBRequest.java @@ -0,0 +1,147 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.dyplsapi.Endpoint; + +/** + * @author auto create + * @version + */ +public class UnBindXBRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long callerParentId; + + private String telX; + + private String reqId; + + private String customerPoolKey; + + private String resourceOwnerAccount; + + private Long ownerId; + + private String authId; + public UnBindXBRequest() { + super("Dyplsapi", "2017-05-25", "UnBindXB", "dypls"); + setProtocol(ProtocolType.HTTPS); + 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 Long getCallerParentId() { + return this.callerParentId; + } + + public void setCallerParentId(Long callerParentId) { + this.callerParentId = callerParentId; + if(callerParentId != null){ + putQueryParameter("CallerParentId", callerParentId.toString()); + } + } + + public String getTelX() { + return this.telX; + } + + public void setTelX(String telX) { + this.telX = telX; + if(telX != null){ + putQueryParameter("TelX", telX); + } + } + + public String getReqId() { + return this.reqId; + } + + public void setReqId(String reqId) { + this.reqId = reqId; + if(reqId != null){ + putQueryParameter("ReqId", reqId); + } + } + + public String getCustomerPoolKey() { + return this.customerPoolKey; + } + + public void setCustomerPoolKey(String customerPoolKey) { + this.customerPoolKey = customerPoolKey; + if(customerPoolKey != null){ + putQueryParameter("CustomerPoolKey", customerPoolKey); + } + } + + 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 getAuthId() { + return this.authId; + } + + public void setAuthId(String authId) { + this.authId = authId; + if(authId != null){ + putQueryParameter("AuthId", authId); + } + } + + @Override + public Class getResponseClass() { + return UnBindXBResponse.class; + } + +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBResponse.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBResponse.java new file mode 100644 index 0000000000..254c2c6ba8 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnBindXBResponse.java @@ -0,0 +1,129 @@ +/* + * 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.dyplsapi.model.v20170525; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dyplsapi.transform.v20170525.UnBindXBResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UnBindXBResponse 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 message; + + private String code; + + private Boolean success; + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + 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 UnBindXBResponse getInstance(UnmarshallerContext context) { + return UnBindXBResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnbindSubscriptionRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnbindSubscriptionRequest.java index 67e67af04c..3f40b295e0 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnbindSubscriptionRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UnbindSubscriptionRequest.java @@ -39,7 +39,7 @@ public class UnbindSubscriptionRequest extends RpcAcsRequest private String poolKey; public UnlockSecretNoRequest() { - super("Dyplsapi", "2017-05-25", "UnlockSecretNo"); + super("Dyplsapi", "2017-05-25", "UnlockSecretNo", "dypls"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UpdateSubscriptionRequest.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UpdateSubscriptionRequest.java index b5c7ae82a0..2e386e52df 100644 --- a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UpdateSubscriptionRequest.java +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/model/v20170525/UpdateSubscriptionRequest.java @@ -63,7 +63,7 @@ public class UpdateSubscriptionRequest extends RpcAcsRequest sequenceCalls = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetXConfigResponse.Data.SequenceCalls.Length"); i++) { + SequenceCallsItem sequenceCallsItem = new SequenceCallsItem(); + sequenceCallsItem.setSequenceCallNoPlayCode(_ctx.stringValue("GetXConfigResponse.Data.SequenceCalls["+ i +"].SequenceCallNoPlayCode")); + sequenceCallsItem.setSequenceCalledNo(_ctx.stringValue("GetXConfigResponse.Data.SequenceCalls["+ i +"].SequenceCalledNo")); + sequenceCallsItem.setSequenceCalledPlayCode(_ctx.stringValue("GetXConfigResponse.Data.SequenceCalls["+ i +"].SequenceCalledPlayCode")); + + sequenceCalls.add(sequenceCallsItem); + } + data.setSequenceCalls(sequenceCalls); + + List reachJsons = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetXConfigResponse.Data.ReachJsons.Length"); i++) { + ReachJsonsItem reachJsonsItem = new ReachJsonsItem(); + reachJsonsItem.setReceiveDir(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].ReceiveDir")); + reachJsonsItem.setCallDir(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].CallDir")); + reachJsonsItem.setTempId(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].TempId")); + reachJsonsItem.setRuleId(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].RuleId")); + reachJsonsItem.setCallStatus(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].CallStatus")); + reachJsonsItem.setRuleType(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].RuleType")); + reachJsonsItem.setRuleName(_ctx.stringValue("GetXConfigResponse.Data.ReachJsons["+ i +"].RuleName")); + + reachJsons.add(reachJsonsItem); + } + data.setReachJsons(reachJsons); + getXConfigResponse.setData(data); + + return getXConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/GetXDefaultConfigResponseUnmarshaller.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/GetXDefaultConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..a2870be070 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/GetXDefaultConfigResponseUnmarshaller.java @@ -0,0 +1,73 @@ +/* + * 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.dyplsapi.transform.v20170525; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dyplsapi.model.v20170525.GetXDefaultConfigResponse; +import com.aliyuncs.dyplsapi.model.v20170525.GetXDefaultConfigResponse.Data; +import com.aliyuncs.dyplsapi.model.v20170525.GetXDefaultConfigResponse.Data.ReachJsonItem; +import com.aliyuncs.dyplsapi.model.v20170525.GetXDefaultConfigResponse.Data.SequenceCallItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetXDefaultConfigResponseUnmarshaller { + + public static GetXDefaultConfigResponse unmarshall(GetXDefaultConfigResponse getXDefaultConfigResponse, UnmarshallerContext _ctx) { + + getXDefaultConfigResponse.setAccessDeniedDetail(_ctx.stringValue("GetXDefaultConfigResponse.AccessDeniedDetail")); + getXDefaultConfigResponse.setMessage(_ctx.stringValue("GetXDefaultConfigResponse.Message")); + getXDefaultConfigResponse.setCode(_ctx.stringValue("GetXDefaultConfigResponse.Code")); + getXDefaultConfigResponse.setSuccess(_ctx.booleanValue("GetXDefaultConfigResponse.Success")); + + Data data = new Data(); + data.setSequenceStartTime(_ctx.stringValue("GetXDefaultConfigResponse.Data.SequenceStartTime")); + data.setSmsAbility(_ctx.stringValue("GetXDefaultConfigResponse.Data.SmsAbility")); + data.setGNFlag(_ctx.stringValue("GetXDefaultConfigResponse.Data.GNFlag")); + data.setSmsSignMode(_ctx.stringValue("GetXDefaultConfigResponse.Data.SmsSignMode")); + data.setCallAbility(_ctx.stringValue("GetXDefaultConfigResponse.Data.CallAbility")); + data.setSequenceEndTime(_ctx.stringValue("GetXDefaultConfigResponse.Data.SequenceEndTime")); + + List reachJson = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetXDefaultConfigResponse.Data.ReachJson.Length"); i++) { + ReachJsonItem reachJsonItem = new ReachJsonItem(); + reachJsonItem.setReceiveDir(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].ReceiveDir")); + reachJsonItem.setCallDir(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].CallDir")); + reachJsonItem.setTempId(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].TempId")); + reachJsonItem.setRuleId(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].RuleId")); + reachJsonItem.setCallStatus(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].CallStatus")); + reachJsonItem.setRuleType(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].RuleType")); + reachJsonItem.setRuleName(_ctx.stringValue("GetXDefaultConfigResponse.Data.ReachJson["+ i +"].RuleName")); + + reachJson.add(reachJsonItem); + } + data.setReachJson(reachJson); + + List sequenceCall = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetXDefaultConfigResponse.Data.SequenceCall.Length"); i++) { + SequenceCallItem sequenceCallItem = new SequenceCallItem(); + sequenceCallItem.setSequenceCallNoPlayCode(_ctx.stringValue("GetXDefaultConfigResponse.Data.SequenceCall["+ i +"].SequenceCallNoPlayCode")); + sequenceCallItem.setSequenceCalledNo(_ctx.stringValue("GetXDefaultConfigResponse.Data.SequenceCall["+ i +"].SequenceCalledNo")); + sequenceCallItem.setSequenceCalledPlayCode(_ctx.stringValue("GetXDefaultConfigResponse.Data.SequenceCall["+ i +"].SequenceCalledPlayCode")); + + sequenceCall.add(sequenceCallItem); + } + data.setSequenceCall(sequenceCall); + getXDefaultConfigResponse.setData(data); + + return getXDefaultConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/ListXTelephonesResponseUnmarshaller.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/ListXTelephonesResponseUnmarshaller.java new file mode 100644 index 0000000000..07ef244a2a --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/ListXTelephonesResponseUnmarshaller.java @@ -0,0 +1,61 @@ +/* + * 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.dyplsapi.transform.v20170525; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dyplsapi.model.v20170525.ListXTelephonesResponse; +import com.aliyuncs.dyplsapi.model.v20170525.ListXTelephonesResponse.Data; +import com.aliyuncs.dyplsapi.model.v20170525.ListXTelephonesResponse.Data.ListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListXTelephonesResponseUnmarshaller { + + public static ListXTelephonesResponse unmarshall(ListXTelephonesResponse listXTelephonesResponse, UnmarshallerContext _ctx) { + + listXTelephonesResponse.setAccessDeniedDetail(_ctx.stringValue("ListXTelephonesResponse.AccessDeniedDetail")); + listXTelephonesResponse.setMessage(_ctx.stringValue("ListXTelephonesResponse.Message")); + listXTelephonesResponse.setCode(_ctx.stringValue("ListXTelephonesResponse.Code")); + listXTelephonesResponse.setSuccess(_ctx.booleanValue("ListXTelephonesResponse.Success")); + + Data data = new Data(); + data.setPageSize(_ctx.longValue("ListXTelephonesResponse.Data.PageSize")); + data.setTotal(_ctx.longValue("ListXTelephonesResponse.Data.Total")); + data.setPageNo(_ctx.longValue("ListXTelephonesResponse.Data.PageNo")); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListXTelephonesResponse.Data.List.Length"); i++) { + ListItem listItem = new ListItem(); + listItem.setBuyTime(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].BuyTime")); + listItem.setTelephoneStatus(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].TelephoneStatus")); + listItem.setCustomerPoolKey(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].CustomerPoolKey")); + listItem.setBindTime(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].BindTime")); + listItem.setCustomerPoolName(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].CustomerPoolName")); + listItem.setTelephone(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].Telephone")); + listItem.setSmsStatus(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].SmsStatus")); + listItem.setReleaseTime(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].ReleaseTime")); + listItem.setAuthMsg(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].AuthMsg")); + listItem.setUnbindTime(_ctx.stringValue("ListXTelephonesResponse.Data.List["+ i +"].UnbindTime")); + + list.add(listItem); + } + data.setList(list); + listXTelephonesResponse.setData(data); + + return listXTelephonesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/QuerySoundRecordResponseUnmarshaller.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/QuerySoundRecordResponseUnmarshaller.java new file mode 100644 index 0000000000..bb193e3f02 --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/QuerySoundRecordResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * 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.dyplsapi.transform.v20170525; + +import com.aliyuncs.dyplsapi.model.v20170525.QuerySoundRecordResponse; +import com.aliyuncs.dyplsapi.model.v20170525.QuerySoundRecordResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class QuerySoundRecordResponseUnmarshaller { + + public static QuerySoundRecordResponse unmarshall(QuerySoundRecordResponse querySoundRecordResponse, UnmarshallerContext _ctx) { + + querySoundRecordResponse.setAccessDeniedDetail(_ctx.stringValue("QuerySoundRecordResponse.AccessDeniedDetail")); + querySoundRecordResponse.setMessage(_ctx.stringValue("QuerySoundRecordResponse.Message")); + querySoundRecordResponse.setCode(_ctx.stringValue("QuerySoundRecordResponse.Code")); + querySoundRecordResponse.setSuccess(_ctx.booleanValue("QuerySoundRecordResponse.Success")); + + Data data = new Data(); + data.setFileUrl(_ctx.stringValue("QuerySoundRecordResponse.Data.FileUrl")); + querySoundRecordResponse.setData(data); + + return querySoundRecordResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindAXBResponseUnmarshaller.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindAXBResponseUnmarshaller.java new file mode 100644 index 0000000000..33739f113a --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindAXBResponseUnmarshaller.java @@ -0,0 +1,40 @@ +/* + * 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.dyplsapi.transform.v20170525; + +import com.aliyuncs.dyplsapi.model.v20170525.UnBindAXBResponse; +import com.aliyuncs.dyplsapi.model.v20170525.UnBindAXBResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UnBindAXBResponseUnmarshaller { + + public static UnBindAXBResponse unmarshall(UnBindAXBResponse unBindAXBResponse, UnmarshallerContext _ctx) { + + unBindAXBResponse.setRequestId(_ctx.stringValue("UnBindAXBResponse.RequestId")); + unBindAXBResponse.setAccessDeniedDetail(_ctx.stringValue("UnBindAXBResponse.AccessDeniedDetail")); + unBindAXBResponse.setMessage(_ctx.stringValue("UnBindAXBResponse.Message")); + unBindAXBResponse.setCode(_ctx.stringValue("UnBindAXBResponse.Code")); + unBindAXBResponse.setSuccess(_ctx.booleanValue("UnBindAXBResponse.Success")); + + Data data = new Data(); + data.setMessage(_ctx.stringValue("UnBindAXBResponse.Data.Message")); + data.setCode(_ctx.stringValue("UnBindAXBResponse.Data.Code")); + data.setSuccess(_ctx.booleanValue("UnBindAXBResponse.Data.Success")); + unBindAXBResponse.setData(data); + + return unBindAXBResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindXBResponseUnmarshaller.java b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindXBResponseUnmarshaller.java new file mode 100644 index 0000000000..eac12e7b4c --- /dev/null +++ b/aliyun-java-sdk-dyplsapi/src/main/java/com/aliyuncs/dyplsapi/transform/v20170525/UnBindXBResponseUnmarshaller.java @@ -0,0 +1,40 @@ +/* + * 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.dyplsapi.transform.v20170525; + +import com.aliyuncs.dyplsapi.model.v20170525.UnBindXBResponse; +import com.aliyuncs.dyplsapi.model.v20170525.UnBindXBResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UnBindXBResponseUnmarshaller { + + public static UnBindXBResponse unmarshall(UnBindXBResponse unBindXBResponse, UnmarshallerContext _ctx) { + + unBindXBResponse.setRequestId(_ctx.stringValue("UnBindXBResponse.RequestId")); + unBindXBResponse.setAccessDeniedDetail(_ctx.stringValue("UnBindXBResponse.AccessDeniedDetail")); + unBindXBResponse.setMessage(_ctx.stringValue("UnBindXBResponse.Message")); + unBindXBResponse.setCode(_ctx.stringValue("UnBindXBResponse.Code")); + unBindXBResponse.setSuccess(_ctx.booleanValue("UnBindXBResponse.Success")); + + Data data = new Data(); + data.setMessage(_ctx.stringValue("UnBindXBResponse.Data.Message")); + data.setCode(_ctx.stringValue("UnBindXBResponse.Data.Code")); + data.setSuccess(_ctx.booleanValue("UnBindXBResponse.Data.Success")); + unBindXBResponse.setData(data); + + return unBindXBResponse; + } +} \ No newline at end of file