diff --git a/aliyun-java-sdk-ccc/ChangeLog.txt b/aliyun-java-sdk-ccc/ChangeLog.txt index 9c78486337..9e4f5def0c 100644 --- a/aliyun-java-sdk-ccc/ChangeLog.txt +++ b/aliyun-java-sdk-ccc/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-08-14 Version: 2.10.6 +- Add CallIds field for ListCallDetailRecord. + 2024-05-23 Version: 2.10.5 - Generated 2017-07-05, 2020-07-01 for `CCC`. diff --git a/aliyun-java-sdk-ccc/pom.xml b/aliyun-java-sdk-ccc/pom.xml index b6ca38ffed..b1ddd58cb6 100644 --- a/aliyun-java-sdk-ccc/pom.xml +++ b/aliyun-java-sdk-ccc/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-ccc jar - 2.10.5 + 2.10.6 aliyun-java-sdk-ccc http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceRequest.java deleted file mode 100644 index e422250f05..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceRequest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class AddAgentDeviceRequest extends RpcAcsRequest { - - - private String remark; - - private String clientPort; - - private String instanceId; - - private String clientIp; - - private String browserVersion; - public AddAgentDeviceRequest() { - super("CCC", "2017-07-05", "AddAgentDevice", "CCC"); - 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 getRemark() { - return this.remark; - } - - public void setRemark(String remark) { - this.remark = remark; - if(remark != null){ - putBodyParameter("Remark", remark); - } - } - - public String getClientPort() { - return this.clientPort; - } - - public void setClientPort(String clientPort) { - this.clientPort = clientPort; - if(clientPort != null){ - putQueryParameter("ClientPort", clientPort); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getClientIp() { - return this.clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - if(clientIp != null){ - putQueryParameter("ClientIp", clientIp); - } - } - - public String getBrowserVersion() { - return this.browserVersion; - } - - public void setBrowserVersion(String browserVersion) { - this.browserVersion = browserVersion; - if(browserVersion != null){ - putBodyParameter("BrowserVersion", browserVersion); - } - } - - @Override - public Class getResponseClass() { - return AddAgentDeviceResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceResponse.java deleted file mode 100644 index 5fb4ae1c12..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddAgentDeviceResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.AddAgentDeviceResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class AddAgentDeviceResponse extends AcsResponse { - - private Integer httpStatusCode; - - private Long agentDeviceId; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public Long getAgentDeviceId() { - return this.agentDeviceId; - } - - public void setAgentDeviceId(Long agentDeviceId) { - this.agentDeviceId = agentDeviceId; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - @Override - public AddAgentDeviceResponse getInstance(UnmarshallerContext context) { - return AddAgentDeviceResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersRequest.java deleted file mode 100644 index 1ac6deb483..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersRequest.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class AddBulkPhoneNumbersRequest extends RpcAcsRequest { - - - private String contactFlowId; - - private String usage; - - private List phoneNumbers; - - private String instanceId; - - private List skillGroupIds; - public AddBulkPhoneNumbersRequest() { - super("CCC", "2017-07-05", "AddBulkPhoneNumbers", "CCC"); - 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 getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - if(contactFlowId != null){ - putQueryParameter("ContactFlowId", contactFlowId); - } - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - if(usage != null){ - putQueryParameter("Usage", usage); - } - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - if (phoneNumbers != null) { - for (int i = 0; i < phoneNumbers.size(); i++) { - putQueryParameter("PhoneNumber." + (i + 1) , phoneNumbers.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return AddBulkPhoneNumbersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersResponse.java deleted file mode 100644 index d20b924fa1..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddBulkPhoneNumbersResponse.java +++ /dev/null @@ -1,311 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.AddBulkPhoneNumbersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class AddBulkPhoneNumbersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List phoneNumbers; - - private List arrearagePhoneNumbers; - - private List failedPhoneNumbers; - - private List userdPhoneNumbers; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public List getArrearagePhoneNumbers() { - return this.arrearagePhoneNumbers; - } - - public void setArrearagePhoneNumbers(List arrearagePhoneNumbers) { - this.arrearagePhoneNumbers = arrearagePhoneNumbers; - } - - public List getFailedPhoneNumbers() { - return this.failedPhoneNumbers; - } - - public void setFailedPhoneNumbers(List failedPhoneNumbers) { - this.failedPhoneNumbers = failedPhoneNumbers; - } - - public List getUserdPhoneNumbers() { - return this.userdPhoneNumbers; - } - - public void setUserdPhoneNumbers(List userdPhoneNumbers) { - this.userdPhoneNumbers = userdPhoneNumbers; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - private List skillGroups; - - private ContactFlow contactFlow; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public List getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(List skillGroups) { - this.skillGroups = skillGroups; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public static class SkillGroup { - - private String skillGroupName; - - private String skillGroupId; - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - } - - public static class ContactFlow { - - private String type; - - private String contactFlowDescription; - - private String instanceId; - - private String contactFlowName; - - private String contactFlowId; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - } - } - - @Override - public AddBulkPhoneNumbersResponse getInstance(UnmarshallerContext context) { - return AddBulkPhoneNumbersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberRequest.java deleted file mode 100644 index b94a18edd8..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class AddPhoneNumberRequest extends RpcAcsRequest { - - - private String contactFlowId; - - private String usage; - - private String phoneNumber; - - private String instanceId; - public AddPhoneNumberRequest() { - super("CCC", "2017-07-05", "AddPhoneNumber", "CCC"); - 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 getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - if(contactFlowId != null){ - putQueryParameter("ContactFlowId", contactFlowId); - } - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - if(usage != null){ - putQueryParameter("Usage", usage); - } - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - if(phoneNumber != null){ - putQueryParameter("PhoneNumber", phoneNumber); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return AddPhoneNumberResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberResponse.java deleted file mode 100644 index ffd0cee2ba..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneNumberResponse.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.AddPhoneNumberResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class AddPhoneNumberResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PhoneNumber phoneNumber; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PhoneNumber getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(PhoneNumber phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - private ContactFlow contactFlow; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public static class ContactFlow { - - private String type; - - private String contactFlowDescription; - - private String instanceId; - - private String contactFlowName; - - private String contactFlowId; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - } - } - - @Override - public AddPhoneNumberResponse getInstance(UnmarshallerContext context) { - return AddPhoneNumberResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsRequest.java deleted file mode 100644 index 8fd87994cc..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsRequest.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class AddPhoneTagsRequest extends RpcAcsRequest { - - - private String regionNameProvince; - - private Integer type; - - private Integer concurrency; - - private String instanceId; - - private String provider; - - private String serviceTag; - - private List phoneNumberLists; - - private String sipTag; - - private String regionNameCity; - public AddPhoneTagsRequest() { - super("CCC", "2017-07-05", "AddPhoneTags", "CCC"); - 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 getRegionNameProvince() { - return this.regionNameProvince; - } - - public void setRegionNameProvince(String regionNameProvince) { - this.regionNameProvince = regionNameProvince; - if(regionNameProvince != null){ - putQueryParameter("RegionNameProvince", regionNameProvince); - } - } - - public Integer getType() { - return this.type; - } - - public void setType(Integer type) { - this.type = type; - if(type != null){ - putQueryParameter("Type", type.toString()); - } - } - - public Integer getConcurrency() { - return this.concurrency; - } - - public void setConcurrency(Integer concurrency) { - this.concurrency = concurrency; - if(concurrency != null){ - putQueryParameter("Concurrency", concurrency.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getProvider() { - return this.provider; - } - - public void setProvider(String provider) { - this.provider = provider; - if(provider != null){ - putQueryParameter("Provider", provider); - } - } - - public String getServiceTag() { - return this.serviceTag; - } - - public void setServiceTag(String serviceTag) { - this.serviceTag = serviceTag; - if(serviceTag != null){ - putQueryParameter("ServiceTag", serviceTag); - } - } - - public List getPhoneNumberLists() { - return this.phoneNumberLists; - } - - public void setPhoneNumberLists(List phoneNumberLists) { - this.phoneNumberLists = phoneNumberLists; - if (phoneNumberLists != null) { - for (int i = 0; i < phoneNumberLists.size(); i++) { - putQueryParameter("PhoneNumberList." + (i + 1) , phoneNumberLists.get(i)); - } - } - } - - public String getSipTag() { - return this.sipTag; - } - - public void setSipTag(String sipTag) { - this.sipTag = sipTag; - if(sipTag != null){ - putQueryParameter("SipTag", sipTag); - } - } - - public String getRegionNameCity() { - return this.regionNameCity; - } - - public void setRegionNameCity(String regionNameCity) { - this.regionNameCity = regionNameCity; - if(regionNameCity != null){ - putQueryParameter("RegionNameCity", regionNameCity); - } - } - - @Override - public Class getResponseClass() { - return AddPhoneTagsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersRequest.java deleted file mode 100644 index bf7bff3304..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersRequest.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class AssignUsersRequest extends RpcAcsRequest { - - - private List roleIds; - - private List userRamIds; - - private List skillLevels; - - private String instanceId; - - private List skillGroupIds; - public AssignUsersRequest() { - super("CCC", "2017-07-05", "AssignUsers", "CCC"); - 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 List getRoleIds() { - return this.roleIds; - } - - public void setRoleIds(List roleIds) { - this.roleIds = roleIds; - if (roleIds != null) { - for (int i = 0; i < roleIds.size(); i++) { - putQueryParameter("RoleId." + (i + 1) , roleIds.get(i)); - } - } - } - - public List getUserRamIds() { - return this.userRamIds; - } - - public void setUserRamIds(List userRamIds) { - this.userRamIds = userRamIds; - if (userRamIds != null) { - for (int i = 0; i < userRamIds.size(); i++) { - putQueryParameter("UserRamId." + (i + 1) , userRamIds.get(i)); - } - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return AssignUsersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersResponse.java deleted file mode 100644 index f775174ecd..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AssignUsersResponse.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.AssignUsersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class AssignUsersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List data; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getData() { - return this.data; - } - - public void setData(List data) { - this.data = data; - } - - public static class User { - - private String instanceId; - - private String userId; - - private String ramId; - - private Boolean primary; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public Boolean getPrimary() { - return this.primary; - } - - public void setPrimary(Boolean primary) { - this.primary = primary; - } - } - - @Override - public AssignUsersResponse getInstance(UnmarshallerContext context) { - return AssignUsersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberResponse.java deleted file mode 100644 index dd6b7b7b5a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberResponse.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CallOnlinePrivacyNumberResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CallOnlinePrivacyNumberResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Data data; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 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 dateCreated; - - private String represent; - - private String telX; - - private String statusCode; - - private String callId; - - public String getDateCreated() { - return this.dateCreated; - } - - public void setDateCreated(String dateCreated) { - this.dateCreated = dateCreated; - } - - public String getRepresent() { - return this.represent; - } - - public void setRepresent(String represent) { - this.represent = represent; - } - - public String getTelX() { - return this.telX; - } - - public void setTelX(String telX) { - this.telX = telX; - } - - public String getStatusCode() { - return this.statusCode; - } - - public void setStatusCode(String statusCode) { - this.statusCode = statusCode; - } - - public String getCallId() { - return this.callId; - } - - public void setCallId(String callId) { - this.callId = callId; - } - } - - @Override - public CallOnlinePrivacyNumberResponse getInstance(UnmarshallerContext context) { - return CallOnlinePrivacyNumberResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableResponse.java deleted file mode 100644 index 905b8d2543..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableResponse.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CheckNumberAvaliableResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CheckNumberAvaliableResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private CallerAvaliable callerAvaliable; - - private CalleeAvaliable calleeAvaliable; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public CallerAvaliable getCallerAvaliable() { - return this.callerAvaliable; - } - - public void setCallerAvaliable(CallerAvaliable callerAvaliable) { - this.callerAvaliable = callerAvaliable; - } - - public CalleeAvaliable getCalleeAvaliable() { - return this.calleeAvaliable; - } - - public void setCalleeAvaliable(CalleeAvaliable calleeAvaliable) { - this.calleeAvaliable = calleeAvaliable; - } - - public static class CallerAvaliable { - - private Boolean avaliable; - - private String reason; - - public Boolean getAvaliable() { - return this.avaliable; - } - - public void setAvaliable(Boolean avaliable) { - this.avaliable = avaliable; - } - - public String getReason() { - return this.reason; - } - - public void setReason(String reason) { - this.reason = reason; - } - } - - public static class CalleeAvaliable { - - private Boolean avaliable; - - private String reason; - - public Boolean getAvaliable() { - return this.avaliable; - } - - public void setAvaliable(Boolean avaliable) { - this.avaliable = avaliable; - } - - public String getReason() { - return this.reason; - } - - public void setReason(String reason) { - this.reason = reason; - } - } - - @Override - public CheckNumberAvaliableResponse getInstance(UnmarshallerContext context) { - return CheckNumberAvaliableResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationRequest.java deleted file mode 100644 index e122058d34..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CommitContactFlowVersionModificationRequest extends RpcAcsRequest { - - - private String canvas; - - private String content; - - private String instanceId; - - private String contactFlowVersionId; - public CommitContactFlowVersionModificationRequest() { - super("CCC", "2017-07-05", "CommitContactFlowVersionModification", "CCC"); - 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 getCanvas() { - return this.canvas; - } - - public void setCanvas(String canvas) { - this.canvas = canvas; - if(canvas != null){ - putBodyParameter("Canvas", canvas); - } - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - if(content != null){ - putBodyParameter("Content", content); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - if(contactFlowVersionId != null){ - putQueryParameter("ContactFlowVersionId", contactFlowVersionId); - } - } - - @Override - public Class getResponseClass() { - return CommitContactFlowVersionModificationResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationResponse.java deleted file mode 100644 index 1f02dc8b24..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CommitContactFlowVersionModificationResponse.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CommitContactFlowVersionModificationResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CommitContactFlowVersionModificationResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private ContactFlowVersion contactFlowVersion; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public ContactFlowVersion getContactFlowVersion() { - return this.contactFlowVersion; - } - - public void setContactFlowVersion(ContactFlowVersion contactFlowVersion) { - this.contactFlowVersion = contactFlowVersion; - } - - public static class ContactFlowVersion { - - private String status; - - private String lastModified; - - private String canvas; - - private String lockedBy; - - private String version; - - private String contactFlowVersionId; - - private String lastModifiedBy; - - private String contactFlowVersionDescription; - - private String content; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getLastModified() { - return this.lastModified; - } - - public void setLastModified(String lastModified) { - this.lastModified = lastModified; - } - - public String getCanvas() { - return this.canvas; - } - - public void setCanvas(String canvas) { - this.canvas = canvas; - } - - public String getLockedBy() { - return this.lockedBy; - } - - public void setLockedBy(String lockedBy) { - this.lockedBy = lockedBy; - } - - public String getVersion() { - return this.version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - } - - public String getLastModifiedBy() { - return this.lastModifiedBy; - } - - public void setLastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - } - - public String getContactFlowVersionDescription() { - return this.contactFlowVersionDescription; - } - - public void setContactFlowVersionDescription(String contactFlowVersionDescription) { - this.contactFlowVersionDescription = contactFlowVersionDescription; - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - } - } - - @Override - public CommitContactFlowVersionModificationResponse getInstance(UnmarshallerContext context) { - return CommitContactFlowVersionModificationResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowRequest.java deleted file mode 100644 index 0f87ad0135..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateContactFlowRequest extends RpcAcsRequest { - - - private String canvas; - - private String description; - - private String type; - - private String content; - - private String instanceId; - - private String name; - public CreateContactFlowRequest() { - super("CCC", "2017-07-05", "CreateContactFlow", "CCC"); - 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 getCanvas() { - return this.canvas; - } - - public void setCanvas(String canvas) { - this.canvas = canvas; - if(canvas != null){ - putBodyParameter("Canvas", canvas); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - if(type != null){ - putQueryParameter("Type", type); - } - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - if(content != null){ - putBodyParameter("Content", content); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - @Override - public Class getResponseClass() { - return CreateContactFlowResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowResponse.java deleted file mode 100644 index 6c974f5617..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateContactFlowResponse.java +++ /dev/null @@ -1,361 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateContactFlowResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateContactFlowResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private ContactFlow contactFlow; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public static class ContactFlow { - - private String contactFlowDescription; - - private String type; - - private String contactFlowName; - - private String instanceId; - - private String contactFlowId; - - private String appliedVersion; - - private List versions; - - private List phoneNumbers; - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - - public String getAppliedVersion() { - return this.appliedVersion; - } - - public void setAppliedVersion(String appliedVersion) { - this.appliedVersion = appliedVersion; - } - - public List getVersions() { - return this.versions; - } - - public void setVersions(List versions) { - this.versions = versions; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class ContactFlowVersion { - - private String status; - - private String lastModified; - - private String canvas; - - private String lockedBy; - - private String version; - - private String contactFlowVersionId; - - private String lastModifiedBy; - - private String contactFlowVersionDescription; - - private String content; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getLastModified() { - return this.lastModified; - } - - public void setLastModified(String lastModified) { - this.lastModified = lastModified; - } - - public String getCanvas() { - return this.canvas; - } - - public void setCanvas(String canvas) { - this.canvas = canvas; - } - - public String getLockedBy() { - return this.lockedBy; - } - - public void setLockedBy(String lockedBy) { - this.lockedBy = lockedBy; - } - - public String getVersion() { - return this.version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - } - - public String getLastModifiedBy() { - return this.lastModifiedBy; - } - - public void setLastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - } - - public String getContactFlowVersionDescription() { - return this.contactFlowVersionDescription; - } - - public void setContactFlowVersionDescription(String contactFlowVersionDescription) { - this.contactFlowVersionDescription = contactFlowVersionDescription; - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - } - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public CreateContactFlowResponse getInstance(UnmarshallerContext context) { - return CreateContactFlowResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultRequest.java deleted file mode 100644 index 8a74f08e43..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultRequest.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateFaultRequest extends RpcAcsRequest { - - - private String agentOssFileName; - - private String description; - - private String operatingSystemVersion; - - private Long startTime; - - private String microphoneList; - - private String clientPort; - - private String customFilePath; - - private String clientIp; - - private String speakerList; - - private Long agentId; - - private Long endTime; - - private String speakerEquipment; - - private String servicePort; - - private String serviceIp; - - private String instanceId; - - private String agentFilePath; - - private String connectId; - - private String customOssFileName; - - private String microphoneEquipment; - - private String browserVersion; - public CreateFaultRequest() { - super("CCC", "2017-07-05", "CreateFault", "CCC"); - 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 getAgentOssFileName() { - return this.agentOssFileName; - } - - public void setAgentOssFileName(String agentOssFileName) { - this.agentOssFileName = agentOssFileName; - if(agentOssFileName != null){ - putQueryParameter("AgentOssFileName", agentOssFileName); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getOperatingSystemVersion() { - return this.operatingSystemVersion; - } - - public void setOperatingSystemVersion(String operatingSystemVersion) { - this.operatingSystemVersion = operatingSystemVersion; - if(operatingSystemVersion != null){ - putQueryParameter("OperatingSystemVersion", operatingSystemVersion); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public String getMicrophoneList() { - return this.microphoneList; - } - - public void setMicrophoneList(String microphoneList) { - this.microphoneList = microphoneList; - if(microphoneList != null){ - putQueryParameter("MicrophoneList", microphoneList); - } - } - - public String getClientPort() { - return this.clientPort; - } - - public void setClientPort(String clientPort) { - this.clientPort = clientPort; - if(clientPort != null){ - putQueryParameter("ClientPort", clientPort); - } - } - - public String getCustomFilePath() { - return this.customFilePath; - } - - public void setCustomFilePath(String customFilePath) { - this.customFilePath = customFilePath; - if(customFilePath != null){ - putQueryParameter("CustomFilePath", customFilePath); - } - } - - public String getClientIp() { - return this.clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - if(clientIp != null){ - putQueryParameter("ClientIp", clientIp); - } - } - - public String getSpeakerList() { - return this.speakerList; - } - - public void setSpeakerList(String speakerList) { - this.speakerList = speakerList; - if(speakerList != null){ - putQueryParameter("SpeakerList", speakerList); - } - } - - public Long getAgentId() { - return this.agentId; - } - - public void setAgentId(Long agentId) { - this.agentId = agentId; - if(agentId != null){ - putQueryParameter("AgentId", agentId.toString()); - } - } - - public Long getEndTime() { - return this.endTime; - } - - public void setEndTime(Long endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime.toString()); - } - } - - public String getSpeakerEquipment() { - return this.speakerEquipment; - } - - public void setSpeakerEquipment(String speakerEquipment) { - this.speakerEquipment = speakerEquipment; - if(speakerEquipment != null){ - putQueryParameter("SpeakerEquipment", speakerEquipment); - } - } - - public String getServicePort() { - return this.servicePort; - } - - public void setServicePort(String servicePort) { - this.servicePort = servicePort; - if(servicePort != null){ - putQueryParameter("ServicePort", servicePort); - } - } - - public String getServiceIp() { - return this.serviceIp; - } - - public void setServiceIp(String serviceIp) { - this.serviceIp = serviceIp; - if(serviceIp != null){ - putQueryParameter("ServiceIp", serviceIp); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getAgentFilePath() { - return this.agentFilePath; - } - - public void setAgentFilePath(String agentFilePath) { - this.agentFilePath = agentFilePath; - if(agentFilePath != null){ - putQueryParameter("AgentFilePath", agentFilePath); - } - } - - public String getConnectId() { - return this.connectId; - } - - public void setConnectId(String connectId) { - this.connectId = connectId; - if(connectId != null){ - putQueryParameter("ConnectId", connectId); - } - } - - public String getCustomOssFileName() { - return this.customOssFileName; - } - - public void setCustomOssFileName(String customOssFileName) { - this.customOssFileName = customOssFileName; - if(customOssFileName != null){ - putQueryParameter("CustomOssFileName", customOssFileName); - } - } - - public String getMicrophoneEquipment() { - return this.microphoneEquipment; - } - - public void setMicrophoneEquipment(String microphoneEquipment) { - this.microphoneEquipment = microphoneEquipment; - if(microphoneEquipment != null){ - putQueryParameter("MicrophoneEquipment", microphoneEquipment); - } - } - - public String getBrowserVersion() { - return this.browserVersion; - } - - public void setBrowserVersion(String browserVersion) { - this.browserVersion = browserVersion; - if(browserVersion != null){ - putQueryParameter("BrowserVersion", browserVersion); - } - } - - @Override - public Class getResponseClass() { - return CreateFaultResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultResponse.java deleted file mode 100644 index 2da0120305..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateFaultResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateFaultResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateFaultResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public CreateFaultResponse getInstance(UnmarshallerContext context) { - return CreateFaultResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceRequest.java deleted file mode 100644 index 1536f5ddec..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceRequest.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateInstanceRequest extends RpcAcsRequest { - - - private List phoneNumberss; - - private List userObjects; - - private String domainName; - - private String phoneNumber; - - private String description; - - private Integer storageMaxDays; - - private List adminRamIds; - - private String name; - - private Integer storageMaxSize; - - private String directoryId; - public CreateInstanceRequest() { - super("CCC", "2017-07-05", "CreateInstance", "CCC"); - 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 List getPhoneNumberss() { - return this.phoneNumberss; - } - - public void setPhoneNumberss(List phoneNumberss) { - this.phoneNumberss = phoneNumberss; - if (phoneNumberss != null) { - for (int i = 0; i < phoneNumberss.size(); i++) { - putQueryParameter("PhoneNumbers." + (i + 1) , phoneNumberss.get(i)); - } - } - } - - public List getUserObjects() { - return this.userObjects; - } - - public void setUserObjects(List userObjects) { - this.userObjects = userObjects; - if (userObjects != null) { - for (int i = 0; i < userObjects.size(); i++) { - putQueryParameter("UserObject." + (i + 1) , userObjects.get(i)); - } - } - } - - public String getDomainName() { - return this.domainName; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - if(domainName != null){ - putQueryParameter("DomainName", domainName); - } - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - if(phoneNumber != null){ - putQueryParameter("PhoneNumber", phoneNumber); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public Integer getStorageMaxDays() { - return this.storageMaxDays; - } - - public void setStorageMaxDays(Integer storageMaxDays) { - this.storageMaxDays = storageMaxDays; - if(storageMaxDays != null){ - putQueryParameter("StorageMaxDays", storageMaxDays.toString()); - } - } - - public List getAdminRamIds() { - return this.adminRamIds; - } - - public void setAdminRamIds(List adminRamIds) { - this.adminRamIds = adminRamIds; - if (adminRamIds != null) { - for (int i = 0; i < adminRamIds.size(); i++) { - putQueryParameter("AdminRamId." + (i + 1) , adminRamIds.get(i)); - } - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - public Integer getStorageMaxSize() { - return this.storageMaxSize; - } - - public void setStorageMaxSize(Integer storageMaxSize) { - this.storageMaxSize = storageMaxSize; - if(storageMaxSize != null){ - putQueryParameter("StorageMaxSize", storageMaxSize.toString()); - } - } - - public String getDirectoryId() { - return this.directoryId; - } - - public void setDirectoryId(String directoryId) { - this.directoryId = directoryId; - if(directoryId != null){ - putQueryParameter("DirectoryId", directoryId); - } - } - - @Override - public Class getResponseClass() { - return CreateInstanceResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceResponse.java deleted file mode 100644 index 6ae416e347..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateInstanceResponse.java +++ /dev/null @@ -1,484 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateInstanceResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateInstanceResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Instance instance; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Instance getInstance() { - return this.instance; - } - - public void setInstance(Instance instance) { - this.instance = instance; - } - - public static class Instance { - - private String status; - - private String owner; - - private Integer storageMaxDays; - - private Integer storageMaxSize; - - private Integer maxOnlineAgents; - - private String instanceId; - - private String instanceDescription; - - private String domainName; - - private String consoleUrl; - - private String instanceName; - - private String storageBucket; - - private Long createdTime; - - private String directoryId; - - private String tenantId; - - private List admin; - - private List phoneNumbers; - - private List successPhoneNumbers; - - private List successLoginNames; - - private List failPhoneNumbers; - - private List failLoginNames; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getOwner() { - return this.owner; - } - - public void setOwner(String owner) { - this.owner = owner; - } - - public Integer getStorageMaxDays() { - return this.storageMaxDays; - } - - public void setStorageMaxDays(Integer storageMaxDays) { - this.storageMaxDays = storageMaxDays; - } - - public Integer getStorageMaxSize() { - return this.storageMaxSize; - } - - public void setStorageMaxSize(Integer storageMaxSize) { - this.storageMaxSize = storageMaxSize; - } - - public Integer getMaxOnlineAgents() { - return this.maxOnlineAgents; - } - - public void setMaxOnlineAgents(Integer maxOnlineAgents) { - this.maxOnlineAgents = maxOnlineAgents; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getInstanceDescription() { - return this.instanceDescription; - } - - public void setInstanceDescription(String instanceDescription) { - this.instanceDescription = instanceDescription; - } - - public String getDomainName() { - return this.domainName; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - } - - public String getConsoleUrl() { - return this.consoleUrl; - } - - public void setConsoleUrl(String consoleUrl) { - this.consoleUrl = consoleUrl; - } - - public String getInstanceName() { - return this.instanceName; - } - - public void setInstanceName(String instanceName) { - this.instanceName = instanceName; - } - - public String getStorageBucket() { - return this.storageBucket; - } - - public void setStorageBucket(String storageBucket) { - this.storageBucket = storageBucket; - } - - public Long getCreatedTime() { - return this.createdTime; - } - - public void setCreatedTime(Long createdTime) { - this.createdTime = createdTime; - } - - public String getDirectoryId() { - return this.directoryId; - } - - public void setDirectoryId(String directoryId) { - this.directoryId = directoryId; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public List getAdmin() { - return this.admin; - } - - public void setAdmin(List admin) { - this.admin = admin; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public List getSuccessPhoneNumbers() { - return this.successPhoneNumbers; - } - - public void setSuccessPhoneNumbers(List successPhoneNumbers) { - this.successPhoneNumbers = successPhoneNumbers; - } - - public List getSuccessLoginNames() { - return this.successLoginNames; - } - - public void setSuccessLoginNames(List successLoginNames) { - this.successLoginNames = successLoginNames; - } - - public List getFailPhoneNumbers() { - return this.failPhoneNumbers; - } - - public void setFailPhoneNumbers(List failPhoneNumbers) { - this.failPhoneNumbers = failPhoneNumbers; - } - - public List getFailLoginNames() { - return this.failLoginNames; - } - - public void setFailLoginNames(List failLoginNames) { - this.failLoginNames = failLoginNames; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public CreateInstanceResponse getInstance(UnmarshallerContext context) { - return CreateInstanceResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaRequest.java deleted file mode 100644 index b679bd8861..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaRequest.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateMediaRequest extends RpcAcsRequest { - - - private String description; - - private String ossFilePath; - - private String uploadResult; - - private String type; - - private String content; - - private String ossFileName; - - private String instanceId; - - private String fileName; - - private String name; - public CreateMediaRequest() { - super("CCC", "2017-07-05", "CreateMedia", "CCC"); - 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 getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getOssFilePath() { - return this.ossFilePath; - } - - public void setOssFilePath(String ossFilePath) { - this.ossFilePath = ossFilePath; - if(ossFilePath != null){ - putQueryParameter("OssFilePath", ossFilePath); - } - } - - public String getUploadResult() { - return this.uploadResult; - } - - public void setUploadResult(String uploadResult) { - this.uploadResult = uploadResult; - if(uploadResult != null){ - putQueryParameter("UploadResult", uploadResult); - } - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - if(type != null){ - putQueryParameter("Type", type); - } - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - if(content != null){ - putQueryParameter("Content", content); - } - } - - public String getOssFileName() { - return this.ossFileName; - } - - public void setOssFileName(String ossFileName) { - this.ossFileName = ossFileName; - if(ossFileName != null){ - putQueryParameter("OssFileName", ossFileName); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - if(fileName != null){ - putQueryParameter("FileName", fileName); - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - @Override - public Class getResponseClass() { - return CreateMediaResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaResponse.java deleted file mode 100644 index 81ce9e259f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateMediaResponse.java +++ /dev/null @@ -1,154 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateMediaResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateMediaResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private MediaUploadParam mediaUploadParam; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public MediaUploadParam getMediaUploadParam() { - return this.mediaUploadParam; - } - - public void setMediaUploadParam(MediaUploadParam mediaUploadParam) { - this.mediaUploadParam = mediaUploadParam; - } - - public static class MediaUploadParam { - - private String instance; - - private String ossFilePath; - - private String fileName; - - private String name; - - private String id; - - private String ossFileName; - - public String getInstance() { - return this.instance; - } - - public void setInstance(String instance) { - this.instance = instance; - } - - public String getOssFilePath() { - return this.ossFilePath; - } - - public void setOssFilePath(String ossFilePath) { - this.ossFilePath = ossFilePath; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getId() { - return this.id; - } - - public void setId(String id) { - this.id = id; - } - - public String getOssFileName() { - return this.ossFileName; - } - - public void setOssFileName(String ossFileName) { - this.ossFileName = ossFileName; - } - } - - @Override - public CreateMediaResponse getInstance(UnmarshallerContext context) { - return CreateMediaResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupRequest.java deleted file mode 100644 index 6f2392e3d9..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupRequest.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateSkillGroupRequest extends RpcAcsRequest { - - - private Boolean allowPrivateOutboundNumber; - - private String description; - - private String routingStrategy; - - private List userIds; - - private List skillLevels; - - private String instanceId; - - private List outboundPhoneNumberIds; - - private String name; - public CreateSkillGroupRequest() { - super("CCC", "2017-07-05", "CreateSkillGroup", "CCC"); - 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 Boolean getAllowPrivateOutboundNumber() { - return this.allowPrivateOutboundNumber; - } - - public void setAllowPrivateOutboundNumber(Boolean allowPrivateOutboundNumber) { - this.allowPrivateOutboundNumber = allowPrivateOutboundNumber; - if(allowPrivateOutboundNumber != null){ - putQueryParameter("AllowPrivateOutboundNumber", allowPrivateOutboundNumber.toString()); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - if(routingStrategy != null){ - putQueryParameter("RoutingStrategy", routingStrategy); - } - } - - public List getUserIds() { - return this.userIds; - } - - public void setUserIds(List userIds) { - this.userIds = userIds; - if (userIds != null) { - for (int i = 0; i < userIds.size(); i++) { - putQueryParameter("UserId." + (i + 1) , userIds.get(i)); - } - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getOutboundPhoneNumberIds() { - return this.outboundPhoneNumberIds; - } - - public void setOutboundPhoneNumberIds(List outboundPhoneNumberIds) { - this.outboundPhoneNumberIds = outboundPhoneNumberIds; - if (outboundPhoneNumberIds != null) { - for (int i = 0; i < outboundPhoneNumberIds.size(); i++) { - putQueryParameter("OutboundPhoneNumberId." + (i + 1) , outboundPhoneNumberIds.get(i)); - } - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - @Override - public Class getResponseClass() { - return CreateSkillGroupResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupResponse.java deleted file mode 100644 index ad76a4d79e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateSkillGroupResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateSkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String skillGroupId; - - private String code; - - private String message; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - @Override - public CreateSkillGroupResponse getInstance(UnmarshallerContext context) { - return CreateSkillGroupResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserRequest.java deleted file mode 100644 index c80e50ea39..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserRequest.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class CreateUserRequest extends RpcAcsRequest { - - - private String privateOutboundNumberId; - - private String loginName; - - private List roleIds; - - private List skillLevels; - - private String instanceId; - - private String phone; - - private String displayName; - - private List skillGroupIds; - - private String email; - public CreateUserRequest() { - super("CCC", "2017-07-05", "CreateUser", "CCC"); - 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 getPrivateOutboundNumberId() { - return this.privateOutboundNumberId; - } - - public void setPrivateOutboundNumberId(String privateOutboundNumberId) { - this.privateOutboundNumberId = privateOutboundNumberId; - if(privateOutboundNumberId != null){ - putQueryParameter("PrivateOutboundNumberId", privateOutboundNumberId); - } - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - if(loginName != null){ - putQueryParameter("LoginName", loginName); - } - } - - public List getRoleIds() { - return this.roleIds; - } - - public void setRoleIds(List roleIds) { - this.roleIds = roleIds; - if (roleIds != null) { - for (int i = 0; i < roleIds.size(); i++) { - putQueryParameter("RoleId." + (i + 1) , roleIds.get(i)); - } - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - if(phone != null){ - putQueryParameter("Phone", phone); - } - } - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - if(displayName != null){ - putQueryParameter("DisplayName", displayName); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - if(email != null){ - putQueryParameter("Email", email); - } - } - - @Override - public Class getResponseClass() { - return CreateUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserResponse.java deleted file mode 100644 index 2910d9481e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateUserResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String userId; - - private String code; - - private String message; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - @Override - public CreateUserResponse getInstance(UnmarshallerContext context) { - return CreateUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseResponse.java deleted file mode 100644 index f77b5b596d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.CreateVoiceAppraiseResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class CreateVoiceAppraiseResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public CreateVoiceAppraiseResponse getInstance(UnmarshallerContext context) { - return CreateVoiceAppraiseResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceResponse.java deleted file mode 100644 index 7c2ac1ccd3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DeleteInstanceResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DeleteInstanceResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public DeleteInstanceResponse getInstance(UnmarshallerContext context) { - return DeleteInstanceResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaResponse.java deleted file mode 100644 index d399f1b85a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DeleteMediaResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DeleteMediaResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public DeleteMediaResponse getInstance(UnmarshallerContext context) { - return DeleteMediaResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupResponse.java deleted file mode 100644 index fecdc9be5a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DeleteSkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DeleteSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public DeleteSkillGroupResponse getInstance(UnmarshallerContext context) { - return DeleteSkillGroupResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExRequest.java deleted file mode 100644 index f8f35de9d2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class DialExRequest extends RpcAcsRequest { - - - private String callee; - - private String routPoint; - - private String caller; - - private String instanceId; - - private String provider; - - private Integer answerMode; - public DialExRequest() { - super("CCC", "2017-07-05", "DialEx", "CCC"); - 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 getCallee() { - return this.callee; - } - - public void setCallee(String callee) { - this.callee = callee; - if(callee != null){ - putQueryParameter("Callee", callee); - } - } - - public String getRoutPoint() { - return this.routPoint; - } - - public void setRoutPoint(String routPoint) { - this.routPoint = routPoint; - if(routPoint != null){ - putQueryParameter("RoutPoint", routPoint); - } - } - - public String getCaller() { - return this.caller; - } - - public void setCaller(String caller) { - this.caller = caller; - if(caller != null){ - putQueryParameter("Caller", caller); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getProvider() { - return this.provider; - } - - public void setProvider(String provider) { - this.provider = provider; - if(provider != null){ - putQueryParameter("Provider", provider); - } - } - - public Integer getAnswerMode() { - return this.answerMode; - } - - public void setAnswerMode(Integer answerMode) { - this.answerMode = answerMode; - if(answerMode != null){ - putQueryParameter("AnswerMode", answerMode.toString()); - } - } - - @Override - public Class getResponseClass() { - return DialExResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExResponse.java deleted file mode 100644 index ba57c0b9a2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DialExResponse.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DialExResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DialExResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String statusCode; - - private String code; - - private String message; - - private String timeStamp; - - private String taskId; - - private String statusDesc; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getStatusCode() { - return this.statusCode; - } - - public void setStatusCode(String statusCode) { - this.statusCode = statusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getTimeStamp() { - return this.timeStamp; - } - - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - public String getTaskId() { - return this.taskId; - } - - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public String getStatusDesc() { - return this.statusDesc; - } - - public void setStatusDesc(String statusDesc) { - this.statusDesc = statusDesc; - } - - @Override - public DialExResponse getInstance(UnmarshallerContext context) { - return DialExResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersRequest.java deleted file mode 100644 index 4fd37eca0c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersRequest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class DisableTrunkProvidersRequest extends RpcAcsRequest { - - - private List providerNames; - public DisableTrunkProvidersRequest() { - super("CCC", "2017-07-05", "DisableTrunkProviders", "CCC"); - 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 List getProviderNames() { - return this.providerNames; - } - - public void setProviderNames(List providerNames) { - this.providerNames = providerNames; - if (providerNames != null) { - for (int i = 0; i < providerNames.size(); i++) { - putQueryParameter("ProviderName." + (i + 1) , providerNames.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return DisableTrunkProvidersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingResponse.java deleted file mode 100644 index 30b0c4d097..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingResponse.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DownloadAllTypeRecordingResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DownloadAllTypeRecordingResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List mediaDownloadParamList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getMediaDownloadParamList() { - return this.mediaDownloadParamList; - } - - public void setMediaDownloadParamList(List mediaDownloadParamList) { - this.mediaDownloadParamList = mediaDownloadParamList; - } - - public static class MediaDownloadParam { - - private String signatureUrl; - - private String fileName; - - public String getSignatureUrl() { - return this.signatureUrl; - } - - public void setSignatureUrl(String signatureUrl) { - this.signatureUrl = signatureUrl; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - } - - @Override - public DownloadAllTypeRecordingResponse getInstance(UnmarshallerContext context) { - return DownloadAllTypeRecordingResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingResponse.java deleted file mode 100644 index 907edf88af..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingResponse.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DownloadRecordingResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DownloadRecordingResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private MediaDownloadParam mediaDownloadParam; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public MediaDownloadParam getMediaDownloadParam() { - return this.mediaDownloadParam; - } - - public void setMediaDownloadParam(MediaDownloadParam mediaDownloadParam) { - this.mediaDownloadParam = mediaDownloadParam; - } - - public static class MediaDownloadParam { - - private String signatureUrl; - - private String fileName; - - public String getSignatureUrl() { - return this.signatureUrl; - } - - public void setSignatureUrl(String signatureUrl) { - this.signatureUrl = signatureUrl; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - } - - @Override - public DownloadRecordingResponse getInstance(UnmarshallerContext context) { - return DownloadRecordingResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersResponse.java deleted file mode 100644 index 4e3a8b5d23..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersResponse.java +++ /dev/null @@ -1,380 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.FindUsersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class FindUsersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Users users; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Users getUsers() { - return this.users; - } - - public void setUsers(Users users) { - this.users = users; - } - - public static class Users { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class User { - - private String privateOutboundNumberId; - - private String instanceId; - - private String ramId; - - private String userId; - - private List roles; - - private List skillLevels; - - private Detail detail; - - public String getPrivateOutboundNumberId() { - return this.privateOutboundNumberId; - } - - public void setPrivateOutboundNumberId(String privateOutboundNumberId) { - this.privateOutboundNumberId = privateOutboundNumberId; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - } - - @Override - public FindUsersResponse getInstance(UnmarshallerContext context) { - return FindUsersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportRequest.java deleted file mode 100644 index 8e5d667254..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GenerateAgentStatisticReportRequest extends RpcAcsRequest { - - - private String agentId; - - private String startDate; - - private Integer pageNumber; - - private String instanceId; - - private String endDate; - - private Integer pageSize; - public GenerateAgentStatisticReportRequest() { - super("CCC", "2017-07-05", "GenerateAgentStatisticReport", "CCC"); - 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 getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - if(agentId != null){ - putQueryParameter("AgentId", agentId); - } - } - - public String getStartDate() { - return this.startDate; - } - - public void setStartDate(String startDate) { - this.startDate = startDate; - if(startDate != null){ - putQueryParameter("StartDate", startDate); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getEndDate() { - return this.endDate; - } - - public void setEndDate(String endDate) { - this.endDate = endDate; - if(endDate != null){ - putQueryParameter("EndDate", endDate); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return GenerateAgentStatisticReportResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportResponse.java deleted file mode 100644 index 141ef5df8f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GenerateAgentStatisticReportResponse.java +++ /dev/null @@ -1,797 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GenerateAgentStatisticReportResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GenerateAgentStatisticReportResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private DataList dataList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public DataList getDataList() { - return this.dataList; - } - - public void setDataList(DataList dataList) { - this.dataList = dataList; - } - - public static class DataList { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class GenerateAgentStatistic { - - private Long totalLoggedInTime; - - private Float occupancyRate; - - private String loginName; - - private String agentId; - - private String recordDate; - - private String agentName; - - private String instanceId; - - private Long averageReadyTime; - - private Long maxReadyTime; - - private String skillGroupNames; - - private String skillGroupIds; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Inbound inbound; - - private Outbound outbound; - - private Overall overall; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getRecordDate() { - return this.recordDate; - } - - public void setRecordDate(String recordDate) { - this.recordDate = recordDate; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public static class Inbound { - - private Long totalTalkTime; - - private Long averageRingTime; - - private Long callsOffered; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long maxHoldTime; - - private Long maxWorkTime; - - private Long totalHoldTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long totalRingTime; - - private Long maxTalkTime; - - private Long maxRingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxHoldTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long totalHoldTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - - public static class Overall { - - private Long totalTalkTime; - - private Long maxHoldTime; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalHoldTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - } - } - - @Override - public GenerateAgentStatisticReportResponse getInstance(UnmarshallerContext context) { - return GenerateAgentStatisticReportResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataRequest.java deleted file mode 100644 index 8a8e910550..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetAgentDataRequest extends RpcAcsRequest { - - - private String startDay; - - private String userId; - - private Integer pageNumber; - - private String instanceId; - - private String endDay; - - private Integer pageSize; - public GetAgentDataRequest() { - super("CCC", "2017-07-05", "GetAgentData", "CCC"); - 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 getStartDay() { - return this.startDay; - } - - public void setStartDay(String startDay) { - this.startDay = startDay; - if(startDay != null){ - putQueryParameter("StartDay", startDay); - } - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getEndDay() { - return this.endDay; - } - - public void setEndDay(String endDay) { - this.endDay = endDay; - if(endDay != null){ - putQueryParameter("EndDay", endDay); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return GetAgentDataResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataResponse.java deleted file mode 100644 index e921855758..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetAgentDataResponse.java +++ /dev/null @@ -1,802 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetAgentDataResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetAgentDataResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private DataList dataList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public DataList getDataList() { - return this.dataList; - } - - public void setDataList(DataList dataList) { - this.dataList = dataList; - } - - public static class DataList { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class GenerateAgentStatistic { - - private Long totalLoggedInTime; - - private Float occupancyRate; - - private String loginName; - - private String agentId; - - private String recordDate; - - private String agentName; - - private String instanceId; - - private Long averageReadyTime; - - private Long maxReadyTime; - - private String skillGroupNames; - - private String skillGroupIds; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Inbound inbound; - - private Outbound outbound; - - private Overall overall; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getRecordDate() { - return this.recordDate; - } - - public void setRecordDate(String recordDate) { - this.recordDate = recordDate; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public static class Inbound { - - private Long totalTalkTime; - - private Long averageRingTime; - - private Long callsOffered; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long maxHoldTime; - - private Long maxWorkTime; - - private Long totalHoldTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long totalRingTime; - - private Long maxTalkTime; - - private Long maxRingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxHoldTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long totalHoldTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - - public static class Overall { - - private Long totalTalkTime; - - private Long maxHoldTime; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalHoldTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageHoldTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxHoldTime() { - return this.maxHoldTime; - } - - public void setMaxHoldTime(Long maxHoldTime) { - this.maxHoldTime = maxHoldTime; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalHoldTime() { - return this.totalHoldTime; - } - - public void setTotalHoldTime(Long totalHoldTime) { - this.totalHoldTime = totalHoldTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageHoldTime() { - return this.averageHoldTime; - } - - public void setAverageHoldTime(Long averageHoldTime) { - this.averageHoldTime = averageHoldTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - } - } - - @Override - public GetAgentDataResponse getInstance(UnmarshallerContext context) { - return GetAgentDataResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportRequest.java deleted file mode 100644 index 3d228f0447..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetCallMeasureSummaryReportRequest extends RpcAcsRequest { - - - private String intervalType; - - private Integer year; - - private Integer pageNumber; - - private Integer month; - - private Integer pageSize; - - private Integer day; - public GetCallMeasureSummaryReportRequest() { - super("CCC", "2017-07-05", "GetCallMeasureSummaryReport", "CCC"); - 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 getIntervalType() { - return this.intervalType; - } - - public void setIntervalType(String intervalType) { - this.intervalType = intervalType; - if(intervalType != null){ - putQueryParameter("IntervalType", intervalType); - } - } - - public Integer getYear() { - return this.year; - } - - public void setYear(Integer year) { - this.year = year; - if(year != null){ - putQueryParameter("Year", year.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public Integer getMonth() { - return this.month; - } - - public void setMonth(Integer month) { - this.month = month; - if(month != null){ - putQueryParameter("Month", month.toString()); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public Integer getDay() { - return this.day; - } - - public void setDay(Integer day) { - this.day = day; - if(day != null){ - putQueryParameter("Day", day.toString()); - } - } - - @Override - public Class getResponseClass() { - return GetCallMeasureSummaryReportResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportResponse.java deleted file mode 100644 index 50ac666689..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetCallMeasureSummaryReportResponse.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetCallMeasureSummaryReportResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetCallMeasureSummaryReportResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private SummaryReport summaryReport; - - private NumberReports numberReports; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public SummaryReport getSummaryReport() { - return this.summaryReport; - } - - public void setSummaryReport(SummaryReport summaryReport) { - this.summaryReport = summaryReport; - } - - public NumberReports getNumberReports() { - return this.numberReports; - } - - public void setNumberReports(NumberReports numberReports) { - this.numberReports = numberReports; - } - - public static class SummaryReport { - - private Integer day; - - private Integer year; - - private Long inboundDurationByMinute; - - private Long outboundCount; - - private Long outboundDurationByMinute; - - private Long inboundCount; - - private Integer month; - - public Integer getDay() { - return this.day; - } - - public void setDay(Integer day) { - this.day = day; - } - - public Integer getYear() { - return this.year; - } - - public void setYear(Integer year) { - this.year = year; - } - - public Long getInboundDurationByMinute() { - return this.inboundDurationByMinute; - } - - public void setInboundDurationByMinute(Long inboundDurationByMinute) { - this.inboundDurationByMinute = inboundDurationByMinute; - } - - public Long getOutboundCount() { - return this.outboundCount; - } - - public void setOutboundCount(Long outboundCount) { - this.outboundCount = outboundCount; - } - - public Long getOutboundDurationByMinute() { - return this.outboundDurationByMinute; - } - - public void setOutboundDurationByMinute(Long outboundDurationByMinute) { - this.outboundDurationByMinute = outboundDurationByMinute; - } - - public Long getInboundCount() { - return this.inboundCount; - } - - public void setInboundCount(Long inboundCount) { - this.inboundCount = inboundCount; - } - - public Integer getMonth() { - return this.month; - } - - public void setMonth(Integer month) { - this.month = month; - } - } - - public static class NumberReports { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class NumberReport { - - private Integer day; - - private Integer year; - - private Long inboundDurationByMinute; - - private Long outboundCount; - - private Long outboundDurationByMinute; - - private String number; - - private Long inboundCount; - - private Integer month; - - public Integer getDay() { - return this.day; - } - - public void setDay(Integer day) { - this.day = day; - } - - public Integer getYear() { - return this.year; - } - - public void setYear(Integer year) { - this.year = year; - } - - public Long getInboundDurationByMinute() { - return this.inboundDurationByMinute; - } - - public void setInboundDurationByMinute(Long inboundDurationByMinute) { - this.inboundDurationByMinute = inboundDurationByMinute; - } - - public Long getOutboundCount() { - return this.outboundCount; - } - - public void setOutboundCount(Long outboundCount) { - this.outboundCount = outboundCount; - } - - public Long getOutboundDurationByMinute() { - return this.outboundDurationByMinute; - } - - public void setOutboundDurationByMinute(Long outboundDurationByMinute) { - this.outboundDurationByMinute = outboundDurationByMinute; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public Long getInboundCount() { - return this.inboundCount; - } - - public void setInboundCount(Long inboundCount) { - this.inboundCount = inboundCount; - } - - public Integer getMonth() { - return this.month; - } - - public void setMonth(Integer month) { - this.month = month; - } - } - } - - @Override - public GetCallMeasureSummaryReportResponse getInstance(UnmarshallerContext context) { - return GetCallMeasureSummaryReportResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigResponse.java deleted file mode 100644 index e5b46d7583..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigResponse.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetConfigResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetConfigResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private ConfigItem configItem; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public ConfigItem getConfigItem() { - return this.configItem; - } - - public void setConfigItem(ConfigItem configItem) { - this.configItem = configItem; - } - - public static class ConfigItem { - - private String name; - - private String value; - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getValue() { - return this.value; - } - - public void setValue(String value) { - this.value = value; - } - } - - @Override - public GetConfigResponse getInstance(UnmarshallerContext context) { - return GetConfigResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdResponse.java deleted file mode 100644 index 016f042c11..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdResponse.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetConversationDetailByContactIdResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetConversationDetailByContactIdResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private DataList dataList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public DataList getDataList() { - return this.dataList; - } - - public void setDataList(DataList dataList) { - this.dataList = dataList; - } - - public static class DataList { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class QualityCheckPhrase { - - private Long end; - - private String words; - - private String role; - - private Long begin; - - private String identity; - - public Long getEnd() { - return this.end; - } - - public void setEnd(Long end) { - this.end = end; - } - - public String getWords() { - return this.words; - } - - public void setWords(String words) { - this.words = words; - } - - public String getRole() { - return this.role; - } - - public void setRole(String role) { - this.role = role; - } - - public Long getBegin() { - return this.begin; - } - - public void setBegin(Long begin) { - this.begin = begin; - } - - public String getIdentity() { - return this.identity; - } - - public void setIdentity(String identity) { - this.identity = identity; - } - } - } - - @Override - public GetConversationDetailByContactIdResponse getInstance(UnmarshallerContext context) { - return GetConversationDetailByContactIdResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceRequest.java deleted file mode 100644 index 96ac5a99c6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetInstanceRequest extends RpcAcsRequest { - - - private String instanceId; - public GetInstanceRequest() { - super("CCC", "2017-07-05", "GetInstance", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return GetInstanceResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceResponse.java deleted file mode 100644 index d7095dfcca..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceResponse.java +++ /dev/null @@ -1,444 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetInstanceResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetInstanceResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Instance instance; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Instance getInstance() { - return this.instance; - } - - public void setInstance(Instance instance) { - this.instance = instance; - } - - public static class Instance { - - private String status; - - private String owner; - - private Integer storageMaxDays; - - private Integer storageMaxSize; - - private Integer maxOnlineAgents; - - private String instanceId; - - private String instanceDescription; - - private String domainName; - - private String consoleUrl; - - private String instanceName; - - private String storageBucket; - - private Long createdTime; - - private String directoryId; - - private String tenantId; - - private List admin; - - private List phoneNumbers; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getOwner() { - return this.owner; - } - - public void setOwner(String owner) { - this.owner = owner; - } - - public Integer getStorageMaxDays() { - return this.storageMaxDays; - } - - public void setStorageMaxDays(Integer storageMaxDays) { - this.storageMaxDays = storageMaxDays; - } - - public Integer getStorageMaxSize() { - return this.storageMaxSize; - } - - public void setStorageMaxSize(Integer storageMaxSize) { - this.storageMaxSize = storageMaxSize; - } - - public Integer getMaxOnlineAgents() { - return this.maxOnlineAgents; - } - - public void setMaxOnlineAgents(Integer maxOnlineAgents) { - this.maxOnlineAgents = maxOnlineAgents; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getInstanceDescription() { - return this.instanceDescription; - } - - public void setInstanceDescription(String instanceDescription) { - this.instanceDescription = instanceDescription; - } - - public String getDomainName() { - return this.domainName; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - } - - public String getConsoleUrl() { - return this.consoleUrl; - } - - public void setConsoleUrl(String consoleUrl) { - this.consoleUrl = consoleUrl; - } - - public String getInstanceName() { - return this.instanceName; - } - - public void setInstanceName(String instanceName) { - this.instanceName = instanceName; - } - - public String getStorageBucket() { - return this.storageBucket; - } - - public void setStorageBucket(String storageBucket) { - this.storageBucket = storageBucket; - } - - public Long getCreatedTime() { - return this.createdTime; - } - - public void setCreatedTime(Long createdTime) { - this.createdTime = createdTime; - } - - public String getDirectoryId() { - return this.directoryId; - } - - public void setDirectoryId(String directoryId) { - this.directoryId = directoryId; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public List getAdmin() { - return this.admin; - } - - public void setAdmin(List admin) { - this.admin = admin; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public GetInstanceResponse getInstance(UnmarshallerContext context) { - return GetInstanceResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateRequest.java deleted file mode 100644 index d585c78996..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetInstanceStateRequest extends RpcAcsRequest { - - - private String instanceId; - public GetInstanceStateRequest() { - super("CCC", "2017-07-05", "GetInstanceState", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return GetInstanceStateResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateResponse.java deleted file mode 100644 index 9e544b8ace..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceStateResponse.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetInstanceStateResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetInstanceStateResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private RealTimeInstanceState realTimeInstanceState; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public RealTimeInstanceState getRealTimeInstanceState() { - return this.realTimeInstanceState; - } - - public void setRealTimeInstanceState(RealTimeInstanceState realTimeInstanceState) { - this.realTimeInstanceState = realTimeInstanceState; - } - - public static class RealTimeInstanceState { - - private List agentStateDistributions; - - public List getAgentStateDistributions() { - return this.agentStateDistributions; - } - - public void setAgentStateDistributions(List agentStateDistributions) { - this.agentStateDistributions = agentStateDistributions; - } - - public static class AgentStateCount { - - private String state; - - private Long count; - - public String getState() { - return this.state; - } - - public void setState(String state) { - this.state = state; - } - - public Long getCount() { - return this.count; - } - - public void setCount(Long count) { - this.count = count; - } - } - } - - @Override - public GetInstanceStateResponse getInstance(UnmarshallerContext context) { - return GetInstanceStateResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalRequest.java deleted file mode 100644 index ce9b17f4f4..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetInstanceSummaryReportByIntervalRequest extends RpcAcsRequest { - - - private String endTime; - - private String startTime; - - private Integer pageNumber; - - private String instanceId; - - private Integer pageSize; - - private String interval; - public GetInstanceSummaryReportByIntervalRequest() { - super("CCC", "2017-07-05", "GetInstanceSummaryReportByInterval", "CCC"); - 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 getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public String getInterval() { - return this.interval; - } - - public void setInterval(String interval) { - this.interval = interval; - if(interval != null){ - putQueryParameter("Interval", interval); - } - } - - @Override - public Class getResponseClass() { - return GetInstanceSummaryReportByIntervalResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalResponse.java deleted file mode 100644 index 883afff716..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportByIntervalResponse.java +++ /dev/null @@ -1,727 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetInstanceSummaryReportByIntervalResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetInstanceSummaryReportByIntervalResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private InstanceTimeIntervalReport instanceTimeIntervalReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public InstanceTimeIntervalReport getInstanceTimeIntervalReport() { - return this.instanceTimeIntervalReport; - } - - public void setInstanceTimeIntervalReport(InstanceTimeIntervalReport instanceTimeIntervalReport) { - this.instanceTimeIntervalReport = instanceTimeIntervalReport; - } - - public static class InstanceTimeIntervalReport { - - private String instanceId; - - private List intervalList; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public List getIntervalList() { - return this.intervalList; - } - - public void setIntervalList(List intervalList) { - this.intervalList = intervalList; - } - - public static class InstanceSummaryReport { - - private String instanceId; - - private String timestamp; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long callsIncomingLine; - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long callsAbandonedInIVR; - - private Long maxWorkTime; - - private Long averageWaitTime; - - private Long callsIncomingQueue; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long totalWaitTime; - - private Long totalRingTime; - - private String maxTalkTime; - - private Long maxRingTime; - - private Long callsIncomingIVR; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long maxWaitTime; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long callsAbandonedInQueue; - - public Long getCallsIncomingLine() { - return this.callsIncomingLine; - } - - public void setCallsIncomingLine(Long callsIncomingLine) { - this.callsIncomingLine = callsIncomingLine; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getCallsAbandonedInIVR() { - return this.callsAbandonedInIVR; - } - - public void setCallsAbandonedInIVR(Long callsAbandonedInIVR) { - this.callsAbandonedInIVR = callsAbandonedInIVR; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWaitTime() { - return this.averageWaitTime; - } - - public void setAverageWaitTime(Long averageWaitTime) { - this.averageWaitTime = averageWaitTime; - } - - public Long getCallsIncomingQueue() { - return this.callsIncomingQueue; - } - - public void setCallsIncomingQueue(Long callsIncomingQueue) { - this.callsIncomingQueue = callsIncomingQueue; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getTotalWaitTime() { - return this.totalWaitTime; - } - - public void setTotalWaitTime(Long totalWaitTime) { - this.totalWaitTime = totalWaitTime; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public String getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(String maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getCallsIncomingIVR() { - return this.callsIncomingIVR; - } - - public void setCallsIncomingIVR(Long callsIncomingIVR) { - this.callsIncomingIVR = callsIncomingIVR; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getMaxWaitTime() { - return this.maxWaitTime; - } - - public void setMaxWaitTime(Long maxWaitTime) { - this.maxWaitTime = maxWaitTime; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getCallsAbandonedInQueue() { - return this.callsAbandonedInQueue; - } - - public void setCallsAbandonedInQueue(Long callsAbandonedInQueue) { - this.callsAbandonedInQueue = callsAbandonedInQueue; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - - @Override - public GetInstanceSummaryReportByIntervalResponse getInstance(UnmarshallerContext context) { - return GetInstanceSummaryReportByIntervalResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportResponse.java deleted file mode 100644 index 4d6b607abd..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportResponse.java +++ /dev/null @@ -1,693 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetInstanceSummaryReportResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetInstanceSummaryReportResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private InstanceSummaryReport instanceSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public InstanceSummaryReport getInstanceSummaryReport() { - return this.instanceSummaryReport; - } - - public void setInstanceSummaryReport(InstanceSummaryReport instanceSummaryReport) { - this.instanceSummaryReport = instanceSummaryReport; - } - - public static class InstanceSummaryReport { - - private String instanceId; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long callsIncomingLine; - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long callsAbandonedInIVR; - - private Long maxWorkTime; - - private Long averageWaitTime; - - private Long callsIncomingQueue; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long totalWaitTime; - - private Long totalRingTime; - - private String maxTalkTime; - - private Long maxRingTime; - - private Long callsIncomingIVR; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long maxWaitTime; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long callsAbandonedInQueue; - - public Long getCallsIncomingLine() { - return this.callsIncomingLine; - } - - public void setCallsIncomingLine(Long callsIncomingLine) { - this.callsIncomingLine = callsIncomingLine; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getCallsAbandonedInIVR() { - return this.callsAbandonedInIVR; - } - - public void setCallsAbandonedInIVR(Long callsAbandonedInIVR) { - this.callsAbandonedInIVR = callsAbandonedInIVR; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWaitTime() { - return this.averageWaitTime; - } - - public void setAverageWaitTime(Long averageWaitTime) { - this.averageWaitTime = averageWaitTime; - } - - public Long getCallsIncomingQueue() { - return this.callsIncomingQueue; - } - - public void setCallsIncomingQueue(Long callsIncomingQueue) { - this.callsIncomingQueue = callsIncomingQueue; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getTotalWaitTime() { - return this.totalWaitTime; - } - - public void setTotalWaitTime(Long totalWaitTime) { - this.totalWaitTime = totalWaitTime; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public String getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(String maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getCallsIncomingIVR() { - return this.callsIncomingIVR; - } - - public void setCallsIncomingIVR(Long callsIncomingIVR) { - this.callsIncomingIVR = callsIncomingIVR; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getMaxWaitTime() { - return this.maxWaitTime; - } - - public void setMaxWaitTime(Long maxWaitTime) { - this.maxWaitTime = maxWaitTime; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getCallsAbandonedInQueue() { - return this.callsAbandonedInQueue; - } - - public void setCallsAbandonedInQueue(Long callsAbandonedInQueue) { - this.callsAbandonedInQueue = callsAbandonedInQueue; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - - @Override - public GetInstanceSummaryReportResponse getInstance(UnmarshallerContext context) { - return GetInstanceSummaryReportResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightRequest.java deleted file mode 100644 index 8f43444ea5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetInstanceSummaryReportSinceMidnightRequest extends RpcAcsRequest { - - - private Integer pageNumber; - - private String instanceId; - - private Integer pageSize; - public GetInstanceSummaryReportSinceMidnightRequest() { - super("CCC", "2017-07-05", "GetInstanceSummaryReportSinceMidnight", "CCC"); - 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 Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return GetInstanceSummaryReportSinceMidnightResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightResponse.java deleted file mode 100644 index 96588cb36c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportSinceMidnightResponse.java +++ /dev/null @@ -1,703 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetInstanceSummaryReportSinceMidnightResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetInstanceSummaryReportSinceMidnightResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private InstanceSummaryReport instanceSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public InstanceSummaryReport getInstanceSummaryReport() { - return this.instanceSummaryReport; - } - - public void setInstanceSummaryReport(InstanceSummaryReport instanceSummaryReport) { - this.instanceSummaryReport = instanceSummaryReport; - } - - public static class InstanceSummaryReport { - - private String instanceId; - - private String timestamp; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long callsIncomingLine; - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long callsAbandonedInIVR; - - private Long maxWorkTime; - - private Long averageWaitTime; - - private Long callsIncomingQueue; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long totalWaitTime; - - private Long totalRingTime; - - private String maxTalkTime; - - private Long maxRingTime; - - private Long callsIncomingIVR; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long maxWaitTime; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long callsAbandonedInQueue; - - public Long getCallsIncomingLine() { - return this.callsIncomingLine; - } - - public void setCallsIncomingLine(Long callsIncomingLine) { - this.callsIncomingLine = callsIncomingLine; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getCallsAbandonedInIVR() { - return this.callsAbandonedInIVR; - } - - public void setCallsAbandonedInIVR(Long callsAbandonedInIVR) { - this.callsAbandonedInIVR = callsAbandonedInIVR; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWaitTime() { - return this.averageWaitTime; - } - - public void setAverageWaitTime(Long averageWaitTime) { - this.averageWaitTime = averageWaitTime; - } - - public Long getCallsIncomingQueue() { - return this.callsIncomingQueue; - } - - public void setCallsIncomingQueue(Long callsIncomingQueue) { - this.callsIncomingQueue = callsIncomingQueue; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getTotalWaitTime() { - return this.totalWaitTime; - } - - public void setTotalWaitTime(Long totalWaitTime) { - this.totalWaitTime = totalWaitTime; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public String getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(String maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getCallsIncomingIVR() { - return this.callsIncomingIVR; - } - - public void setCallsIncomingIVR(Long callsIncomingIVR) { - this.callsIncomingIVR = callsIncomingIVR; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getMaxWaitTime() { - return this.maxWaitTime; - } - - public void setMaxWaitTime(Long maxWaitTime) { - this.maxWaitTime = maxWaitTime; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getCallsAbandonedInQueue() { - return this.callsAbandonedInQueue; - } - - public void setCallsAbandonedInQueue(Long callsAbandonedInQueue) { - this.callsAbandonedInQueue = callsAbandonedInQueue; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - - @Override - public GetInstanceSummaryReportSinceMidnightResponse getInstance(UnmarshallerContext context) { - return GetInstanceSummaryReportSinceMidnightResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoResponse.java deleted file mode 100644 index 61fc0b35f2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoResponse.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetNumberRegionInfoResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetNumberRegionInfoResponse extends AcsResponse { - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PhoneNumber phoneNumber; - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PhoneNumber getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(PhoneNumber phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public static class PhoneNumber { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - - @Override - public GetNumberRegionInfoResponse getInstance(UnmarshallerContext context) { - return GetNumberRegionInfoResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamResponse.java deleted file mode 100644 index 2d584e89d6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamResponse.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetRecordOssUploadParamResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetRecordOssUploadParamResponse extends AcsResponse { - - private String ossAccessKeyId; - - private String host; - - private Boolean success; - - private String message; - - private String ossFileName; - - private Integer httpStatusCode; - - private String signature; - - private String expires; - - private String requestId; - - private String policy; - - private String code; - - private String dir; - - public String getOssAccessKeyId() { - return this.ossAccessKeyId; - } - - public void setOssAccessKeyId(String ossAccessKeyId) { - this.ossAccessKeyId = ossAccessKeyId; - } - - public String getHost() { - return this.host; - } - - public void setHost(String host) { - this.host = host; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getOssFileName() { - return this.ossFileName; - } - - public void setOssFileName(String ossFileName) { - this.ossFileName = ossFileName; - } - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getSignature() { - return this.signature; - } - - public void setSignature(String signature) { - this.signature = signature; - } - - public String getExpires() { - return this.expires; - } - - public void setExpires(String expires) { - this.expires = expires; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public String getPolicy() { - return this.policy; - } - - public void setPolicy(String policy) { - this.policy = policy; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getDir() { - return this.dir; - } - - public void setDir(String dir) { - this.dir = dir; - } - - @Override - public GetRecordOssUploadParamResponse getInstance(UnmarshallerContext context) { - return GetRecordOssUploadParamResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointRequest.java deleted file mode 100644 index d12fa3365e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetRoutePointRequest extends RpcAcsRequest { - - - private String contactFlowId; - - private String instanceId; - public GetRoutePointRequest() { - super("CCC", "2017-07-05", "GetRoutePoint", "CCC"); - 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 getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - if(contactFlowId != null){ - putQueryParameter("ContactFlowId", contactFlowId); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return GetRoutePointResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointResponse.java deleted file mode 100644 index 78437a2e1f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRoutePointResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetRoutePointResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetRoutePointResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String routePoint; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRoutePoint() { - return this.routePoint; - } - - public void setRoutePoint(String routePoint) { - this.routePoint = routePoint; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - @Override - public GetRoutePointResponse getInstance(UnmarshallerContext context) { - return GetRoutePointResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsResponse.java deleted file mode 100644 index d9f099442a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsResponse.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetServiceExtensionsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetServiceExtensionsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List serviceExtensions; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getServiceExtensions() { - return this.serviceExtensions; - } - - public void setServiceExtensions(List serviceExtensions) { - this.serviceExtensions = serviceExtensions; - } - - public static class ServiceExtension { - - private String number; - - private String name; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - } - - @Override - public GetServiceExtensionsResponse getInstance(UnmarshallerContext context) { - return GetServiceExtensionsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigRequest.java deleted file mode 100644 index 9778350cfb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigRequest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetSmsConfigRequest extends RpcAcsRequest { - - - private String instanceId; - - private List scenarios; - public GetSmsConfigRequest() { - super("CCC", "2017-07-05", "GetSmsConfig", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getScenarios() { - return this.scenarios; - } - - public void setScenarios(List scenarios) { - this.scenarios = scenarios; - if (scenarios != null) { - for (int i = 0; i < scenarios.size(); i++) { - putQueryParameter("Scenario." + (i + 1) , scenarios.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return GetSmsConfigResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigResponse.java deleted file mode 100644 index b06cbce57d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetSmsConfigResponse.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetSmsConfigResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetSmsConfigResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List smsConfigs; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getSmsConfigs() { - return this.smsConfigs; - } - - public void setSmsConfigs(List smsConfigs) { - this.smsConfigs = smsConfigs; - } - - public static class SmsConfig { - - private String instance; - - private String description; - - private String templateCode; - - private String gmtCreate; - - private Integer scenario; - - private String gmtModified; - - private String name; - - private String extra; - - private String signName; - - private Long id; - - public String getInstance() { - return this.instance; - } - - public void setInstance(String instance) { - this.instance = instance; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getTemplateCode() { - return this.templateCode; - } - - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - } - - public String getGmtCreate() { - return this.gmtCreate; - } - - public void setGmtCreate(String gmtCreate) { - this.gmtCreate = gmtCreate; - } - - public Integer getScenario() { - return this.scenario; - } - - public void setScenario(Integer scenario) { - this.scenario = scenario; - } - - public String getGmtModified() { - return this.gmtModified; - } - - public void setGmtModified(String gmtModified) { - this.gmtModified = gmtModified; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getExtra() { - return this.extra; - } - - public void setExtra(String extra) { - this.extra = extra; - } - - public String getSignName() { - return this.signName; - } - - public void setSignName(String signName) { - this.signName = signName; - } - - public Long getId() { - return this.id; - } - - public void setId(Long id) { - this.id = id; - } - } - - @Override - public GetSmsConfigResponse getInstance(UnmarshallerContext context) { - return GetSmsConfigResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsRequest.java deleted file mode 100644 index 0baa3e7e44..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetTURNCredentialsRequest extends RpcAcsRequest { - - - private String instanceId; - - private String userName; - public GetTURNCredentialsRequest() { - super("CCC", "2017-07-05", "GetTURNCredentials", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getUserName() { - return this.userName; - } - - public void setUserName(String userName) { - this.userName = userName; - if(userName != null){ - putQueryParameter("UserName", userName); - } - } - - @Override - public Class getResponseClass() { - return GetTURNCredentialsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsResponse.java deleted file mode 100644 index 6e29083836..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNCredentialsResponse.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetTURNCredentialsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetTURNCredentialsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String password; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - private String username; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getPassword() { - return this.password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - - @Override - public GetTURNCredentialsResponse getInstance(UnmarshallerContext context) { - return GetTURNCredentialsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListRequest.java deleted file mode 100644 index 47d934ee92..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetTURNServerListRequest extends RpcAcsRequest { - - - private String instanceId; - public GetTURNServerListRequest() { - super("CCC", "2017-07-05", "GetTURNServerList", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return GetTURNServerListResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListResponse.java deleted file mode 100644 index ea48fbd707..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetTURNServerListResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetTURNServerListResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetTURNServerListResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - private String turnServerListConfig; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getTurnServerListConfig() { - return this.turnServerListConfig; - } - - public void setTurnServerListConfig(String turnServerListConfig) { - this.turnServerListConfig = turnServerListConfig; - } - - @Override - public GetTURNServerListResponse getInstance(UnmarshallerContext context) { - return GetTURNServerListResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionRequest.java deleted file mode 100644 index 43b35d902f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class GetUserByExtensionRequest extends RpcAcsRequest { - - - private String extension; - - private String instanceId; - public GetUserByExtensionRequest() { - super("CCC", "2017-07-05", "GetUserByExtension", "CCC"); - 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 getExtension() { - return this.extension; - } - - public void setExtension(String extension) { - this.extension = extension; - if(extension != null){ - putQueryParameter("Extension", extension); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return GetUserByExtensionResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionResponse.java deleted file mode 100644 index e695949fcc..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserByExtensionResponse.java +++ /dev/null @@ -1,342 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetUserByExtensionResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetUserByExtensionResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private User user; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public User getUser() { - return this.user; - } - - public void setUser(User user) { - this.user = user; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private List roles; - - private List skillLevels; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - - public static class Detail { - - private String displayName; - - private String extension; - - private String loginName; - - private String email; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getExtension() { - return this.extension; - } - - public void setExtension(String extension) { - this.extension = extension; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - - @Override - public GetUserByExtensionResponse getInstance(UnmarshallerContext context) { - return GetUserByExtensionResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserResponse.java deleted file mode 100644 index 93bd097ac4..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserResponse.java +++ /dev/null @@ -1,327 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.GetUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private User user; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public User getUser() { - return this.user; - } - - public void setUser(User user) { - this.user = user; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private List roles; - - private List skillLevels; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - - @Override - public GetUserResponse getInstance(UnmarshallerContext context) { - return GetUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseResponse.java deleted file mode 100644 index ad4a7a7726..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.LaunchAppraiseResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class LaunchAppraiseResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public LaunchAppraiseResponse getInstance(UnmarshallerContext context) { - return LaunchAppraiseResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseRequest.java deleted file mode 100644 index e2b30e184c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseRequest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class LaunchShortMessageAppraiseRequest extends RpcAcsRequest { - - - private Integer contactType; - - private String phoneNumbers; - - private String acid; - - private String instanceId; - - private String skillGroupId; - public LaunchShortMessageAppraiseRequest() { - super("CCC", "2017-07-05", "LaunchShortMessageAppraise", "CCC"); - 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 Integer getContactType() { - return this.contactType; - } - - public void setContactType(Integer contactType) { - this.contactType = contactType; - if(contactType != null){ - putQueryParameter("ContactType", contactType.toString()); - } - } - - public String getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(String phoneNumbers) { - this.phoneNumbers = phoneNumbers; - if(phoneNumbers != null){ - putQueryParameter("PhoneNumbers", phoneNumbers); - } - } - - public String getAcid() { - return this.acid; - } - - public void setAcid(String acid) { - this.acid = acid; - if(acid != null){ - putQueryParameter("Acid", acid); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - @Override - public Class getResponseClass() { - return LaunchShortMessageAppraiseResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseResponse.java deleted file mode 100644 index 7ebe0f244b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchShortMessageAppraiseResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.LaunchShortMessageAppraiseResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class LaunchShortMessageAppraiseResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public LaunchShortMessageAppraiseResponse getInstance(UnmarshallerContext context) { - return LaunchShortMessageAppraiseResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesRequest.java deleted file mode 100644 index 2ed5304c9a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListAgentDevicesRequest extends RpcAcsRequest { - - - private String ramIds; - - private Long startTime; - - private Long stopTime; - - private String instanceId; - public ListAgentDevicesRequest() { - super("CCC", "2017-07-05", "ListAgentDevices", "CCC"); - 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 getRamIds() { - return this.ramIds; - } - - public void setRamIds(String ramIds) { - this.ramIds = ramIds; - if(ramIds != null){ - putQueryParameter("RamIds", ramIds); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListAgentDevicesResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesResponse.java deleted file mode 100644 index d11547caab..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentDevicesResponse.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentDevicesResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentDevicesResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List agentDeviceList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getAgentDeviceList() { - return this.agentDeviceList; - } - - public void setAgentDeviceList(List agentDeviceList) { - this.agentDeviceList = agentDeviceList; - } - - public static class AgentDevice { - - private Long loginTime; - - private String clientPort; - - private String remark; - - private String browserVersion; - - private String clientIp; - - private String instanceId; - - private Integer isLogin; - - private Long ramId; - - public Long getLoginTime() { - return this.loginTime; - } - - public void setLoginTime(Long loginTime) { - this.loginTime = loginTime; - } - - public String getClientPort() { - return this.clientPort; - } - - public void setClientPort(String clientPort) { - this.clientPort = clientPort; - } - - public String getRemark() { - return this.remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getBrowserVersion() { - return this.browserVersion; - } - - public void setBrowserVersion(String browserVersion) { - this.browserVersion = browserVersion; - } - - public String getClientIp() { - return this.clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Integer getIsLogin() { - return this.isLogin; - } - - public void setIsLogin(Integer isLogin) { - this.isLogin = isLogin; - } - - public Long getRamId() { - return this.ramId; - } - - public void setRamId(Long ramId) { - this.ramId = ramId; - } - } - - @Override - public ListAgentDevicesResponse getInstance(UnmarshallerContext context) { - return ListAgentDevicesResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsRequest.java deleted file mode 100644 index 2d5caf035e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsRequest.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListAgentEventsRequest extends RpcAcsRequest { - - - private Long startTime; - - private Long stopTime; - - private List ramIds; - - private String instanceId; - - private List events; - public ListAgentEventsRequest() { - super("CCC", "2017-07-05", "ListAgentEvents", "CCC"); - 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 getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public List getRamIds() { - return this.ramIds; - } - - public void setRamIds(List ramIds) { - this.ramIds = ramIds; - if (ramIds != null) { - for (int i = 0; i < ramIds.size(); i++) { - putQueryParameter("RamId." + (i + 1) , ramIds.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getEvents() { - return this.events; - } - - public void setEvents(List events) { - this.events = events; - if (events != null) { - for (int i = 0; i < events.size(); i++) { - putQueryParameter("Event." + (i + 1) , events.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ListAgentEventsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsResponse.java deleted file mode 100644 index 54497a3d71..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentEventsResponse.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentEventsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentEventsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List agentEventList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getAgentEventList() { - return this.agentEventList; - } - - public void setAgentEventList(List agentEventList) { - this.agentEventList = agentEventList; - } - - public static class AgentEvent { - - private String event; - - private Long eventTime; - - private String loginName; - - private String instanceId; - - private Long ramId; - - private List skillGroupIds; - - public String getEvent() { - return this.event; - } - - public void setEvent(String event) { - this.event = event; - } - - public Long getEventTime() { - return this.eventTime; - } - - public void setEventTime(Long eventTime) { - this.eventTime = eventTime; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Long getRamId() { - return this.ramId; - } - - public void setRamId(Long ramId) { - this.ramId = ramId; - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public static class SkillGroup { - - private String skillGroupName; - - private String skillGroupId; - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - } - } - - @Override - public ListAgentEventsResponse getInstance(UnmarshallerContext context) { - return ListAgentEventsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsResponse.java deleted file mode 100644 index 8bf1e18720..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsResponse.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentStateLogsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentStateLogsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private AgentStateLogPage agentStateLogPage; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public AgentStateLogPage getAgentStateLogPage() { - return this.agentStateLogPage; - } - - public void setAgentStateLogPage(AgentStateLogPage agentStateLogPage) { - this.agentStateLogPage = agentStateLogPage; - } - - public static class AgentStateLogPage { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class AgentStateLog { - - private String stateCode; - - private String contactId; - - private String state; - - private String connectId; - - private Long stateTime; - - private String instanceId; - - private Long ramId; - - private String skillGroupIds; - - private String counterParty; - - public String getStateCode() { - return this.stateCode; - } - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getState() { - return this.state; - } - - public void setState(String state) { - this.state = state; - } - - public String getConnectId() { - return this.connectId; - } - - public void setConnectId(String connectId) { - this.connectId = connectId; - } - - public Long getStateTime() { - return this.stateTime; - } - - public void setStateTime(Long stateTime) { - this.stateTime = stateTime; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Long getRamId() { - return this.ramId; - } - - public void setRamId(Long ramId) { - this.ramId = ramId; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public String getCounterParty() { - return this.counterParty; - } - - public void setCounterParty(String counterParty) { - this.counterParty = counterParty; - } - } - } - - @Override - public ListAgentStateLogsResponse getInstance(UnmarshallerContext context) { - return ListAgentStateLogsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalRequest.java deleted file mode 100644 index b90035eede..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsByIntervalRequest extends RpcAcsRequest { - - - private String agentIds; - - private String endTime; - - private String startTime; - - private Integer pageNumber; - - private String instanceId; - - private String skillGroupId; - - private Integer pageSize; - - private String interval; - public ListAgentSummaryReportsByIntervalRequest() { - super("CCC", "2017-07-05", "ListAgentSummaryReportsByInterval", "CCC"); - 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 getAgentIds() { - return this.agentIds; - } - - public void setAgentIds(String agentIds) { - this.agentIds = agentIds; - if(agentIds != null){ - putQueryParameter("AgentIds", agentIds); - } - } - - public String getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public String getInterval() { - return this.interval; - } - - public void setInterval(String interval) { - this.interval = interval; - if(interval != null){ - putQueryParameter("Interval", interval); - } - } - - @Override - public Class getResponseClass() { - return ListAgentSummaryReportsByIntervalResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalResponse.java deleted file mode 100644 index 929f9472a8..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsByIntervalResponse.java +++ /dev/null @@ -1,770 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentSummaryReportsByIntervalResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsByIntervalResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedAgentSummaryReport pagedAgentSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedAgentSummaryReport getPagedAgentSummaryReport() { - return this.pagedAgentSummaryReport; - } - - public void setPagedAgentSummaryReport(PagedAgentSummaryReport pagedAgentSummaryReport) { - this.pagedAgentSummaryReport = pagedAgentSummaryReport; - } - - public static class PagedAgentSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class AgentTimeIntervalReport { - - private String agentId; - - private List intervalList; - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public List getIntervalList() { - return this.intervalList; - } - - public void setIntervalList(List intervalList) { - this.intervalList = intervalList; - } - - public static class AgentSummaryReport { - - private String loginName; - - private String agentId; - - private String agentName; - - private String skillGroupNames; - - private String timestamp; - - private String instanceId; - - private String skillGroupIds; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalTalkTime; - - private Long totalLoggedInTime; - - private Float occupancyRate; - - private String lastLogOutTime; - - private String firstLogInTime; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageReadyTime; - - private Long maxReadyTime; - - private Long oneTransferCalls; - - private Long maxTalkTime; - - private Long totalReadyTime; - - private Long totalBreakTime; - - private Long totalCalls; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public String getLastLogOutTime() { - return this.lastLogOutTime; - } - - public void setLastLogOutTime(String lastLogOutTime) { - this.lastLogOutTime = lastLogOutTime; - } - - public String getFirstLogInTime() { - return this.firstLogInTime; - } - - public void setFirstLogInTime(String firstLogInTime) { - this.firstLogInTime = firstLogInTime; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getOneTransferCalls() { - return this.oneTransferCalls; - } - - public void setOneTransferCalls(Long oneTransferCalls) { - this.oneTransferCalls = oneTransferCalls; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long totalTalkTime; - - private Long callsOffered; - - private Long averageRingTime; - - private Long callsHandled; - - private Float serviceLevel20; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long totalRingTime; - - private Long maxTalkTime; - - private Long maxRingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - } - - @Override - public ListAgentSummaryReportsByIntervalResponse getInstance(UnmarshallerContext context) { - return ListAgentSummaryReportsByIntervalResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsRequest.java deleted file mode 100644 index efae0566f9..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsRequest.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsRequest extends RpcAcsRequest { - - - private String agentIds; - - private String endTime; - - private String startTime; - - private Integer pageNumber; - - private String instanceId; - - private String skillGroupId; - - private Integer pageSize; - public ListAgentSummaryReportsRequest() { - super("CCC", "2017-07-05", "ListAgentSummaryReports", "CCC"); - 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 getAgentIds() { - return this.agentIds; - } - - public void setAgentIds(String agentIds) { - this.agentIds = agentIds; - if(agentIds != null){ - putQueryParameter("AgentIds", agentIds); - } - } - - public String getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListAgentSummaryReportsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsResponse.java deleted file mode 100644 index 17aa75127f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsResponse.java +++ /dev/null @@ -1,737 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentSummaryReportsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedAgentSummaryReport pagedAgentSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedAgentSummaryReport getPagedAgentSummaryReport() { - return this.pagedAgentSummaryReport; - } - - public void setPagedAgentSummaryReport(PagedAgentSummaryReport pagedAgentSummaryReport) { - this.pagedAgentSummaryReport = pagedAgentSummaryReport; - } - - public static class PagedAgentSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class AgentSummaryReport { - - private String loginName; - - private String agentId; - - private String agentName; - - private String instanceId; - - private String skillGroupNames; - - private String skillGroupIds; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalTalkTime; - - private Long totalLoggedInTime; - - private Float occupancyRate; - - private String lastLogOutTime; - - private String firstLogInTime; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageReadyTime; - - private Long maxReadyTime; - - private Long oneTransferCalls; - - private Long maxTalkTime; - - private Long totalReadyTime; - - private Long totalBreakTime; - - private Long totalCalls; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public String getLastLogOutTime() { - return this.lastLogOutTime; - } - - public void setLastLogOutTime(String lastLogOutTime) { - this.lastLogOutTime = lastLogOutTime; - } - - public String getFirstLogInTime() { - return this.firstLogInTime; - } - - public void setFirstLogInTime(String firstLogInTime) { - this.firstLogInTime = firstLogInTime; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getOneTransferCalls() { - return this.oneTransferCalls; - } - - public void setOneTransferCalls(Long oneTransferCalls) { - this.oneTransferCalls = oneTransferCalls; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long totalTalkTime; - - private Long callsOffered; - - private Long averageRingTime; - - private Long callsHandled; - - private Float serviceLevel20; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long totalRingTime; - - private Long maxTalkTime; - - private Long maxRingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private String maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public String getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(String maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - - @Override - public ListAgentSummaryReportsResponse getInstance(UnmarshallerContext context) { - return ListAgentSummaryReportsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightRequest.java deleted file mode 100644 index 819b880591..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightRequest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsSinceMidnightRequest extends RpcAcsRequest { - - - private String agentIds; - - private Integer pageNumber; - - private String instanceId; - - private String skillGroupId; - - private Integer pageSize; - public ListAgentSummaryReportsSinceMidnightRequest() { - super("CCC", "2017-07-05", "ListAgentSummaryReportsSinceMidnight", "CCC"); - 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 getAgentIds() { - return this.agentIds; - } - - public void setAgentIds(String agentIds) { - this.agentIds = agentIds; - if(agentIds != null){ - putQueryParameter("AgentIds", agentIds); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListAgentSummaryReportsSinceMidnightResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightResponse.java deleted file mode 100644 index 7ac2b9284d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentSummaryReportsSinceMidnightResponse.java +++ /dev/null @@ -1,727 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentSummaryReportsSinceMidnightResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListAgentSummaryReportsSinceMidnightResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedAgentSummaryReport pagedAgentSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedAgentSummaryReport getPagedAgentSummaryReport() { - return this.pagedAgentSummaryReport; - } - - public void setPagedAgentSummaryReport(PagedAgentSummaryReport pagedAgentSummaryReport) { - this.pagedAgentSummaryReport = pagedAgentSummaryReport; - } - - public static class PagedAgentSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class AgentSummaryReport { - - private String loginName; - - private String agentId; - - private String agentName; - - private String skillGroupNames; - - private String timestamp; - - private String instanceId; - - private String skillGroupIds; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalTalkTime; - - private Long totalLoggedInTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long averageReadyTime; - - private Long maxReadyTime; - - private Long oneTransferCalls; - - private Long maxTalkTime; - - private Long totalReadyTime; - - private Long totalBreakTime; - - private Long totalCalls; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getOneTransferCalls() { - return this.oneTransferCalls; - } - - public void setOneTransferCalls(Long oneTransferCalls) { - this.oneTransferCalls = oneTransferCalls; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long totalTalkTime; - - private Long callsOffered; - - private Long averageRingTime; - - private Long callsHandled; - - private Float serviceLevel20; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long totalRingTime; - - private Long maxTalkTime; - - private Long maxRingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private String maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public String getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(String maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - - @Override - public ListAgentSummaryReportsSinceMidnightResponse getInstance(UnmarshallerContext context) { - return ListAgentSummaryReportsSinceMidnightResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsRequest.java deleted file mode 100644 index c7d6b0445d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsRequest.java +++ /dev/null @@ -1,197 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListCallDetailRecordsRequest extends RpcAcsRequest { - - - private String contactType; - - private String contactId; - - private String criteria; - - private String phoneNumber; - - private String orderBy; - - private Long startTime; - - private Long stopTime; - - private Integer pageNumber; - - private String instanceId; - - private String contactDisposition; - - private Integer pageSize; - - private Boolean withRecording; - public ListCallDetailRecordsRequest() { - super("CCC", "2017-07-05", "ListCallDetailRecords", "CCC"); - 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 getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - if(contactType != null){ - putQueryParameter("ContactType", contactType); - } - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - public String getCriteria() { - return this.criteria; - } - - public void setCriteria(String criteria) { - this.criteria = criteria; - if(criteria != null){ - putQueryParameter("Criteria", criteria); - } - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - if(phoneNumber != null){ - putQueryParameter("PhoneNumber", phoneNumber); - } - } - - public String getOrderBy() { - return this.orderBy; - } - - public void setOrderBy(String orderBy) { - this.orderBy = orderBy; - if(orderBy != null){ - putQueryParameter("OrderBy", orderBy); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getContactDisposition() { - return this.contactDisposition; - } - - public void setContactDisposition(String contactDisposition) { - this.contactDisposition = contactDisposition; - if(contactDisposition != null){ - putQueryParameter("ContactDisposition", contactDisposition); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public Boolean getWithRecording() { - return this.withRecording; - } - - public void setWithRecording(Boolean withRecording) { - this.withRecording = withRecording; - if(withRecording != null){ - putQueryParameter("WithRecording", withRecording.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListCallDetailRecordsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsResponse.java deleted file mode 100644 index 122e14de2c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallDetailRecordsResponse.java +++ /dev/null @@ -1,424 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListCallDetailRecordsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListCallDetailRecordsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private CallDetailRecords callDetailRecords; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public CallDetailRecords getCallDetailRecords() { - return this.callDetailRecords; - } - - public void setCallDetailRecords(CallDetailRecords callDetailRecords) { - this.callDetailRecords = callDetailRecords; - } - - public static class CallDetailRecords { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class CallDetailRecord { - - private String contactDisposition; - - private String contactType; - - private String skillGroupIdList; - - private String instanceId; - - private String calledNumber; - - private String agentNames; - - private Integer satisfaction; - - private Long startTime; - - private String satisfactionDesc; - - private String contactId; - - private String callingNumber; - - private Integer duration; - - private String skillGroupNames; - - private String feedback; - - private List agents; - - private List recordings; - - public String getContactDisposition() { - return this.contactDisposition; - } - - public void setContactDisposition(String contactDisposition) { - this.contactDisposition = contactDisposition; - } - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getSkillGroupIdList() { - return this.skillGroupIdList; - } - - public void setSkillGroupIdList(String skillGroupIdList) { - this.skillGroupIdList = skillGroupIdList; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public String getAgentNames() { - return this.agentNames; - } - - public void setAgentNames(String agentNames) { - this.agentNames = agentNames; - } - - public Integer getSatisfaction() { - return this.satisfaction; - } - - public void setSatisfaction(Integer satisfaction) { - this.satisfaction = satisfaction; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getSatisfactionDesc() { - return this.satisfactionDesc; - } - - public void setSatisfactionDesc(String satisfactionDesc) { - this.satisfactionDesc = satisfactionDesc; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getFeedback() { - return this.feedback; - } - - public void setFeedback(String feedback) { - this.feedback = feedback; - } - - public List getAgents() { - return this.agents; - } - - public void setAgents(List agents) { - this.agents = agents; - } - - public List getRecordings() { - return this.recordings; - } - - public void setRecordings(List recordings) { - this.recordings = recordings; - } - - public static class CallDetailAgent { - - private String satisfaction; - - private String feedback; - - private String agentId; - - public String getSatisfaction() { - return this.satisfaction; - } - - public void setSatisfaction(String satisfaction) { - this.satisfaction = satisfaction; - } - - public String getFeedback() { - return this.feedback; - } - - public void setFeedback(String feedback) { - this.feedback = feedback; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - } - - public static class Recording { - - private Long startTime; - - private String contactId; - - private String qualityCheckTaskId; - - private String agentId; - - private String fileDescription; - - private Integer duration; - - private String agentName; - - private String fileName; - - private String qualityCheckTid; - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getQualityCheckTaskId() { - return this.qualityCheckTaskId; - } - - public void setQualityCheckTaskId(String qualityCheckTaskId) { - this.qualityCheckTaskId = qualityCheckTaskId; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getFileDescription() { - return this.fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getQualityCheckTid() { - return this.qualityCheckTid; - } - - public void setQualityCheckTid(String qualityCheckTid) { - this.qualityCheckTid = qualityCheckTid; - } - } - } - } - - @Override - public ListCallDetailRecordsResponse getInstance(UnmarshallerContext context) { - return ListCallDetailRecordsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdRequest.java deleted file mode 100644 index 0a459b26cb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListCallEventDetailByContactIdRequest extends RpcAcsRequest { - - - private String instanceId; - - private String contactId; - public ListCallEventDetailByContactIdRequest() { - super("CCC", "2017-07-05", "ListCallEventDetailByContactId", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - @Override - public Class getResponseClass() { - return ListCallEventDetailByContactIdResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdResponse.java deleted file mode 100644 index 9e96c4b607..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallEventDetailByContactIdResponse.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListCallEventDetailByContactIdResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListCallEventDetailByContactIdResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Data data; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 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 startTime; - - private String releaseReason; - - private String callType; - - private String releaseAgent; - - private String caller; - - private String callee; - - private String privacyNumber; - - private List events; - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - } - - public String getReleaseReason() { - return this.releaseReason; - } - - public void setReleaseReason(String releaseReason) { - this.releaseReason = releaseReason; - } - - public String getCallType() { - return this.callType; - } - - public void setCallType(String callType) { - this.callType = callType; - } - - public String getReleaseAgent() { - return this.releaseAgent; - } - - public void setReleaseAgent(String releaseAgent) { - this.releaseAgent = releaseAgent; - } - - public String getCaller() { - return this.caller; - } - - public void setCaller(String caller) { - this.caller = caller; - } - - public String getCallee() { - return this.callee; - } - - public void setCallee(String callee) { - this.callee = callee; - } - - public String getPrivacyNumber() { - return this.privacyNumber; - } - - public void setPrivacyNumber(String privacyNumber) { - this.privacyNumber = privacyNumber; - } - - public List getEvents() { - return this.events; - } - - public void setEvents(List events) { - this.events = events; - } - - public static class CallEventDetail { - - private String status; - - private String callMode; - - private String event; - - private String timeStamp; - - private String agentName; - - private Integer duration; - - private DetailData detailData; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getCallMode() { - return this.callMode; - } - - public void setCallMode(String callMode) { - this.callMode = callMode; - } - - public String getEvent() { - return this.event; - } - - public void setEvent(String event) { - this.event = event; - } - - public String getTimeStamp() { - return this.timeStamp; - } - - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public DetailData getDetailData() { - return this.detailData; - } - - public void setDetailData(DetailData detailData) { - this.detailData = detailData; - } - - public static class DetailData { - - private String hangUper; - - private String eventType; - - private String skillGroup; - - private String satisfactionalResearch; - - private String helper; - - public String getHangUper() { - return this.hangUper; - } - - public void setHangUper(String hangUper) { - this.hangUper = hangUper; - } - - public String getEventType() { - return this.eventType; - } - - public void setEventType(String eventType) { - this.eventType = eventType; - } - - public String getSkillGroup() { - return this.skillGroup; - } - - public void setSkillGroup(String skillGroup) { - this.skillGroup = skillGroup; - } - - public String getSatisfactionalResearch() { - return this.satisfactionalResearch; - } - - public void setSatisfactionalResearch(String satisfactionalResearch) { - this.satisfactionalResearch = satisfactionalResearch; - } - - public String getHelper() { - return this.helper; - } - - public void setHelper(String helper) { - this.helper = helper; - } - } - } - } - - @Override - public ListCallEventDetailByContactIdResponse getInstance(UnmarshallerContext context) { - return ListCallEventDetailByContactIdResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsRequest.java deleted file mode 100644 index 4dc79ab893..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListCallMeasureSummaryReportsRequest extends RpcAcsRequest { - - - private String intervalType; - public ListCallMeasureSummaryReportsRequest() { - super("CCC", "2017-07-05", "ListCallMeasureSummaryReports", "CCC"); - 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 getIntervalType() { - return this.intervalType; - } - - public void setIntervalType(String intervalType) { - this.intervalType = intervalType; - if(intervalType != null){ - putQueryParameter("IntervalType", intervalType); - } - } - - @Override - public Class getResponseClass() { - return ListCallMeasureSummaryReportsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsResponse.java deleted file mode 100644 index e8ed9ab144..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListCallMeasureSummaryReportsResponse.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListCallMeasureSummaryReportsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListCallMeasureSummaryReportsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List callMeasureSummaryReportList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getCallMeasureSummaryReportList() { - return this.callMeasureSummaryReportList; - } - - public void setCallMeasureSummaryReportList(List callMeasureSummaryReportList) { - this.callMeasureSummaryReportList = callMeasureSummaryReportList; - } - - public static class CallMeasureSummaryReport { - - private String day; - - private String year; - - private Long inboundDurationByMinute; - - private Long outboundCount; - - private Long outboundDurationByMinute; - - private Long inboundCount; - - private String month; - - public String getDay() { - return this.day; - } - - public void setDay(String day) { - this.day = day; - } - - public String getYear() { - return this.year; - } - - public void setYear(String year) { - this.year = year; - } - - public Long getInboundDurationByMinute() { - return this.inboundDurationByMinute; - } - - public void setInboundDurationByMinute(Long inboundDurationByMinute) { - this.inboundDurationByMinute = inboundDurationByMinute; - } - - public Long getOutboundCount() { - return this.outboundCount; - } - - public void setOutboundCount(Long outboundCount) { - this.outboundCount = outboundCount; - } - - public Long getOutboundDurationByMinute() { - return this.outboundDurationByMinute; - } - - public void setOutboundDurationByMinute(Long outboundDurationByMinute) { - this.outboundDurationByMinute = outboundDurationByMinute; - } - - public Long getInboundCount() { - return this.inboundCount; - } - - public void setInboundCount(Long inboundCount) { - this.inboundCount = inboundCount; - } - - public String getMonth() { - return this.month; - } - - public void setMonth(String month) { - this.month = month; - } - } - - @Override - public ListCallMeasureSummaryReportsResponse getInstance(UnmarshallerContext context) { - return ListCallMeasureSummaryReportsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigRequest.java deleted file mode 100644 index 4f0b8f3569..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigRequest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListConfigRequest extends RpcAcsRequest { - - - private String instanceId; - - private List configItems; - public ListConfigRequest() { - super("CCC", "2017-07-05", "ListConfig", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getConfigItems() { - return this.configItems; - } - - public void setConfigItems(List configItems) { - this.configItems = configItems; - if (configItems != null) { - for (int i = 0; i < configItems.size(); i++) { - putQueryParameter("ConfigItem." + (i + 1) , configItems.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ListConfigResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigResponse.java deleted file mode 100644 index 3f73102f7d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListConfigResponse.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListConfigResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListConfigResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List configItems; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getConfigItems() { - return this.configItems; - } - - public void setConfigItems(List configItems) { - this.configItems = configItems; - } - - public static class ConfigItem { - - private String name; - - private String value; - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getValue() { - return this.value; - } - - public void setValue(String value) { - this.value = value; - } - } - - @Override - public ListConfigResponse getInstance(UnmarshallerContext context) { - return ListConfigResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsRequest.java deleted file mode 100644 index 8e8a182644..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListContactFlowsRequest extends RpcAcsRequest { - - - private String instanceId; - public ListContactFlowsRequest() { - super("CCC", "2017-07-05", "ListContactFlows", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListContactFlowsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsResponse.java deleted file mode 100644 index ce02c2c221..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListContactFlowsResponse.java +++ /dev/null @@ -1,341 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListContactFlowsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListContactFlowsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List contactFlows; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getContactFlows() { - return this.contactFlows; - } - - public void setContactFlows(List contactFlows) { - this.contactFlows = contactFlows; - } - - public static class ContactFlow { - - private String contactFlowDescription; - - private String type; - - private String contactFlowName; - - private String instanceId; - - private String contactFlowId; - - private String appliedVersion; - - private List versions; - - private List phoneNumbers; - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - - public String getAppliedVersion() { - return this.appliedVersion; - } - - public void setAppliedVersion(String appliedVersion) { - this.appliedVersion = appliedVersion; - } - - public List getVersions() { - return this.versions; - } - - public void setVersions(List versions) { - this.versions = versions; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class ContactFlowVersion { - - private String status; - - private String lastModified; - - private String lockedBy; - - private String version; - - private String contactFlowVersionId; - - private String contactFlowVersionDescription; - - private String lastModifiedBy; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getLastModified() { - return this.lastModified; - } - - public void setLastModified(String lastModified) { - this.lastModified = lastModified; - } - - public String getLockedBy() { - return this.lockedBy; - } - - public void setLockedBy(String lockedBy) { - this.lockedBy = lockedBy; - } - - public String getVersion() { - return this.version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - } - - public String getContactFlowVersionDescription() { - return this.contactFlowVersionDescription; - } - - public void setContactFlowVersionDescription(String contactFlowVersionDescription) { - this.contactFlowVersionDescription = contactFlowVersionDescription; - } - - public String getLastModifiedBy() { - return this.lastModifiedBy; - } - - public void setLastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - } - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public ListContactFlowsResponse getInstance(UnmarshallerContext context) { - return ListContactFlowsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserRequest.java deleted file mode 100644 index 3975f6a291..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserRequest.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListInstancesOfUserRequest extends RpcAcsRequest { - - public ListInstancesOfUserRequest() { - super("CCC", "2017-07-05", "ListInstancesOfUser", "CCC"); - 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) {} - } - - @Override - public Class getResponseClass() { - return ListInstancesOfUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserResponse.java deleted file mode 100644 index 97c2bb8e71..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListInstancesOfUserResponse.java +++ /dev/null @@ -1,444 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListInstancesOfUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListInstancesOfUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List instances; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getInstances() { - return this.instances; - } - - public void setInstances(List instances) { - this.instances = instances; - } - - public static class CallCenterInstance { - - private String status; - - private String owner; - - private Integer storageMaxDays; - - private Integer storageMaxSize; - - private Integer maxOnlineAgents; - - private String instanceId; - - private String instanceDescription; - - private String domainName; - - private String consoleUrl; - - private String instanceName; - - private String storageBucket; - - private Long createdTime; - - private String directoryId; - - private String tenantId; - - private List admin; - - private List phoneNumbers; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getOwner() { - return this.owner; - } - - public void setOwner(String owner) { - this.owner = owner; - } - - public Integer getStorageMaxDays() { - return this.storageMaxDays; - } - - public void setStorageMaxDays(Integer storageMaxDays) { - this.storageMaxDays = storageMaxDays; - } - - public Integer getStorageMaxSize() { - return this.storageMaxSize; - } - - public void setStorageMaxSize(Integer storageMaxSize) { - this.storageMaxSize = storageMaxSize; - } - - public Integer getMaxOnlineAgents() { - return this.maxOnlineAgents; - } - - public void setMaxOnlineAgents(Integer maxOnlineAgents) { - this.maxOnlineAgents = maxOnlineAgents; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getInstanceDescription() { - return this.instanceDescription; - } - - public void setInstanceDescription(String instanceDescription) { - this.instanceDescription = instanceDescription; - } - - public String getDomainName() { - return this.domainName; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - } - - public String getConsoleUrl() { - return this.consoleUrl; - } - - public void setConsoleUrl(String consoleUrl) { - this.consoleUrl = consoleUrl; - } - - public String getInstanceName() { - return this.instanceName; - } - - public void setInstanceName(String instanceName) { - this.instanceName = instanceName; - } - - public String getStorageBucket() { - return this.storageBucket; - } - - public void setStorageBucket(String storageBucket) { - this.storageBucket = storageBucket; - } - - public Long getCreatedTime() { - return this.createdTime; - } - - public void setCreatedTime(Long createdTime) { - this.createdTime = createdTime; - } - - public String getDirectoryId() { - return this.directoryId; - } - - public void setDirectoryId(String directoryId) { - this.directoryId = directoryId; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public List getAdmin() { - return this.admin; - } - - public void setAdmin(List admin) { - this.admin = admin; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public ListInstancesOfUserResponse getInstance(UnmarshallerContext context) { - return ListInstancesOfUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailRequest.java deleted file mode 100644 index 79eb4b9d2c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListIvrTrackingDetailRequest extends RpcAcsRequest { - - - private String contactId; - - private Long startTime; - - private Long stopTime; - - private Integer pageNumber; - - private String callingNumber; - - private String instanceId; - - private String calledNumber; - - private Integer pageSize; - public ListIvrTrackingDetailRequest() { - super("CCC", "2017-07-05", "ListIvrTrackingDetail", "CCC"); - 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 getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - if(callingNumber != null){ - putQueryParameter("CallingNumber", callingNumber); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - if(calledNumber != null){ - putQueryParameter("CalledNumber", calledNumber); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListIvrTrackingDetailResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailResponse.java deleted file mode 100644 index 6842cd4d4e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListIvrTrackingDetailResponse.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListIvrTrackingDetailResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListIvrTrackingDetailResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private IvrTrackingDetails ivrTrackingDetails; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public IvrTrackingDetails getIvrTrackingDetails() { - return this.ivrTrackingDetails; - } - - public void setIvrTrackingDetails(IvrTrackingDetails ivrTrackingDetails) { - this.ivrTrackingDetails = ivrTrackingDetails; - } - - public static class IvrTrackingDetails { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class IvrTrackingDetail { - - private String status; - - private String deviceID; - - private String inputData; - - private String flowName; - - private String calledNumber; - - private Long stopTime; - - private Long startTime; - - private String nodeType; - - private String description; - - private String nodeName; - - private String contactId; - - private String callingNumber; - - private String outputData; - - private String tenantId; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getDeviceID() { - return this.deviceID; - } - - public void setDeviceID(String deviceID) { - this.deviceID = deviceID; - } - - public String getInputData() { - return this.inputData; - } - - public void setInputData(String inputData) { - this.inputData = inputData; - } - - public String getFlowName() { - return this.flowName; - } - - public void setFlowName(String flowName) { - this.flowName = flowName; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getNodeType() { - return this.nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getNodeName() { - return this.nodeName; - } - - public void setNodeName(String nodeName) { - this.nodeName = nodeName; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public String getOutputData() { - return this.outputData; - } - - public void setOutputData(String outputData) { - this.outputData = outputData; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - } - } - - @Override - public ListIvrTrackingDetailResponse getInstance(UnmarshallerContext context) { - return ListIvrTrackingDetailResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasRequest.java deleted file mode 100644 index 3d59fa9d92..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListMediasRequest extends RpcAcsRequest { - - - private Integer pageNumber; - - private String instanceId; - - private Integer pageSize; - - private String namePrefix; - public ListMediasRequest() { - super("CCC", "2017-07-05", "ListMedias", "CCC"); - 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 Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public String getNamePrefix() { - return this.namePrefix; - } - - public void setNamePrefix(String namePrefix) { - this.namePrefix = namePrefix; - if(namePrefix != null){ - putQueryParameter("NamePrefix", namePrefix); - } - } - - @Override - public Class getResponseClass() { - return ListMediasResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasResponse.java deleted file mode 100644 index ab8b5b6b6e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListMediasResponse.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListMediasResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListMediasResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Medias medias; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Medias getMedias() { - return this.medias; - } - - public void setMedias(Medias medias) { - this.medias = medias; - } - - public static class Medias { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class Media { - - private String status; - - private String type; - - private String filePath; - - private String instance; - - private String description; - - private String fileName; - - private String name; - - private String content; - - private String ossFileName; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getFilePath() { - return this.filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getInstance() { - return this.instance; - } - - public void setInstance(String instance) { - this.instance = instance; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getOssFileName() { - return this.ossFileName; - } - - public void setOssFileName(String ossFileName) { - this.ossFileName = ossFileName; - } - } - } - - @Override - public ListMediasResponse getInstance(UnmarshallerContext context) { - return ListMediasResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserResponse.java deleted file mode 100644 index 31f00ca832..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserResponse.java +++ /dev/null @@ -1,338 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListOutboundPhoneNumberOfUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListOutboundPhoneNumberOfUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List outboundPhoneNumbers; - - private List numberList; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getOutboundPhoneNumbers() { - return this.outboundPhoneNumbers; - } - - public void setOutboundPhoneNumbers(List outboundPhoneNumbers) { - this.outboundPhoneNumbers = outboundPhoneNumbers; - } - - public List getNumberList() { - return this.numberList; - } - - public void setNumberList(List numberList) { - this.numberList = numberList; - } - - public static class PhoneNumber { - - private Boolean privateFlag; - - private Boolean testOnly; - - private String sipTelX; - - private Integer remainingTime; - - private String city; - - private String instanceId; - - private Boolean allowOutbound; - - private String usage; - - private String phoneNumberId; - - private Integer trunks; - - private String number; - - private String phoneNumberDescription; - - private String province; - - private PrivacyNumber privacyNumber; - - public Boolean getPrivateFlag() { - return this.privateFlag; - } - - public void setPrivateFlag(Boolean privateFlag) { - this.privateFlag = privateFlag; - } - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public String getSipTelX() { - return this.sipTelX; - } - - public void setSipTelX(String sipTelX) { - this.sipTelX = sipTelX; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - - public PrivacyNumber getPrivacyNumber() { - return this.privacyNumber; - } - - public void setPrivacyNumber(PrivacyNumber privacyNumber) { - this.privacyNumber = privacyNumber; - } - - public static class PrivacyNumber { - - private String type; - - private String poolId; - - private String subId; - - private String phoneNumber; - - private String poolName; - - private String bizId; - - private String regionNameCity; - - private String extra; - - private String telX; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getPoolId() { - return this.poolId; - } - - public void setPoolId(String poolId) { - this.poolId = poolId; - } - - public String getSubId() { - return this.subId; - } - - public void setSubId(String subId) { - this.subId = subId; - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public String getPoolName() { - return this.poolName; - } - - public void setPoolName(String poolName) { - this.poolName = poolName; - } - - public String getBizId() { - return this.bizId; - } - - public void setBizId(String bizId) { - this.bizId = bizId; - } - - public String getRegionNameCity() { - return this.regionNameCity; - } - - public void setRegionNameCity(String regionNameCity) { - this.regionNameCity = regionNameCity; - } - - public String getExtra() { - return this.extra; - } - - public void setExtra(String extra) { - this.extra = extra; - } - - public String getTelX() { - return this.telX; - } - - public void setTelX(String telX) { - this.telX = telX; - } - } - } - - @Override - public ListOutboundPhoneNumberOfUserResponse getInstance(UnmarshallerContext context) { - return ListOutboundPhoneNumberOfUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersRequest.java deleted file mode 100644 index 879eb5d909..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListPhoneNumbersRequest extends RpcAcsRequest { - - - private Boolean outboundOnly; - - private String instanceId; - public ListPhoneNumbersRequest() { - super("CCC", "2017-07-05", "ListPhoneNumbers", "CCC"); - 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 Boolean getOutboundOnly() { - return this.outboundOnly; - } - - public void setOutboundOnly(Boolean outboundOnly) { - this.outboundOnly = outboundOnly; - if(outboundOnly != null){ - putQueryParameter("OutboundOnly", outboundOnly.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListPhoneNumbersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersResponse.java deleted file mode 100644 index a6e325088e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneNumbersResponse.java +++ /dev/null @@ -1,434 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListPhoneNumbersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListPhoneNumbersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List phoneNumbers; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private String sipTelX; - - private Integer remainingTime; - - private String city; - - private String instanceId; - - private Boolean allowOutbound; - - private String usage; - - private String assignee; - - private String phoneNumberId; - - private Integer trunks; - - private String number; - - private String phoneNumberDescription; - - private Integer numberCommodityStatus; - - private String province; - - private List skillGroups; - - private ContactFlow contactFlow; - - private PrivacyNumber privacyNumber; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public String getSipTelX() { - return this.sipTelX; - } - - public void setSipTelX(String sipTelX) { - this.sipTelX = sipTelX; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public String getAssignee() { - return this.assignee; - } - - public void setAssignee(String assignee) { - this.assignee = assignee; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public Integer getNumberCommodityStatus() { - return this.numberCommodityStatus; - } - - public void setNumberCommodityStatus(Integer numberCommodityStatus) { - this.numberCommodityStatus = numberCommodityStatus; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - - public List getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(List skillGroups) { - this.skillGroups = skillGroups; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public PrivacyNumber getPrivacyNumber() { - return this.privacyNumber; - } - - public void setPrivacyNumber(PrivacyNumber privacyNumber) { - this.privacyNumber = privacyNumber; - } - - public static class SkillGroup { - - private String skillGroupName; - - private String skillGroupId; - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - } - - public static class ContactFlow { - - private String type; - - private String contactFlowDescription; - - private String instanceId; - - private String contactFlowName; - - private String contactFlowId; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - } - - public static class PrivacyNumber { - - private String type; - - private String poolId; - - private String subId; - - private String phoneNumber; - - private String poolName; - - private String bizId; - - private String regionNameCity; - - private String extra; - - private String telX; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getPoolId() { - return this.poolId; - } - - public void setPoolId(String poolId) { - this.poolId = poolId; - } - - public String getSubId() { - return this.subId; - } - - public void setSubId(String subId) { - this.subId = subId; - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public String getPoolName() { - return this.poolName; - } - - public void setPoolName(String poolName) { - this.poolName = poolName; - } - - public String getBizId() { - return this.bizId; - } - - public void setBizId(String bizId) { - this.bizId = bizId; - } - - public String getRegionNameCity() { - return this.regionNameCity; - } - - public void setRegionNameCity(String regionNameCity) { - this.regionNameCity = regionNameCity; - } - - public String getExtra() { - return this.extra; - } - - public void setExtra(String extra) { - this.extra = extra; - } - - public String getTelX() { - return this.telX; - } - - public void setTelX(String telX) { - this.telX = telX; - } - } - } - - @Override - public ListPhoneNumbersResponse getInstance(UnmarshallerContext context) { - return ListPhoneNumbersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsRequest.java deleted file mode 100644 index de685cdcc2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsRequest.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListPhoneTagsRequest extends RpcAcsRequest { - - - private List numberGroupIdss; - - private Integer currentPage; - - private Boolean outboundOnly; - - private String number; - - private String instanceId; - - private Integer pageSize; - public ListPhoneTagsRequest() { - super("CCC", "2017-07-05", "ListPhoneTags", "CCC"); - 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 List getNumberGroupIdss() { - return this.numberGroupIdss; - } - - public void setNumberGroupIdss(List numberGroupIdss) { - this.numberGroupIdss = numberGroupIdss; - if (numberGroupIdss != null) { - for (int i = 0; i < numberGroupIdss.size(); i++) { - putQueryParameter("NumberGroupIds." + (i + 1) , numberGroupIdss.get(i)); - } - } - } - - public Integer getCurrentPage() { - return this.currentPage; - } - - public void setCurrentPage(Integer currentPage) { - this.currentPage = currentPage; - if(currentPage != null){ - putQueryParameter("CurrentPage", currentPage.toString()); - } - } - - public Boolean getOutboundOnly() { - return this.outboundOnly; - } - - public void setOutboundOnly(Boolean outboundOnly) { - this.outboundOnly = outboundOnly; - if(outboundOnly != null){ - putQueryParameter("OutboundOnly", outboundOnly.toString()); - } - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - if(number != null){ - putQueryParameter("Number", number); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListPhoneTagsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsResponse.java deleted file mode 100644 index 68e01819c6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListPhoneTagsResponse.java +++ /dev/null @@ -1,283 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListPhoneTagsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListPhoneTagsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PhoneNumbers phoneNumbers; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PhoneNumbers getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(PhoneNumbers phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class PhoneNumbers { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class PhoneNumber { - - private Integer type; - - private String serviceTag; - - private Long createTime; - - private String city; - - private String instanceId; - - private String usage; - - private String phoneNumberId; - - private String provider; - - private String number; - - private String contactFlowId; - - private String phoneNumberDescription; - - private String province; - - private Integer concurrency; - - private List skillGroupIdList; - - public Integer getType() { - return this.type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getServiceTag() { - return this.serviceTag; - } - - public void setServiceTag(String serviceTag) { - this.serviceTag = serviceTag; - } - - public Long getCreateTime() { - return this.createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public String getProvider() { - return this.provider; - } - - public void setProvider(String provider) { - this.provider = provider; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - - public Integer getConcurrency() { - return this.concurrency; - } - - public void setConcurrency(Integer concurrency) { - this.concurrency = concurrency; - } - - public List getSkillGroupIdList() { - return this.skillGroupIdList; - } - - public void setSkillGroupIdList(List skillGroupIdList) { - this.skillGroupIdList = skillGroupIdList; - } - } - } - - @Override - public ListPhoneTagsResponse getInstance(UnmarshallerContext context) { - return ListPhoneTagsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentRequest.java deleted file mode 100644 index e72cc545f5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListRealTimeAgentRequest extends RpcAcsRequest { - - - private String instanceId; - public ListRealTimeAgentRequest() { - super("CCC", "2017-07-05", "ListRealTimeAgent", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListRealTimeAgentResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentResponse.java deleted file mode 100644 index 4f521c07be..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRealTimeAgentResponse.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRealTimeAgentResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRealTimeAgentResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List data; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getData() { - return this.data; - } - - public void setData(List data) { - this.data = data; - } - - public static class User { - - private String displayName; - - private String stateDesc; - - private String dn; - - private String state; - - private String ramId; - - private String phone; - - private List skillLevels; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getStateDesc() { - return this.stateDesc; - } - - public void setStateDesc(String stateDesc) { - this.stateDesc = stateDesc; - } - - public String getDn() { - return this.dn; - } - - public void setDn(String dn) { - this.dn = dn; - } - - public String getState() { - return this.state; - } - - public void setState(String state) { - this.state = state; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - } - - @Override - public ListRealTimeAgentResponse getInstance(UnmarshallerContext context) { - return ListRealTimeAgentResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsRequest.java deleted file mode 100644 index ddcc5537d5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListRecentCallRecordsRequest extends RpcAcsRequest { - - - private String criteria; - - private Long startTime; - - private Long stopTime; - - private Integer pageNumber; - - private String instanceId; - - private Integer pageSize; - public ListRecentCallRecordsRequest() { - super("CCC", "2017-07-05", "ListRecentCallRecords", "CCC"); - 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 getCriteria() { - return this.criteria; - } - - public void setCriteria(String criteria) { - this.criteria = criteria; - if(criteria != null){ - putQueryParameter("Criteria", criteria); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListRecentCallRecordsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsResponse.java deleted file mode 100644 index 66a0d32a9e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecentCallRecordsResponse.java +++ /dev/null @@ -1,554 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRecentCallRecordsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRecentCallRecordsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private CallDetailRecords callDetailRecords; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public CallDetailRecords getCallDetailRecords() { - return this.callDetailRecords; - } - - public void setCallDetailRecords(CallDetailRecords callDetailRecords) { - this.callDetailRecords = callDetailRecords; - } - - public static class CallDetailRecords { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class CallDetailRecord { - - private String contactDisposition; - - private String contactType; - - private String instanceId; - - private String calledNumber; - - private String agentNames; - - private Integer satisfaction; - - private Long startTime; - - private String extraAttr; - - private String satisfactionDesc; - - private String contactId; - - private String callingNumber; - - private Integer duration; - - private String skillGroupNames; - - private String feedback; - - private List agents; - - private List recordings; - - public String getContactDisposition() { - return this.contactDisposition; - } - - public void setContactDisposition(String contactDisposition) { - this.contactDisposition = contactDisposition; - } - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public String getAgentNames() { - return this.agentNames; - } - - public void setAgentNames(String agentNames) { - this.agentNames = agentNames; - } - - public Integer getSatisfaction() { - return this.satisfaction; - } - - public void setSatisfaction(Integer satisfaction) { - this.satisfaction = satisfaction; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getExtraAttr() { - return this.extraAttr; - } - - public void setExtraAttr(String extraAttr) { - this.extraAttr = extraAttr; - } - - public String getSatisfactionDesc() { - return this.satisfactionDesc; - } - - public void setSatisfactionDesc(String satisfactionDesc) { - this.satisfactionDesc = satisfactionDesc; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(String skillGroupNames) { - this.skillGroupNames = skillGroupNames; - } - - public String getFeedback() { - return this.feedback; - } - - public void setFeedback(String feedback) { - this.feedback = feedback; - } - - public List getAgents() { - return this.agents; - } - - public void setAgents(List agents) { - this.agents = agents; - } - - public List getRecordings() { - return this.recordings; - } - - public void setRecordings(List recordings) { - this.recordings = recordings; - } - - public static class CallDetailAgent { - - private String agentId; - - private Integer talkTime; - - private Integer workTime; - - private String agentName; - - private Integer ringTime; - - private String satisfaction; - - private Long startTime; - - private String contactId; - - private String skillGroupName; - - private Integer holdTime; - - private Integer queueTime; - - private String feedback; - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public Integer getTalkTime() { - return this.talkTime; - } - - public void setTalkTime(Integer talkTime) { - this.talkTime = talkTime; - } - - public Integer getWorkTime() { - return this.workTime; - } - - public void setWorkTime(Integer workTime) { - this.workTime = workTime; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public Integer getRingTime() { - return this.ringTime; - } - - public void setRingTime(Integer ringTime) { - this.ringTime = ringTime; - } - - public String getSatisfaction() { - return this.satisfaction; - } - - public void setSatisfaction(String satisfaction) { - this.satisfaction = satisfaction; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public Integer getHoldTime() { - return this.holdTime; - } - - public void setHoldTime(Integer holdTime) { - this.holdTime = holdTime; - } - - public Integer getQueueTime() { - return this.queueTime; - } - - public void setQueueTime(Integer queueTime) { - this.queueTime = queueTime; - } - - public String getFeedback() { - return this.feedback; - } - - public void setFeedback(String feedback) { - this.feedback = feedback; - } - } - - public static class Recording { - - private String contactType; - - private String agentId; - - private String agentName; - - private String instanceId; - - private String fileName; - - private String calledNumber; - - private Long startTime; - - private String filePath; - - private String contactId; - - private String callingNumber; - - private Integer duration; - - private String fileDescription; - - private String channel; - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getFilePath() { - return this.filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getFileDescription() { - return this.fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - } - } - } - } - - @Override - public ListRecentCallRecordsResponse getInstance(UnmarshallerContext context) { - return ListRecentCallRecordsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackRequest.java deleted file mode 100644 index 8a5bdd8a75..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackRequest.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListRecordingOfDualTrackRequest extends RpcAcsRequest { - - - private String agentId; - - private Long startTime; - - private Long stopTime; - - private Integer pageNumber; - - private String callingNumber; - - private String instanceId; - - private String calledNumber; - - private Integer pageSize; - - private String connectId; - public ListRecordingOfDualTrackRequest() { - super("CCC", "2017-07-05", "ListRecordingOfDualTrack", "CCC"); - 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 getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - if(agentId != null){ - putQueryParameter("AgentId", agentId); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - if(callingNumber != null){ - putQueryParameter("CallingNumber", callingNumber); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - if(calledNumber != null){ - putQueryParameter("CalledNumber", calledNumber); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public String getConnectId() { - return this.connectId; - } - - public void setConnectId(String connectId) { - this.connectId = connectId; - if(connectId != null){ - putQueryParameter("ConnectId", connectId); - } - } - - @Override - public Class getResponseClass() { - return ListRecordingOfDualTrackResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackResponse.java deleted file mode 100644 index 95378239e1..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingOfDualTrackResponse.java +++ /dev/null @@ -1,268 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRecordingOfDualTrackResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRecordingOfDualTrackResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Recordings recordings; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Recordings getRecordings() { - return this.recordings; - } - - public void setRecordings(Recordings recordings) { - this.recordings = recordings; - } - - public static class Recordings { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class Recording { - - private String contactType; - - private String agentId; - - private String agentName; - - private String instanceId; - - private String fileName; - - private String calledNumber; - - private Long startTime; - - private String filePath; - - private String contactId; - - private String callingNumber; - - private Integer duration; - - private String fileDescription; - - private String channel; - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getFilePath() { - return this.filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getFileDescription() { - return this.fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - } - } - } - - @Override - public ListRecordingOfDualTrackResponse getInstance(UnmarshallerContext context) { - return ListRecordingOfDualTrackResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdRequest.java deleted file mode 100644 index 8bb7776bc5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListRecordingsByContactIdRequest extends RpcAcsRequest { - - - private String instanceId; - - private String contactId; - public ListRecordingsByContactIdRequest() { - super("CCC", "2017-07-05", "ListRecordingsByContactId", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - @Override - public Class getResponseClass() { - return ListRecordingsByContactIdResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdResponse.java deleted file mode 100644 index 995c747661..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsByContactIdResponse.java +++ /dev/null @@ -1,245 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRecordingsByContactIdResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRecordingsByContactIdResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List recordings; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getRecordings() { - return this.recordings; - } - - public void setRecordings(List recordings) { - this.recordings = recordings; - } - - public static class Recording { - - private String contactType; - - private String agentId; - - private String agentName; - - private String instanceId; - - private String fileName; - - private String qualityCheckTid; - - private String calledNumber; - - private Long startTime; - - private String filePath; - - private String contactId; - - private String qualityCheckTaskId; - - private String callingNumber; - - private Integer duration; - - private String fileDescription; - - private String channel; - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getQualityCheckTid() { - return this.qualityCheckTid; - } - - public void setQualityCheckTid(String qualityCheckTid) { - this.qualityCheckTid = qualityCheckTid; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getFilePath() { - return this.filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getQualityCheckTaskId() { - return this.qualityCheckTaskId; - } - - public void setQualityCheckTaskId(String qualityCheckTaskId) { - this.qualityCheckTaskId = qualityCheckTaskId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getFileDescription() { - return this.fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - } - } - - @Override - public ListRecordingsByContactIdResponse getInstance(UnmarshallerContext context) { - return ListRecordingsByContactIdResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsRequest.java deleted file mode 100644 index f93577a2be..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListRecordingsRequest extends RpcAcsRequest { - - - private String agentId; - - private String criteria; - - private String phoneNumber; - - private Long stopTime; - - private Long startTime; - - private Integer pageNumber; - - private String instanceId; - - private Integer pageSize; - public ListRecordingsRequest() { - super("CCC", "2017-07-05", "ListRecordings", "CCC"); - 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 getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - if(agentId != null){ - putQueryParameter("AgentId", agentId); - } - } - - public String getCriteria() { - return this.criteria; - } - - public void setCriteria(String criteria) { - this.criteria = criteria; - if(criteria != null){ - putQueryParameter("Criteria", criteria); - } - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - if(phoneNumber != null){ - putQueryParameter("PhoneNumber", phoneNumber); - } - } - - public Long getStopTime() { - return this.stopTime; - } - - public void setStopTime(Long stopTime) { - this.stopTime = stopTime; - if(stopTime != null){ - putQueryParameter("StopTime", stopTime.toString()); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime.toString()); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListRecordingsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsResponse.java deleted file mode 100644 index b705fb4da0..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRecordingsResponse.java +++ /dev/null @@ -1,268 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRecordingsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRecordingsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Recordings recordings; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Recordings getRecordings() { - return this.recordings; - } - - public void setRecordings(Recordings recordings) { - this.recordings = recordings; - } - - public static class Recordings { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class Recording { - - private String contactType; - - private String agentId; - - private String agentName; - - private String instanceId; - - private String fileName; - - private String calledNumber; - - private Long startTime; - - private String filePath; - - private String contactId; - - private String callingNumber; - - private Integer duration; - - private String fileDescription; - - private String channel; - - public String getContactType() { - return this.contactType; - } - - public void setContactType(String contactType) { - this.contactType = contactType; - } - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentName() { - return this.agentName; - } - - public void setAgentName(String agentName) { - this.agentName = agentName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getFileName() { - return this.fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getCalledNumber() { - return this.calledNumber; - } - - public void setCalledNumber(String calledNumber) { - this.calledNumber = calledNumber; - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - } - - public String getFilePath() { - return this.filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - } - - public String getCallingNumber() { - return this.callingNumber; - } - - public void setCallingNumber(String callingNumber) { - this.callingNumber = callingNumber; - } - - public Integer getDuration() { - return this.duration; - } - - public void setDuration(Integer duration) { - this.duration = duration; - } - - public String getFileDescription() { - return this.fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - } - } - } - - @Override - public ListRecordingsResponse getInstance(UnmarshallerContext context) { - return ListRecordingsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesResponse.java deleted file mode 100644 index 3f5b678456..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesResponse.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListRolesResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListRolesResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List roles; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - - @Override - public ListRolesResponse getInstance(UnmarshallerContext context) { - return ListRolesResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesResponse.java deleted file mode 100644 index 7ab432ee7a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesResponse.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupStatesResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupStatesResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Data data; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 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 Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class RealTimeSkillGroupState { - - private Long workingAgents; - - private Long loggedInAgents; - - private Long breakingAgents; - - private Long longestCall; - - private Long waitingCalls; - - private Long talkingAgents; - - private String skillGroupName; - - private String skillGroupId; - - private Long readyAgents; - - private String instanceId; - - public Long getWorkingAgents() { - return this.workingAgents; - } - - public void setWorkingAgents(Long workingAgents) { - this.workingAgents = workingAgents; - } - - public Long getLoggedInAgents() { - return this.loggedInAgents; - } - - public void setLoggedInAgents(Long loggedInAgents) { - this.loggedInAgents = loggedInAgents; - } - - public Long getBreakingAgents() { - return this.breakingAgents; - } - - public void setBreakingAgents(Long breakingAgents) { - this.breakingAgents = breakingAgents; - } - - public Long getLongestCall() { - return this.longestCall; - } - - public void setLongestCall(Long longestCall) { - this.longestCall = longestCall; - } - - public Long getWaitingCalls() { - return this.waitingCalls; - } - - public void setWaitingCalls(Long waitingCalls) { - this.waitingCalls = waitingCalls; - } - - public Long getTalkingAgents() { - return this.talkingAgents; - } - - public void setTalkingAgents(Long talkingAgents) { - this.talkingAgents = talkingAgents; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public Long getReadyAgents() { - return this.readyAgents; - } - - public void setReadyAgents(Long readyAgents) { - this.readyAgents = readyAgents; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - } - } - - @Override - public ListSkillGroupStatesResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupStatesResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalRequest.java deleted file mode 100644 index 81d2c9193f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalRequest.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsByIntervalRequest extends RpcAcsRequest { - - - private String endTime; - - private String startTime; - - private Integer pageNumber; - - private String instanceId; - - private String skillGroupIds; - - private Integer pageSize; - - private String interval; - public ListSkillGroupSummaryReportsByIntervalRequest() { - super("CCC", "2017-07-05", "ListSkillGroupSummaryReportsByInterval", "CCC"); - 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 getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if(skillGroupIds != null){ - putQueryParameter("SkillGroupIds", skillGroupIds); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - public String getInterval() { - return this.interval; - } - - public void setInterval(String interval) { - this.interval = interval; - if(interval != null){ - putQueryParameter("Interval", interval); - } - } - - @Override - public Class getResponseClass() { - return ListSkillGroupSummaryReportsByIntervalResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalResponse.java deleted file mode 100644 index f242a9d334..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsByIntervalResponse.java +++ /dev/null @@ -1,800 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsByIntervalResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedSkillGroupSummaryReport getPagedSkillGroupSummaryReport() { - return this.pagedSkillGroupSummaryReport; - } - - public void setPagedSkillGroupSummaryReport(PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport) { - this.pagedSkillGroupSummaryReport = pagedSkillGroupSummaryReport; - } - - public static class PagedSkillGroupSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class SkillGroupTimeIntervalReport { - - private String skillGroupId; - - private List intervalList; - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public List getIntervalList() { - return this.intervalList; - } - - public void setIntervalList(List intervalList) { - this.intervalList = intervalList; - } - - public static class SkillGroupSummaryReport { - - private String timestamp; - - private String instanceId; - - private String skillGroupName; - - private String skillGroupId; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long queueMaxWaitTimeDuration; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long answeredByAgentOfQueueWaitTimeDuration; - - private Long totalRingTime; - - private Long inComingQueueOfQueueCount; - - private Long maxTalkTime; - - private Long maxRingTime; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long abandonedInQueueOfQueueCount; - - private Long overFlowInQueueOfQueueCount; - - private Long answeredByAgentOfQueueMaxWaitTimeDuration; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long answeredByAgentOfQueueCount; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long giveUpByAgentOfQueueCount; - - private Long queueWaitTimeDuration; - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getQueueMaxWaitTimeDuration() { - return this.queueMaxWaitTimeDuration; - } - - public void setQueueMaxWaitTimeDuration(Long queueMaxWaitTimeDuration) { - this.queueMaxWaitTimeDuration = queueMaxWaitTimeDuration; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getAnsweredByAgentOfQueueWaitTimeDuration() { - return this.answeredByAgentOfQueueWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueWaitTimeDuration(Long answeredByAgentOfQueueWaitTimeDuration) { - this.answeredByAgentOfQueueWaitTimeDuration = answeredByAgentOfQueueWaitTimeDuration; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getInComingQueueOfQueueCount() { - return this.inComingQueueOfQueueCount; - } - - public void setInComingQueueOfQueueCount(Long inComingQueueOfQueueCount) { - this.inComingQueueOfQueueCount = inComingQueueOfQueueCount; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAbandonedInQueueOfQueueCount() { - return this.abandonedInQueueOfQueueCount; - } - - public void setAbandonedInQueueOfQueueCount(Long abandonedInQueueOfQueueCount) { - this.abandonedInQueueOfQueueCount = abandonedInQueueOfQueueCount; - } - - public Long getOverFlowInQueueOfQueueCount() { - return this.overFlowInQueueOfQueueCount; - } - - public void setOverFlowInQueueOfQueueCount(Long overFlowInQueueOfQueueCount) { - this.overFlowInQueueOfQueueCount = overFlowInQueueOfQueueCount; - } - - public Long getAnsweredByAgentOfQueueMaxWaitTimeDuration() { - return this.answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueMaxWaitTimeDuration(Long answeredByAgentOfQueueMaxWaitTimeDuration) { - this.answeredByAgentOfQueueMaxWaitTimeDuration = answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAnsweredByAgentOfQueueCount() { - return this.answeredByAgentOfQueueCount; - } - - public void setAnsweredByAgentOfQueueCount(Long answeredByAgentOfQueueCount) { - this.answeredByAgentOfQueueCount = answeredByAgentOfQueueCount; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getGiveUpByAgentOfQueueCount() { - return this.giveUpByAgentOfQueueCount; - } - - public void setGiveUpByAgentOfQueueCount(Long giveUpByAgentOfQueueCount) { - this.giveUpByAgentOfQueueCount = giveUpByAgentOfQueueCount; - } - - public Long getQueueWaitTimeDuration() { - return this.queueWaitTimeDuration; - } - - public void setQueueWaitTimeDuration(Long queueWaitTimeDuration) { - this.queueWaitTimeDuration = queueWaitTimeDuration; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - } - - @Override - public ListSkillGroupSummaryReportsByIntervalResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsRequest.java deleted file mode 100644 index dee8ff4e97..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsRequest extends RpcAcsRequest { - - - private String endTime; - - private String startTime; - - private Integer pageNumber; - - private String instanceId; - - private String skillGroupIds; - - private Integer pageSize; - public ListSkillGroupSummaryReportsRequest() { - super("CCC", "2017-07-05", "ListSkillGroupSummaryReports", "CCC"); - 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 getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; - } - - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); - } - } - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if(skillGroupIds != null){ - putQueryParameter("SkillGroupIds", skillGroupIds); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListSkillGroupSummaryReportsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsResponse.java deleted file mode 100644 index 7a8c66a071..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsResponse.java +++ /dev/null @@ -1,767 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupSummaryReportsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedSkillGroupSummaryReport getPagedSkillGroupSummaryReport() { - return this.pagedSkillGroupSummaryReport; - } - - public void setPagedSkillGroupSummaryReport(PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport) { - this.pagedSkillGroupSummaryReport = pagedSkillGroupSummaryReport; - } - - public static class PagedSkillGroupSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class SkillGroupSummaryReport { - - private String instanceId; - - private String skillGroupId; - - private String skillGroupName; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long queueMaxWaitTimeDuration; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long answeredByAgentOfQueueWaitTimeDuration; - - private Long totalRingTime; - - private Long inComingQueueOfQueueCount; - - private String maxTalkTime; - - private Long maxRingTime; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long abandonedInQueueOfQueueCount; - - private Long overFlowInQueueOfQueueCount; - - private Long answeredByAgentOfQueueMaxWaitTimeDuration; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long answeredByAgentOfQueueCount; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long giveUpByAgentOfQueueCount; - - private Long queueWaitTimeDuration; - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getQueueMaxWaitTimeDuration() { - return this.queueMaxWaitTimeDuration; - } - - public void setQueueMaxWaitTimeDuration(Long queueMaxWaitTimeDuration) { - this.queueMaxWaitTimeDuration = queueMaxWaitTimeDuration; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getAnsweredByAgentOfQueueWaitTimeDuration() { - return this.answeredByAgentOfQueueWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueWaitTimeDuration(Long answeredByAgentOfQueueWaitTimeDuration) { - this.answeredByAgentOfQueueWaitTimeDuration = answeredByAgentOfQueueWaitTimeDuration; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getInComingQueueOfQueueCount() { - return this.inComingQueueOfQueueCount; - } - - public void setInComingQueueOfQueueCount(Long inComingQueueOfQueueCount) { - this.inComingQueueOfQueueCount = inComingQueueOfQueueCount; - } - - public String getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(String maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAbandonedInQueueOfQueueCount() { - return this.abandonedInQueueOfQueueCount; - } - - public void setAbandonedInQueueOfQueueCount(Long abandonedInQueueOfQueueCount) { - this.abandonedInQueueOfQueueCount = abandonedInQueueOfQueueCount; - } - - public Long getOverFlowInQueueOfQueueCount() { - return this.overFlowInQueueOfQueueCount; - } - - public void setOverFlowInQueueOfQueueCount(Long overFlowInQueueOfQueueCount) { - this.overFlowInQueueOfQueueCount = overFlowInQueueOfQueueCount; - } - - public Long getAnsweredByAgentOfQueueMaxWaitTimeDuration() { - return this.answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueMaxWaitTimeDuration(Long answeredByAgentOfQueueMaxWaitTimeDuration) { - this.answeredByAgentOfQueueMaxWaitTimeDuration = answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAnsweredByAgentOfQueueCount() { - return this.answeredByAgentOfQueueCount; - } - - public void setAnsweredByAgentOfQueueCount(Long answeredByAgentOfQueueCount) { - this.answeredByAgentOfQueueCount = answeredByAgentOfQueueCount; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getGiveUpByAgentOfQueueCount() { - return this.giveUpByAgentOfQueueCount; - } - - public void setGiveUpByAgentOfQueueCount(Long giveUpByAgentOfQueueCount) { - this.giveUpByAgentOfQueueCount = giveUpByAgentOfQueueCount; - } - - public Long getQueueWaitTimeDuration() { - return this.queueWaitTimeDuration; - } - - public void setQueueWaitTimeDuration(Long queueWaitTimeDuration) { - this.queueWaitTimeDuration = queueWaitTimeDuration; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - - @Override - public ListSkillGroupSummaryReportsResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupSummaryReportsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightRequest.java deleted file mode 100644 index d0e388ea54..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsSinceMidnightRequest extends RpcAcsRequest { - - - private Integer pageNumber; - - private String instanceId; - - private String skillGroups; - - private Integer pageSize; - public ListSkillGroupSummaryReportsSinceMidnightRequest() { - super("CCC", "2017-07-05", "ListSkillGroupSummaryReportsSinceMidnight", "CCC"); - 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 Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(String skillGroups) { - this.skillGroups = skillGroups; - if(skillGroups != null){ - putQueryParameter("SkillGroups", skillGroups); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListSkillGroupSummaryReportsSinceMidnightResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponse.java deleted file mode 100644 index 553ffbf934..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponse.java +++ /dev/null @@ -1,797 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupSummaryReportsSinceMidnightResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PagedSkillGroupSummaryReport getPagedSkillGroupSummaryReport() { - return this.pagedSkillGroupSummaryReport; - } - - public void setPagedSkillGroupSummaryReport(PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport) { - this.pagedSkillGroupSummaryReport = pagedSkillGroupSummaryReport; - } - - public static class PagedSkillGroupSummaryReport { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class SkillGroupSummaryReport { - - private String timestamp; - - private String instanceId; - - private String skillGroupName; - - private String skillGroupId; - - private Overall overall; - - private Inbound inbound; - - private Outbound outbound; - - public String getTimestamp() { - return this.timestamp; - } - - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public Overall getOverall() { - return this.overall; - } - - public void setOverall(Overall overall) { - this.overall = overall; - } - - public Inbound getInbound() { - return this.inbound; - } - - public void setInbound(Inbound inbound) { - this.inbound = inbound; - } - - public Outbound getOutbound() { - return this.outbound; - } - - public void setOutbound(Outbound outbound) { - this.outbound = outbound; - } - - public static class Overall { - - private Long totalLoggedInTime; - - private Long totalTalkTime; - - private Float occupancyRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long averageWorkTime; - - private Long averageTalkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxReadyTime; - - private Long averageReadyTime; - - private Long totalBreakTime; - - private Long totalReadyTime; - - private Long maxTalkTime; - - private Long totalCalls; - - public Long getTotalLoggedInTime() { - return this.totalLoggedInTime; - } - - public void setTotalLoggedInTime(Long totalLoggedInTime) { - this.totalLoggedInTime = totalLoggedInTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Float getOccupancyRate() { - return this.occupancyRate; - } - - public void setOccupancyRate(Float occupancyRate) { - this.occupancyRate = occupancyRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxReadyTime() { - return this.maxReadyTime; - } - - public void setMaxReadyTime(Long maxReadyTime) { - this.maxReadyTime = maxReadyTime; - } - - public Long getAverageReadyTime() { - return this.averageReadyTime; - } - - public void setAverageReadyTime(Long averageReadyTime) { - this.averageReadyTime = averageReadyTime; - } - - public Long getTotalBreakTime() { - return this.totalBreakTime; - } - - public void setTotalBreakTime(Long totalBreakTime) { - this.totalBreakTime = totalBreakTime; - } - - public Long getTotalReadyTime() { - return this.totalReadyTime; - } - - public void setTotalReadyTime(Long totalReadyTime) { - this.totalReadyTime = totalReadyTime; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getTotalCalls() { - return this.totalCalls; - } - - public void setTotalCalls(Long totalCalls) { - this.totalCalls = totalCalls; - } - } - - public static class Inbound { - - private Long averageRingTime; - - private Long callsHandled; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long queueMaxWaitTimeDuration; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long answeredByAgentOfQueueWaitTimeDuration; - - private Long totalRingTime; - - private Long inComingQueueOfQueueCount; - - private String maxTalkTime; - - private Long maxRingTime; - - private Long totalTalkTime; - - private Long callsOffered; - - private Long abandonedInQueueOfQueueCount; - - private Long overFlowInQueueOfQueueCount; - - private Long answeredByAgentOfQueueMaxWaitTimeDuration; - - private Float serviceLevel20; - - private Long averageTalkTime; - - private Long answeredByAgentOfQueueCount; - - private Long satisfactionSurveysOffered; - - private Float handleRate; - - private Long satisfactionSurveysResponded; - - private Long giveUpByAgentOfQueueCount; - - private Long queueWaitTimeDuration; - - private Long callsServiceLevel20; - - private Long callsServiceLevel30; - - public Long getAverageRingTime() { - return this.averageRingTime; - } - - public void setAverageRingTime(Long averageRingTime) { - this.averageRingTime = averageRingTime; - } - - public Long getCallsHandled() { - return this.callsHandled; - } - - public void setCallsHandled(Long callsHandled) { - this.callsHandled = callsHandled; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getQueueMaxWaitTimeDuration() { - return this.queueMaxWaitTimeDuration; - } - - public void setQueueMaxWaitTimeDuration(Long queueMaxWaitTimeDuration) { - this.queueMaxWaitTimeDuration = queueMaxWaitTimeDuration; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getAnsweredByAgentOfQueueWaitTimeDuration() { - return this.answeredByAgentOfQueueWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueWaitTimeDuration(Long answeredByAgentOfQueueWaitTimeDuration) { - this.answeredByAgentOfQueueWaitTimeDuration = answeredByAgentOfQueueWaitTimeDuration; - } - - public Long getTotalRingTime() { - return this.totalRingTime; - } - - public void setTotalRingTime(Long totalRingTime) { - this.totalRingTime = totalRingTime; - } - - public Long getInComingQueueOfQueueCount() { - return this.inComingQueueOfQueueCount; - } - - public void setInComingQueueOfQueueCount(Long inComingQueueOfQueueCount) { - this.inComingQueueOfQueueCount = inComingQueueOfQueueCount; - } - - public String getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(String maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getMaxRingTime() { - return this.maxRingTime; - } - - public void setMaxRingTime(Long maxRingTime) { - this.maxRingTime = maxRingTime; - } - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getCallsOffered() { - return this.callsOffered; - } - - public void setCallsOffered(Long callsOffered) { - this.callsOffered = callsOffered; - } - - public Long getAbandonedInQueueOfQueueCount() { - return this.abandonedInQueueOfQueueCount; - } - - public void setAbandonedInQueueOfQueueCount(Long abandonedInQueueOfQueueCount) { - this.abandonedInQueueOfQueueCount = abandonedInQueueOfQueueCount; - } - - public Long getOverFlowInQueueOfQueueCount() { - return this.overFlowInQueueOfQueueCount; - } - - public void setOverFlowInQueueOfQueueCount(Long overFlowInQueueOfQueueCount) { - this.overFlowInQueueOfQueueCount = overFlowInQueueOfQueueCount; - } - - public Long getAnsweredByAgentOfQueueMaxWaitTimeDuration() { - return this.answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public void setAnsweredByAgentOfQueueMaxWaitTimeDuration(Long answeredByAgentOfQueueMaxWaitTimeDuration) { - this.answeredByAgentOfQueueMaxWaitTimeDuration = answeredByAgentOfQueueMaxWaitTimeDuration; - } - - public Float getServiceLevel20() { - return this.serviceLevel20; - } - - public void setServiceLevel20(Float serviceLevel20) { - this.serviceLevel20 = serviceLevel20; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAnsweredByAgentOfQueueCount() { - return this.answeredByAgentOfQueueCount; - } - - public void setAnsweredByAgentOfQueueCount(Long answeredByAgentOfQueueCount) { - this.answeredByAgentOfQueueCount = answeredByAgentOfQueueCount; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Float getHandleRate() { - return this.handleRate; - } - - public void setHandleRate(Float handleRate) { - this.handleRate = handleRate; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getGiveUpByAgentOfQueueCount() { - return this.giveUpByAgentOfQueueCount; - } - - public void setGiveUpByAgentOfQueueCount(Long giveUpByAgentOfQueueCount) { - this.giveUpByAgentOfQueueCount = giveUpByAgentOfQueueCount; - } - - public Long getQueueWaitTimeDuration() { - return this.queueWaitTimeDuration; - } - - public void setQueueWaitTimeDuration(Long queueWaitTimeDuration) { - this.queueWaitTimeDuration = queueWaitTimeDuration; - } - - public Long getCallsServiceLevel20() { - return this.callsServiceLevel20; - } - - public void setCallsServiceLevel20(Long callsServiceLevel20) { - this.callsServiceLevel20 = callsServiceLevel20; - } - - public Long getCallsServiceLevel30() { - return this.callsServiceLevel30; - } - - public void setCallsServiceLevel30(Long callsServiceLevel30) { - this.callsServiceLevel30 = callsServiceLevel30; - } - } - - public static class Outbound { - - private Long totalTalkTime; - - private Long maxDialingTime; - - private Long callsDialed; - - private Long callsAnswered; - - private Float answerRate; - - private Long totalWorkTime; - - private Long maxWorkTime; - - private Long totalDialingTime; - - private Long averageTalkTime; - - private Long averageWorkTime; - - private Float satisfactionIndex; - - private Long satisfactionSurveysOffered; - - private Long satisfactionSurveysResponded; - - private Long maxTalkTime; - - private Long averageDialingTime; - - public Long getTotalTalkTime() { - return this.totalTalkTime; - } - - public void setTotalTalkTime(Long totalTalkTime) { - this.totalTalkTime = totalTalkTime; - } - - public Long getMaxDialingTime() { - return this.maxDialingTime; - } - - public void setMaxDialingTime(Long maxDialingTime) { - this.maxDialingTime = maxDialingTime; - } - - public Long getCallsDialed() { - return this.callsDialed; - } - - public void setCallsDialed(Long callsDialed) { - this.callsDialed = callsDialed; - } - - public Long getCallsAnswered() { - return this.callsAnswered; - } - - public void setCallsAnswered(Long callsAnswered) { - this.callsAnswered = callsAnswered; - } - - public Float getAnswerRate() { - return this.answerRate; - } - - public void setAnswerRate(Float answerRate) { - this.answerRate = answerRate; - } - - public Long getTotalWorkTime() { - return this.totalWorkTime; - } - - public void setTotalWorkTime(Long totalWorkTime) { - this.totalWorkTime = totalWorkTime; - } - - public Long getMaxWorkTime() { - return this.maxWorkTime; - } - - public void setMaxWorkTime(Long maxWorkTime) { - this.maxWorkTime = maxWorkTime; - } - - public Long getTotalDialingTime() { - return this.totalDialingTime; - } - - public void setTotalDialingTime(Long totalDialingTime) { - this.totalDialingTime = totalDialingTime; - } - - public Long getAverageTalkTime() { - return this.averageTalkTime; - } - - public void setAverageTalkTime(Long averageTalkTime) { - this.averageTalkTime = averageTalkTime; - } - - public Long getAverageWorkTime() { - return this.averageWorkTime; - } - - public void setAverageWorkTime(Long averageWorkTime) { - this.averageWorkTime = averageWorkTime; - } - - public Float getSatisfactionIndex() { - return this.satisfactionIndex; - } - - public void setSatisfactionIndex(Float satisfactionIndex) { - this.satisfactionIndex = satisfactionIndex; - } - - public Long getSatisfactionSurveysOffered() { - return this.satisfactionSurveysOffered; - } - - public void setSatisfactionSurveysOffered(Long satisfactionSurveysOffered) { - this.satisfactionSurveysOffered = satisfactionSurveysOffered; - } - - public Long getSatisfactionSurveysResponded() { - return this.satisfactionSurveysResponded; - } - - public void setSatisfactionSurveysResponded(Long satisfactionSurveysResponded) { - this.satisfactionSurveysResponded = satisfactionSurveysResponded; - } - - public Long getMaxTalkTime() { - return this.maxTalkTime; - } - - public void setMaxTalkTime(Long maxTalkTime) { - this.maxTalkTime = maxTalkTime; - } - - public Long getAverageDialingTime() { - return this.averageDialingTime; - } - - public void setAverageDialingTime(Long averageDialingTime) { - this.averageDialingTime = averageDialingTime; - } - } - } - } - - @Override - public ListSkillGroupSummaryReportsSinceMidnightResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserResponse.java deleted file mode 100644 index 513d496720..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserResponse.java +++ /dev/null @@ -1,301 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupsOfUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupsOfUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List skillLevels; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String routingStrategy; - - private String skillGroupDescription; - - private String skillGroupName; - - private String skillGroupId; - - private List outboundPhoneNumbers; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public List getOutboundPhoneNumbers() { - return this.outboundPhoneNumbers; - } - - public void setOutboundPhoneNumbers(List outboundPhoneNumbers) { - this.outboundPhoneNumbers = outboundPhoneNumbers; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String city; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String province; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - } - - @Override - public ListSkillGroupsOfUserResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupsOfUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsRequest.java deleted file mode 100644 index b050cffe61..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsRequest.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupsRequest extends RpcAcsRequest { - - - private String instanceId; - - private List skillGroupIds; - - private List skillGroupNames; - public ListSkillGroupsRequest() { - super("CCC", "2017-07-05", "ListSkillGroups", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - public List getSkillGroupNames() { - return this.skillGroupNames; - } - - public void setSkillGroupNames(List skillGroupNames) { - this.skillGroupNames = skillGroupNames; - if (skillGroupNames != null) { - for (int i = 0; i < skillGroupNames.size(); i++) { - putQueryParameter("SkillGroupName." + (i + 1) , skillGroupNames.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ListSkillGroupsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsResponse.java deleted file mode 100644 index 0d20b54edb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsResponse.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListSkillGroupsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListSkillGroupsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List skillGroups; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(List skillGroups) { - this.skillGroups = skillGroups; - } - - public static class SkillGroup { - - private String routingStrategy; - - private String skillGroupId; - - private String skillGroupName; - - private Integer userCount; - - private String instanceId; - - private String accQueueName; - - private String accSkillGroupName; - - private String skillGroupDescription; - - private List outboundPhoneNumbers; - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public Integer getUserCount() { - return this.userCount; - } - - public void setUserCount(Integer userCount) { - this.userCount = userCount; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getAccQueueName() { - return this.accQueueName; - } - - public void setAccQueueName(String accQueueName) { - this.accQueueName = accQueueName; - } - - public String getAccSkillGroupName() { - return this.accSkillGroupName; - } - - public void setAccSkillGroupName(String accSkillGroupName) { - this.accSkillGroupName = accSkillGroupName; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public List getOutboundPhoneNumbers() { - return this.outboundPhoneNumbers; - } - - public void setOutboundPhoneNumbers(List outboundPhoneNumbers) { - this.outboundPhoneNumbers = outboundPhoneNumbers; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public ListSkillGroupsResponse getInstance(UnmarshallerContext context) { - return ListSkillGroupsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsRequest.java deleted file mode 100644 index d67f11a8bb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListTransferableSkillGroupsRequest extends RpcAcsRequest { - - - private String instanceId; - public ListTransferableSkillGroupsRequest() { - super("CCC", "2017-07-05", "ListTransferableSkillGroups", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListTransferableSkillGroupsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsResponse.java deleted file mode 100644 index 59c7145b7f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTransferableSkillGroupsResponse.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListTransferableSkillGroupsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListTransferableSkillGroupsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List skillGroups; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(List skillGroups) { - this.skillGroups = skillGroups; - } - - public static class SkillGroup { - - private Boolean allowPrivateOutboundNumber; - - private String routingStrategy; - - private String skillGroupName; - - private String skillGroupId; - - private Integer userCount; - - private String accQueueName; - - private String instanceId; - - private String skillGroupDescription; - - private String accSkillGroupName; - - public Boolean getAllowPrivateOutboundNumber() { - return this.allowPrivateOutboundNumber; - } - - public void setAllowPrivateOutboundNumber(Boolean allowPrivateOutboundNumber) { - this.allowPrivateOutboundNumber = allowPrivateOutboundNumber; - } - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public Integer getUserCount() { - return this.userCount; - } - - public void setUserCount(Integer userCount) { - this.userCount = userCount; - } - - public String getAccQueueName() { - return this.accQueueName; - } - - public void setAccQueueName(String accQueueName) { - this.accQueueName = accQueueName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getAccSkillGroupName() { - return this.accSkillGroupName; - } - - public void setAccSkillGroupName(String accSkillGroupName) { - this.accSkillGroupName = accSkillGroupName; - } - } - - @Override - public ListTransferableSkillGroupsResponse getInstance(UnmarshallerContext context) { - return ListTransferableSkillGroupsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersRequest.java deleted file mode 100644 index 4ca606d38d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersRequest.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListTrunkProvidersRequest extends RpcAcsRequest { - - public ListTrunkProvidersRequest() { - super("CCC", "2017-07-05", "ListTrunkProviders", "CCC"); - 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) {} - } - - @Override - public Class getResponseClass() { - return ListTrunkProvidersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupRequest.java deleted file mode 100644 index 419ff36147..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListTrunksOfSkillGroupRequest extends RpcAcsRequest { - - - private String instanceId; - - private String skillGroupId; - public ListTrunksOfSkillGroupRequest() { - super("CCC", "2017-07-05", "ListTrunksOfSkillGroup", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - @Override - public Class getResponseClass() { - return ListTrunksOfSkillGroupResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupResponse.java deleted file mode 100644 index 2c115b8d51..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupResponse.java +++ /dev/null @@ -1,423 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListUsersOfSkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListUsersOfSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Users users; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Users getUsers() { - return this.users; - } - - public void setUsers(Users users) { - this.users = users; - } - - public static class Users { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class User { - - private String instanceId; - - private String ramId; - - private String userId; - - private List roles; - - private List skillLevels; - - private Detail detail; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Role { - - private Integer userCount; - - private String roleName; - - private String instanceId; - - private String roleDescription; - - private String roleId; - - private List privileges; - - public Integer getUserCount() { - return this.userCount; - } - - public void setUserCount(Integer userCount) { - this.userCount = userCount; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - - public List getPrivileges() { - return this.privileges; - } - - public void setPrivileges(List privileges) { - this.privileges = privileges; - } - - public static class Privilege { - - private String privilegeName; - - private String privilegeId; - - private String privilegeDescription; - - public String getPrivilegeName() { - return this.privilegeName; - } - - public void setPrivilegeName(String privilegeName) { - this.privilegeName = privilegeName; - } - - public String getPrivilegeId() { - return this.privilegeId; - } - - public void setPrivilegeId(String privilegeId) { - this.privilegeId = privilegeId; - } - - public String getPrivilegeDescription() { - return this.privilegeDescription; - } - - public void setPrivilegeDescription(String privilegeDescription) { - this.privilegeDescription = privilegeDescription; - } - } - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - } - - @Override - public ListUsersOfSkillGroupResponse getInstance(UnmarshallerContext context) { - return ListUsersOfSkillGroupResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersResponse.java deleted file mode 100644 index caa8b53837..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersResponse.java +++ /dev/null @@ -1,390 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListUsersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListUsersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Users users; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Users getUsers() { - return this.users; - } - - public void setUsers(Users users) { - this.users = users; - } - - public static class Users { - - private Integer pageNumber; - - private Integer pageSize; - - private Integer totalCount; - - private List list; - - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { - return this.list; - } - - public void setList(List list) { - this.list = list; - } - - public static class User { - - private String privateOutboundNumberId; - - private Boolean primary; - - private String instanceId; - - private String ramId; - - private String userId; - - private List roles; - - private List skillLevels; - - private Detail detail; - - public String getPrivateOutboundNumberId() { - return this.privateOutboundNumberId; - } - - public void setPrivateOutboundNumberId(String privateOutboundNumberId) { - this.privateOutboundNumberId = privateOutboundNumberId; - } - - public Boolean getPrimary() { - return this.primary; - } - - public void setPrimary(Boolean primary) { - this.primary = primary; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRamId() { - return this.ramId; - } - - public void setRamId(String ramId) { - this.ramId = ramId; - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - } - - public Detail getDetail() { - return this.detail; - } - - public void setDetail(Detail detail) { - this.detail = detail; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - - public static class SkillLevel { - - private String skillLevelId; - - private Integer level; - - private Skill skill; - - public String getSkillLevelId() { - return this.skillLevelId; - } - - public void setSkillLevelId(String skillLevelId) { - this.skillLevelId = skillLevelId; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Skill getSkill() { - return this.skill; - } - - public void setSkill(Skill skill) { - this.skill = skill; - } - - public static class Skill { - - private String instanceId; - - private String skillGroupDescription; - - private String skillGroupId; - - private String skillGroupName; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getSkillGroupDescription() { - return this.skillGroupDescription; - } - - public void setSkillGroupDescription(String skillGroupDescription) { - this.skillGroupDescription = skillGroupDescription; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - } - } - - public static class Detail { - - private String displayName; - - private String email; - - private String loginName; - - private String department; - - private String phone; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getLoginName() { - return this.loginName; - } - - public void setLoginName(String loginName) { - this.loginName = loginName; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - } - } - } - - @Override - public ListUsersResponse getInstance(UnmarshallerContext context) { - return ListUsersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseRequest.java deleted file mode 100644 index 79d6b414b3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ListVoiceAppraiseRequest extends RpcAcsRequest { - - - private String instanceId; - public ListVoiceAppraiseRequest() { - super("CCC", "2017-07-05", "ListVoiceAppraise", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ListVoiceAppraiseResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseResponse.java deleted file mode 100644 index d4ce03d767..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListVoiceAppraiseResponse.java +++ /dev/null @@ -1,321 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListVoiceAppraiseResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListVoiceAppraiseResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String notice; - - private String code; - - private String message; - - private ContactFlow contactFlow; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getNotice() { - return this.notice; - } - - public void setNotice(String notice) { - this.notice = notice; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public static class ContactFlow { - - private String contactFlowDescription; - - private String type; - - private String contactFlowName; - - private String instanceId; - - private String contactFlowId; - - private String appliedVersion; - - private List versions; - - private List phoneNumbers; - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - - public String getAppliedVersion() { - return this.appliedVersion; - } - - public void setAppliedVersion(String appliedVersion) { - this.appliedVersion = appliedVersion; - } - - public List getVersions() { - return this.versions; - } - - public void setVersions(List versions) { - this.versions = versions; - } - - public List getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(List phoneNumbers) { - this.phoneNumbers = phoneNumbers; - } - - public static class ContactFlowVersion { - - private String status; - - private String lastModified; - - private String version; - - private String contactFlowVersionId; - - private String contactFlowVersionDescription; - - private String lastModifiedBy; - - private String content; - - public String getStatus() { - return this.status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getLastModified() { - return this.lastModified; - } - - public void setLastModified(String lastModified) { - this.lastModified = lastModified; - } - - public String getVersion() { - return this.version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - } - - public String getContactFlowVersionDescription() { - return this.contactFlowVersionDescription; - } - - public void setContactFlowVersionDescription(String contactFlowVersionDescription) { - this.contactFlowVersionDescription = contactFlowVersionDescription; - } - - public String getLastModifiedBy() { - return this.lastModifiedBy; - } - - public void setLastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - } - - public String getContent() { - return this.content; - } - - public void setContent(String content) { - this.content = content; - } - } - - public static class PhoneNumber { - - private Integer trunks; - - private String number; - - private Integer remainingTime; - - private String instanceId; - - private String phoneNumberDescription; - - private String phoneNumberId; - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - } - } - - @Override - public ListVoiceAppraiseResponse getInstance(UnmarshallerContext context) { - return ListVoiceAppraiseResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceRequest.java deleted file mode 100644 index b6d60f6734..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyAgentDeviceRequest extends RpcAcsRequest { - - - private Integer isLogin; - - private Long agentDeviceId; - - private String instanceId; - public ModifyAgentDeviceRequest() { - super("CCC", "2017-07-05", "ModifyAgentDevice", "CCC"); - 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 Integer getIsLogin() { - return this.isLogin; - } - - public void setIsLogin(Integer isLogin) { - this.isLogin = isLogin; - if(isLogin != null){ - putQueryParameter("IsLogin", isLogin.toString()); - } - } - - public Long getAgentDeviceId() { - return this.agentDeviceId; - } - - public void setAgentDeviceId(Long agentDeviceId) { - this.agentDeviceId = agentDeviceId; - if(agentDeviceId != null){ - putQueryParameter("AgentDeviceId", agentDeviceId.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ModifyAgentDeviceResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberRequest.java deleted file mode 100644 index 964781c8eb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyPhoneNumberRequest extends RpcAcsRequest { - - - private String contactFlowId; - - private String usage; - - private String instanceId; - - private String phoneNumberId; - - private List skillGroupIds; - public ModifyPhoneNumberRequest() { - super("CCC", "2017-07-05", "ModifyPhoneNumber", "CCC"); - 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 getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - if(contactFlowId != null){ - putQueryParameter("ContactFlowId", contactFlowId); - } - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - if(usage != null){ - putQueryParameter("Usage", usage); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - if(phoneNumberId != null){ - putQueryParameter("PhoneNumberId", phoneNumberId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ModifyPhoneNumberResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberResponse.java deleted file mode 100644 index a8328b25cf..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneNumberResponse.java +++ /dev/null @@ -1,281 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyPhoneNumberResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifyPhoneNumberResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private PhoneNumber phoneNumber; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public PhoneNumber getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(PhoneNumber phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public static class PhoneNumber { - - private Boolean testOnly; - - private Integer trunks; - - private Integer remainingTime; - - private String number; - - private String instanceId; - - private String usage; - - private Boolean allowOutbound; - - private String phoneNumberDescription; - - private String phoneNumberId; - - private List skillGroups; - - private ContactFlow contactFlow; - - public Boolean getTestOnly() { - return this.testOnly; - } - - public void setTestOnly(Boolean testOnly) { - this.testOnly = testOnly; - } - - public Integer getTrunks() { - return this.trunks; - } - - public void setTrunks(Integer trunks) { - this.trunks = trunks; - } - - public Integer getRemainingTime() { - return this.remainingTime; - } - - public void setRemainingTime(Integer remainingTime) { - this.remainingTime = remainingTime; - } - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getUsage() { - return this.usage; - } - - public void setUsage(String usage) { - this.usage = usage; - } - - public Boolean getAllowOutbound() { - return this.allowOutbound; - } - - public void setAllowOutbound(Boolean allowOutbound) { - this.allowOutbound = allowOutbound; - } - - public String getPhoneNumberDescription() { - return this.phoneNumberDescription; - } - - public void setPhoneNumberDescription(String phoneNumberDescription) { - this.phoneNumberDescription = phoneNumberDescription; - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - } - - public List getSkillGroups() { - return this.skillGroups; - } - - public void setSkillGroups(List skillGroups) { - this.skillGroups = skillGroups; - } - - public ContactFlow getContactFlow() { - return this.contactFlow; - } - - public void setContactFlow(ContactFlow contactFlow) { - this.contactFlow = contactFlow; - } - - public static class SkillGroup { - - private String skillGroupName; - - private String skillGroupId; - - public String getSkillGroupName() { - return this.skillGroupName; - } - - public void setSkillGroupName(String skillGroupName) { - this.skillGroupName = skillGroupName; - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - } - } - - public static class ContactFlow { - - private String type; - - private String contactFlowDescription; - - private String instanceId; - - private String contactFlowName; - - private String contactFlowId; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContactFlowDescription() { - return this.contactFlowDescription; - } - - public void setContactFlowDescription(String contactFlowDescription) { - this.contactFlowDescription = contactFlowDescription; - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getContactFlowName() { - return this.contactFlowName; - } - - public void setContactFlowName(String contactFlowName) { - this.contactFlowName = contactFlowName; - } - - public String getContactFlowId() { - return this.contactFlowId; - } - - public void setContactFlowId(String contactFlowId) { - this.contactFlowId = contactFlowId; - } - } - } - - @Override - public ModifyPhoneNumberResponse getInstance(UnmarshallerContext context) { - return ModifyPhoneNumberResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsRequest.java deleted file mode 100644 index 1879866f87..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsRequest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyPhoneTagsRequest extends RpcAcsRequest { - - - private String instanceId; - - private List skillGroupIdLists; - - private String serviceTag; - public ModifyPhoneTagsRequest() { - super("CCC", "2017-07-05", "ModifyPhoneTags", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIdLists() { - return this.skillGroupIdLists; - } - - public void setSkillGroupIdLists(List skillGroupIdLists) { - this.skillGroupIdLists = skillGroupIdLists; - if (skillGroupIdLists != null) { - for (int i = 0; i < skillGroupIdLists.size(); i++) { - putQueryParameter("SkillGroupIdList." + (i + 1) , skillGroupIdLists.get(i)); - } - } - } - - public String getServiceTag() { - return this.serviceTag; - } - - public void setServiceTag(String serviceTag) { - this.serviceTag = serviceTag; - if(serviceTag != null){ - putQueryParameter("ServiceTag", serviceTag); - } - } - - @Override - public Class getResponseClass() { - return ModifyPhoneTagsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupRequest.java deleted file mode 100644 index 13be8ab98d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupRequest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyPrimaryTrunksOfSkillGroupRequest extends RpcAcsRequest { - - - private List primaryProviderNames; - - private String instanceId; - - private String skillGroupId; - public ModifyPrimaryTrunksOfSkillGroupRequest() { - super("CCC", "2017-07-05", "ModifyPrimaryTrunksOfSkillGroup", "CCC"); - 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 List getPrimaryProviderNames() { - return this.primaryProviderNames; - } - - public void setPrimaryProviderNames(List primaryProviderNames) { - this.primaryProviderNames = primaryProviderNames; - if (primaryProviderNames != null) { - for (int i = 0; i < primaryProviderNames.size(); i++) { - putQueryParameter("PrimaryProviderName." + (i + 1) , primaryProviderNames.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - @Override - public Class getResponseClass() { - return ModifyPrimaryTrunksOfSkillGroupResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupResponse.java deleted file mode 100644 index cbc05fdef3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrimaryTrunksOfSkillGroupResponse.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifyPrimaryTrunksOfSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifyPrimaryTrunksOfSkillGroupResponse getInstance(UnmarshallerContext context) { - return ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailRequest.java deleted file mode 100644 index 402db1a604..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyPrivacyNumberCallDetailRequest extends RpcAcsRequest { - - - private String callId; - - private String contactId; - - private String instanceId; - public ModifyPrivacyNumberCallDetailRequest() { - super("CCC", "2017-07-05", "ModifyPrivacyNumberCallDetail", "CCC"); - 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 String getContactId() { - return this.contactId; - } - - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return ModifyPrivacyNumberCallDetailResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailResponse.java deleted file mode 100644 index 6d6b48d579..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPrivacyNumberCallDetailResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyPrivacyNumberCallDetailResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifyPrivacyNumberCallDetailResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifyPrivacyNumberCallDetailResponse getInstance(UnmarshallerContext context) { - return ModifyPrivacyNumberCallDetailResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoRequest.java deleted file mode 100644 index 4acc840a49..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoRequest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupBasicInfoRequest extends RpcAcsRequest { - - - private Boolean allowPrivateOutboundNumber; - - private String description; - - private String routingStrategy; - - private String instanceId; - - private String skillGroupId; - - private String name; - public ModifySkillGroupBasicInfoRequest() { - super("CCC", "2017-07-05", "ModifySkillGroupBasicInfo", "CCC"); - 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 Boolean getAllowPrivateOutboundNumber() { - return this.allowPrivateOutboundNumber; - } - - public void setAllowPrivateOutboundNumber(Boolean allowPrivateOutboundNumber) { - this.allowPrivateOutboundNumber = allowPrivateOutboundNumber; - if(allowPrivateOutboundNumber != null){ - putQueryParameter("AllowPrivateOutboundNumber", allowPrivateOutboundNumber.toString()); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - if(routingStrategy != null){ - putQueryParameter("RoutingStrategy", routingStrategy); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - @Override - public Class getResponseClass() { - return ModifySkillGroupBasicInfoResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoResponse.java deleted file mode 100644 index c44ec2fce9..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupBasicInfoResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifySkillGroupBasicInfoResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupBasicInfoResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifySkillGroupBasicInfoResponse getInstance(UnmarshallerContext context) { - return ModifySkillGroupBasicInfoResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserRequest.java deleted file mode 100644 index e328e0270b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupOfUserRequest extends RpcAcsRequest { - - - private List roleIds; - - private String userId; - - private List skillLevels; - - private String instanceId; - - private List skillGroupIds; - public ModifySkillGroupOfUserRequest() { - super("CCC", "2017-07-05", "ModifySkillGroupOfUser", "CCC"); - 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 List getRoleIds() { - return this.roleIds; - } - - public void setRoleIds(List roleIds) { - this.roleIds = roleIds; - if (roleIds != null) { - for (int i = 0; i < roleIds.size(); i++) { - putQueryParameter("RoleId." + (i + 1) , roleIds.get(i)); - } - } - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ModifySkillGroupOfUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserResponse.java deleted file mode 100644 index 5b05dd7728..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOfUserResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifySkillGroupOfUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupOfUserResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifySkillGroupOfUserResponse getInstance(UnmarshallerContext context) { - return ModifySkillGroupOfUserResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersRequest.java deleted file mode 100644 index 82c252f56e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupOutboundNumbersRequest extends RpcAcsRequest { - - - private Integer operationType; - - private String instanceId; - - private List outboundPhoneNumberIds; - - private String skillGroupId; - public ModifySkillGroupOutboundNumbersRequest() { - super("CCC", "2017-07-05", "ModifySkillGroupOutboundNumbers", "CCC"); - 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 Integer getOperationType() { - return this.operationType; - } - - public void setOperationType(Integer operationType) { - this.operationType = operationType; - if(operationType != null){ - putQueryParameter("OperationType", operationType.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getOutboundPhoneNumberIds() { - return this.outboundPhoneNumberIds; - } - - public void setOutboundPhoneNumberIds(List outboundPhoneNumberIds) { - this.outboundPhoneNumberIds = outboundPhoneNumberIds; - if (outboundPhoneNumberIds != null) { - for (int i = 0; i < outboundPhoneNumberIds.size(); i++) { - putQueryParameter("OutboundPhoneNumberId." + (i + 1) , outboundPhoneNumberIds.get(i)); - } - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - @Override - public Class getResponseClass() { - return ModifySkillGroupOutboundNumbersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersResponse.java deleted file mode 100644 index e9cfeaf052..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupOutboundNumbersResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifySkillGroupOutboundNumbersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupOutboundNumbersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifySkillGroupOutboundNumbersResponse getInstance(UnmarshallerContext context) { - return ModifySkillGroupOutboundNumbersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupRequest.java deleted file mode 100644 index 8e04853d77..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupRequest.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupRequest extends RpcAcsRequest { - - - private Boolean allowPrivateOutboundNumber; - - private String description; - - private String routingStrategy; - - private List userIds; - - private List skillLevels; - - private String instanceId; - - private List outboundPhoneNumberIds; - - private String skillGroupId; - - private String name; - public ModifySkillGroupRequest() { - super("CCC", "2017-07-05", "ModifySkillGroup", "CCC"); - 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 Boolean getAllowPrivateOutboundNumber() { - return this.allowPrivateOutboundNumber; - } - - public void setAllowPrivateOutboundNumber(Boolean allowPrivateOutboundNumber) { - this.allowPrivateOutboundNumber = allowPrivateOutboundNumber; - if(allowPrivateOutboundNumber != null){ - putQueryParameter("AllowPrivateOutboundNumber", allowPrivateOutboundNumber.toString()); - } - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } - } - - public String getRoutingStrategy() { - return this.routingStrategy; - } - - public void setRoutingStrategy(String routingStrategy) { - this.routingStrategy = routingStrategy; - if(routingStrategy != null){ - putQueryParameter("RoutingStrategy", routingStrategy); - } - } - - public List getUserIds() { - return this.userIds; - } - - public void setUserIds(List userIds) { - this.userIds = userIds; - if (userIds != null) { - for (int i = 0; i < userIds.size(); i++) { - putQueryParameter("UserId." + (i + 1) , userIds.get(i)); - } - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getOutboundPhoneNumberIds() { - return this.outboundPhoneNumberIds; - } - - public void setOutboundPhoneNumberIds(List outboundPhoneNumberIds) { - this.outboundPhoneNumberIds = outboundPhoneNumberIds; - if (outboundPhoneNumberIds != null) { - for (int i = 0; i < outboundPhoneNumberIds.size(); i++) { - putQueryParameter("OutboundPhoneNumberId." + (i + 1) , outboundPhoneNumberIds.get(i)); - } - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } - } - - @Override - public Class getResponseClass() { - return ModifySkillGroupResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupResponse.java deleted file mode 100644 index f9193336a3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifySkillGroupResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifySkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ModifySkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ModifySkillGroupResponse getInstance(UnmarshallerContext context) { - return ModifySkillGroupResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserRequest.java deleted file mode 100644 index f68e2a1605..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserRequest.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ModifyUserRequest extends RpcAcsRequest { - - - private String privateOutboundNumberId; - - private List roleIds; - - private String userId; - - private List skillLevels; - - private String instanceId; - - private String phone; - - private String displayName; - - private List skillGroupIds; - - private String email; - public ModifyUserRequest() { - super("CCC", "2017-07-05", "ModifyUser", "CCC"); - 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 getPrivateOutboundNumberId() { - return this.privateOutboundNumberId; - } - - public void setPrivateOutboundNumberId(String privateOutboundNumberId) { - this.privateOutboundNumberId = privateOutboundNumberId; - if(privateOutboundNumberId != null){ - putQueryParameter("PrivateOutboundNumberId", privateOutboundNumberId); - } - } - - public List getRoleIds() { - return this.roleIds; - } - - public void setRoleIds(List roleIds) { - this.roleIds = roleIds; - if (roleIds != null) { - for (int i = 0; i < roleIds.size(); i++) { - putQueryParameter("RoleId." + (i + 1) , roleIds.get(i)); - } - } - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); - } - } - - public List getSkillLevels() { - return this.skillLevels; - } - - public void setSkillLevels(List skillLevels) { - this.skillLevels = skillLevels; - if (skillLevels != null) { - for (int i = 0; i < skillLevels.size(); i++) { - putQueryParameter("SkillLevel." + (i + 1) , skillLevels.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getPhone() { - return this.phone; - } - - public void setPhone(String phone) { - this.phone = phone; - if(phone != null){ - putQueryParameter("Phone", phone); - } - } - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - if(displayName != null){ - putQueryParameter("DisplayName", displayName); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - if(email != null){ - putQueryParameter("Email", email); - } - } - - @Override - public Class getResponseClass() { - return ModifyUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersRequest.java deleted file mode 100644 index 7bd30e1748..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersRequest.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class PickGlobalOutboundNumbersRequest extends RpcAcsRequest { - - - private Boolean isVirtual; - - private Integer count; - - private String instanceId; - - private List skillGroupIds; - - private String calleeNumber; - public PickGlobalOutboundNumbersRequest() { - super("CCC", "2017-07-05", "PickGlobalOutboundNumbers", "CCC"); - 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 Boolean getIsVirtual() { - return this.isVirtual; - } - - public void setIsVirtual(Boolean isVirtual) { - this.isVirtual = isVirtual; - if(isVirtual != null){ - putQueryParameter("IsVirtual", isVirtual.toString()); - } - } - - public Integer getCount() { - return this.count; - } - - public void setCount(Integer count) { - this.count = count; - if(count != null){ - putQueryParameter("Count", count.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getSkillGroupIds() { - return this.skillGroupIds; - } - - public void setSkillGroupIds(List skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if (skillGroupIds != null) { - for (int i = 0; i < skillGroupIds.size(); i++) { - putQueryParameter("SkillGroupId." + (i + 1) , skillGroupIds.get(i)); - } - } - } - - public String getCalleeNumber() { - return this.calleeNumber; - } - - public void setCalleeNumber(String calleeNumber) { - this.calleeNumber = calleeNumber; - if(calleeNumber != null){ - putQueryParameter("CalleeNumber", calleeNumber); - } - } - - @Override - public Class getResponseClass() { - return PickGlobalOutboundNumbersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersResponse.java deleted file mode 100644 index 81bdd8aa5a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickGlobalOutboundNumbersResponse.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.PickGlobalOutboundNumbersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class PickGlobalOutboundNumbersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List dialNumberPairs; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getDialNumberPairs() { - return this.dialNumberPairs; - } - - public void setDialNumberPairs(List dialNumberPairs) { - this.dialNumberPairs = dialNumberPairs; - } - - public static class DialNumberPair { - - private Callee callee; - - private Caller caller; - - public Callee getCallee() { - return this.callee; - } - - public void setCallee(Callee callee) { - this.callee = callee; - } - - public Caller getCaller() { - return this.caller; - } - - public void setCaller(Caller caller) { - this.caller = caller; - } - - public static class Callee { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - - public static class Caller { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - } - - @Override - public PickGlobalOutboundNumbersResponse getInstance(UnmarshallerContext context) { - return PickGlobalOutboundNumbersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberRequest.java deleted file mode 100644 index 53d6c01e16..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberRequest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class PickLocalNumberRequest extends RpcAcsRequest { - - - private String instanceId; - - private List candidateNumbers; - - private String calleeNumber; - public PickLocalNumberRequest() { - super("CCC", "2017-07-05", "PickLocalNumber", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getCandidateNumbers() { - return this.candidateNumbers; - } - - public void setCandidateNumbers(List candidateNumbers) { - this.candidateNumbers = candidateNumbers; - if (candidateNumbers != null) { - for (int i = 0; i < candidateNumbers.size(); i++) { - putQueryParameter("CandidateNumber." + (i + 1) , candidateNumbers.get(i)); - } - } - } - - public String getCalleeNumber() { - return this.calleeNumber; - } - - public void setCalleeNumber(String calleeNumber) { - this.calleeNumber = calleeNumber; - if(calleeNumber != null){ - putQueryParameter("CalleeNumber", calleeNumber); - } - } - - @Override - public Class getResponseClass() { - return PickLocalNumberResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberResponse.java deleted file mode 100644 index 10cfa8ec6e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickLocalNumberResponse.java +++ /dev/null @@ -1,170 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.PickLocalNumberResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class PickLocalNumberResponse extends AcsResponse { - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Data data; - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 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 Callee callee; - - private Caller caller; - - public Callee getCallee() { - return this.callee; - } - - public void setCallee(Callee callee) { - this.callee = callee; - } - - public Caller getCaller() { - return this.caller; - } - - public void setCaller(Caller caller) { - this.caller = caller; - } - - public static class Callee { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - - public static class Caller { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - } - - @Override - public PickLocalNumberResponse getInstance(UnmarshallerContext context) { - return PickLocalNumberResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersRequest.java deleted file mode 100644 index 603e6c9306..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class PickOutboundNumbersRequest extends RpcAcsRequest { - - - private Integer count; - - private String instanceId; - - private List candidateNumbers; - - private String calleeNumber; - public PickOutboundNumbersRequest() { - super("CCC", "2017-07-05", "PickOutboundNumbers", "CCC"); - 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 Integer getCount() { - return this.count; - } - - public void setCount(Integer count) { - this.count = count; - if(count != null){ - putQueryParameter("Count", count.toString()); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getCandidateNumbers() { - return this.candidateNumbers; - } - - public void setCandidateNumbers(List candidateNumbers) { - this.candidateNumbers = candidateNumbers; - if (candidateNumbers != null) { - for (int i = 0; i < candidateNumbers.size(); i++) { - putQueryParameter("CandidateNumber." + (i + 1) , candidateNumbers.get(i)); - } - } - } - - public String getCalleeNumber() { - return this.calleeNumber; - } - - public void setCalleeNumber(String calleeNumber) { - this.calleeNumber = calleeNumber; - if(calleeNumber != null){ - putQueryParameter("CalleeNumber", calleeNumber); - } - } - - @Override - public Class getResponseClass() { - return PickOutboundNumbersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersResponse.java deleted file mode 100644 index e7deb23c89..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PickOutboundNumbersResponse.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.PickOutboundNumbersResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class PickOutboundNumbersResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private List dialNumberPairs; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public List getDialNumberPairs() { - return this.dialNumberPairs; - } - - public void setDialNumberPairs(List dialNumberPairs) { - this.dialNumberPairs = dialNumberPairs; - } - - public static class DialNumberPair { - - private Callee callee; - - private Caller caller; - - public Callee getCallee() { - return this.callee; - } - - public void setCallee(Callee callee) { - this.callee = callee; - } - - public Caller getCaller() { - return this.caller; - } - - public void setCaller(Caller caller) { - this.caller = caller; - } - - public static class Callee { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - - public static class Caller { - - private String number; - - private String city; - - private String province; - - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getCity() { - return this.city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getProvince() { - return this.province; - } - - public void setProvince(String province) { - this.province = province; - } - } - } - - @Override - public PickOutboundNumbersResponse getInstance(UnmarshallerContext context) { - return PickOutboundNumbersResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionRequest.java deleted file mode 100644 index 11c5c1cdbe..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionRequest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class PublishContactFlowVersionRequest extends RpcAcsRequest { - - - private String instanceId; - - private String contactFlowVersionId; - - private Boolean useTianGong; - public PublishContactFlowVersionRequest() { - super("CCC", "2017-07-05", "PublishContactFlowVersion", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getContactFlowVersionId() { - return this.contactFlowVersionId; - } - - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - if(contactFlowVersionId != null){ - putQueryParameter("ContactFlowVersionId", contactFlowVersionId); - } - } - - public Boolean getUseTianGong() { - return this.useTianGong; - } - - public void setUseTianGong(Boolean useTianGong) { - this.useTianGong = useTianGong; - if(useTianGong != null){ - putQueryParameter("UseTianGong", useTianGong.toString()); - } - } - - @Override - public Class getResponseClass() { - return PublishContactFlowVersionResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionResponse.java deleted file mode 100644 index ff76d93761..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/PublishContactFlowVersionResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.PublishContactFlowVersionResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class PublishContactFlowVersionResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public PublishContactFlowVersionResponse getInstance(UnmarshallerContext context) { - return PublishContactFlowVersionResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenRequest.java deleted file mode 100644 index 9817c9aea9..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class RefreshTokenRequest extends RpcAcsRequest { - - - private String instanceId; - public RefreshTokenRequest() { - super("CCC", "2017-07-05", "RefreshToken", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - @Override - public Class getResponseClass() { - return RefreshTokenResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenResponse.java deleted file mode 100644 index 882f2ba5b5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RefreshTokenResponse.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.RefreshTokenResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class RefreshTokenResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private Token token; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Token getToken() { - return this.token; - } - - public void setToken(Token token) { - this.token = token; - } - - public static class Token { - - private String signData; - - private String signature; - - public String getSignData() { - return this.signData; - } - - public void setSignData(String signData) { - this.signData = signData; - } - - public String getSignature() { - return this.signature; - } - - public void setSignature(String signature) { - this.signature = signature; - } - } - - @Override - public RefreshTokenResponse getInstance(UnmarshallerContext context) { - return RefreshTokenResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberRequest.java deleted file mode 100644 index be967f8d8b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberRequest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class RemovePhoneNumberRequest extends RpcAcsRequest { - - - private String instanceId; - - private String phoneNumberId; - public RemovePhoneNumberRequest() { - super("CCC", "2017-07-05", "RemovePhoneNumber", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getPhoneNumberId() { - return this.phoneNumberId; - } - - public void setPhoneNumberId(String phoneNumberId) { - this.phoneNumberId = phoneNumberId; - if(phoneNumberId != null){ - putQueryParameter("PhoneNumberId", phoneNumberId); - } - } - - @Override - public Class getResponseClass() { - return RemovePhoneNumberResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberResponse.java deleted file mode 100644 index 0ac235cbee..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemovePhoneNumberResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.RemovePhoneNumberResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class RemovePhoneNumberResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public RemovePhoneNumberResponse getInstance(UnmarshallerContext context) { - return RemovePhoneNumberResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupRequest.java deleted file mode 100644 index 12074a6a49..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupRequest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class RemoveUsersFromSkillGroupRequest extends RpcAcsRequest { - - - private List userIds; - - private String instanceId; - - private String skillGroupId; - public RemoveUsersFromSkillGroupRequest() { - super("CCC", "2017-07-05", "RemoveUsersFromSkillGroup", "CCC"); - 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 List getUserIds() { - return this.userIds; - } - - public void setUserIds(List userIds) { - this.userIds = userIds; - if (userIds != null) { - for (int i = 0; i < userIds.size(); i++) { - putQueryParameter("UserId." + (i + 1) , userIds.get(i)); - } - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - - @Override - public Class getResponseClass() { - return RemoveUsersFromSkillGroupResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupResponse.java deleted file mode 100644 index 0c142e0e95..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersFromSkillGroupResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.RemoveUsersFromSkillGroupResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class RemoveUsersFromSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public RemoveUsersFromSkillGroupResponse getInstance(UnmarshallerContext context) { - return RemoveUsersFromSkillGroupResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersRequest.java deleted file mode 100644 index cd90633a63..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersRequest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class RemoveUsersRequest extends RpcAcsRequest { - - - private String instanceId; - - private List userIds; - public RemoveUsersRequest() { - super("CCC", "2017-07-05", "RemoveUsers", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getUserIds() { - return this.userIds; - } - - public void setUserIds(List userIds) { - this.userIds = userIds; - if (userIds != null) { - for (int i = 0; i < userIds.size(); i++) { - putQueryParameter("UserId." + (i + 1) , userIds.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return RemoveUsersResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoResponse.java deleted file mode 100644 index e8b5bdd4bd..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoResponse.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.RequestLoginInfoResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class RequestLoginInfoResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - private LoginInfo loginInfo; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public LoginInfo getLoginInfo() { - return this.loginInfo; - } - - public void setLoginInfo(LoginInfo loginInfo) { - this.loginInfo = loginInfo; - } - - public static class LoginInfo { - - private String displayName; - - private String signature; - - private String extension; - - private String signData; - - private String phoneNumber; - - private String region; - - private String agentServerUrl; - - private String userName; - - private String webRtcUrl; - - private String tenantId; - - private List roles; - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getSignature() { - return this.signature; - } - - public void setSignature(String signature) { - this.signature = signature; - } - - public String getExtension() { - return this.extension; - } - - public void setExtension(String extension) { - this.extension = extension; - } - - public String getSignData() { - return this.signData; - } - - public void setSignData(String signData) { - this.signData = signData; - } - - public String getPhoneNumber() { - return this.phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - public String getRegion() { - return this.region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getAgentServerUrl() { - return this.agentServerUrl; - } - - public void setAgentServerUrl(String agentServerUrl) { - this.agentServerUrl = agentServerUrl; - } - - public String getUserName() { - return this.userName; - } - - public void setUserName(String userName) { - this.userName = userName; - } - - public String getWebRtcUrl() { - return this.webRtcUrl; - } - - public void setWebRtcUrl(String webRtcUrl) { - this.webRtcUrl = webRtcUrl; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - public static class Role { - - private String instanceId; - - private String roleName; - - private String roleDescription; - - private String roleId; - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - } - - public String getRoleName() { - return this.roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRoleDescription() { - return this.roleDescription; - } - - public void setRoleDescription(String roleDescription) { - this.roleDescription = roleDescription; - } - - public String getRoleId() { - return this.roleId; - } - - public void setRoleId(String roleId) { - this.roleId = roleId; - } - } - } - - @Override - public RequestLoginInfoResponse getInstance(UnmarshallerContext context) { - return RequestLoginInfoResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusRequest.java deleted file mode 100644 index 79c175b20a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusRequest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class ResetUserStatusRequest extends RpcAcsRequest { - - - private String instanceId; - - private List ramIdLists; - public ResetUserStatusRequest() { - super("CCC", "2017-07-05", "ResetUserStatus", "CCC"); - 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 getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public List getRamIdLists() { - return this.ramIdLists; - } - - public void setRamIdLists(List ramIdLists) { - this.ramIdLists = ramIdLists; - if (ramIdLists != null) { - for (int i = 0; i < ramIdLists.size(); i++) { - putQueryParameter("RamIdList." + (i + 1) , ramIdLists.get(i)); - } - } - } - - @Override - public Class getResponseClass() { - return ResetUserStatusResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusResponse.java deleted file mode 100644 index a0828b40e4..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ResetUserStatusResponse.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ResetUserStatusResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ResetUserStatusResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; - - private String requestId; - - private Boolean success; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - 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 Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - @Override - public ResetUserStatusResponse getInstance(UnmarshallerContext context) { - return ResetUserStatusResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsRequest.java deleted file mode 100644 index e2051e5965..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsRequest.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class SaveWebRTCStatsRequest extends RpcAcsRequest { - - - private String callId; - - private Long recordTime; - - private Long callStartTime; - - private String uid; - - private String instanceId; - - private String stats; - - private String tenantId; - - private String calleeNumber; - - private String callerNumber; - public SaveWebRTCStatsRequest() { - super("CCC", "2017-07-05", "SaveWebRTCStats", "CCC"); - 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 getRecordTime() { - return this.recordTime; - } - - public void setRecordTime(Long recordTime) { - this.recordTime = recordTime; - if(recordTime != null){ - putQueryParameter("RecordTime", recordTime.toString()); - } - } - - public Long getCallStartTime() { - return this.callStartTime; - } - - public void setCallStartTime(Long callStartTime) { - this.callStartTime = callStartTime; - if(callStartTime != null){ - putQueryParameter("CallStartTime", callStartTime.toString()); - } - } - - public String getUid() { - return this.uid; - } - - public void setUid(String uid) { - this.uid = uid; - if(uid != null){ - putQueryParameter("Uid", uid); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getStats() { - return this.stats; - } - - public void setStats(String stats) { - this.stats = stats; - if(stats != null){ - putQueryParameter("Stats", stats); - } - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - if(tenantId != null){ - putQueryParameter("TenantId", tenantId); - } - } - - public String getCalleeNumber() { - return this.calleeNumber; - } - - public void setCalleeNumber(String calleeNumber) { - this.calleeNumber = calleeNumber; - if(calleeNumber != null){ - putQueryParameter("CalleeNumber", calleeNumber); - } - } - - public String getCallerNumber() { - return this.callerNumber; - } - - public void setCallerNumber(String callerNumber) { - this.callerNumber = callerNumber; - if(callerNumber != null){ - putQueryParameter("CallerNumber", callerNumber); - } - } - - @Override - public Class getResponseClass() { - return SaveWebRTCStatsResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsResponse.java deleted file mode 100644 index ee546b4b40..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SaveWebRTCStatsResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.SaveWebRTCStatsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class SaveWebRTCStatsResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - private Long rowCount; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public Long getRowCount() { - return this.rowCount; - } - - public void setRowCount(Long rowCount) { - this.rowCount = rowCount; - } - - @Override - public SaveWebRTCStatsResponse getInstance(UnmarshallerContext context) { - return SaveWebRTCStatsResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageRequest.java deleted file mode 100644 index 81edde1102..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class SendPredefinedShortMessageRequest extends RpcAcsRequest { - - - private String phoneNumbers; - - private String instanceId; - - private Long configId; - - private String templateParam; - public SendPredefinedShortMessageRequest() { - super("CCC", "2017-07-05", "SendPredefinedShortMessage", "CCC"); - 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 getPhoneNumbers() { - return this.phoneNumbers; - } - - public void setPhoneNumbers(String phoneNumbers) { - this.phoneNumbers = phoneNumbers; - if(phoneNumbers != null){ - putQueryParameter("PhoneNumbers", phoneNumbers); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public Long getConfigId() { - return this.configId; - } - - public void setConfigId(Long configId) { - this.configId = configId; - if(configId != null){ - putQueryParameter("ConfigId", configId.toString()); - } - } - - public String getTemplateParam() { - return this.templateParam; - } - - public void setTemplateParam(String templateParam) { - this.templateParam = templateParam; - if(templateParam != null){ - putQueryParameter("TemplateParam", templateParam); - } - } - - @Override - public Class getResponseClass() { - return SendPredefinedShortMessageResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageResponse.java deleted file mode 100644 index f7da2c7ea7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/SendPredefinedShortMessageResponse.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.SendPredefinedShortMessageResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class SendPredefinedShortMessageResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String code; - - private String message; - - private String bizId; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getBizId() { - return this.bizId; - } - - public void setBizId(String bizId) { - this.bizId = bizId; - } - - @Override - public SendPredefinedShortMessageResponse getInstance(UnmarshallerContext context) { - return SendPredefinedShortMessageResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallRequest.java deleted file mode 100644 index 227fced92e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallRequest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; -import com.aliyuncs.ccc.Endpoint; - -/** - * @author auto create - * @version - */ -public class StartBack2BackCallRequest extends RpcAcsRequest { - - - private String callCenterNumber; - - private String callee; - - private String caller; - - private String instanceId; - - private String workflowId; - public StartBack2BackCallRequest() { - super("CCC", "2017-07-05", "StartBack2BackCall", "CCC"); - 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 getCallCenterNumber() { - return this.callCenterNumber; - } - - public void setCallCenterNumber(String callCenterNumber) { - this.callCenterNumber = callCenterNumber; - if(callCenterNumber != null){ - putQueryParameter("CallCenterNumber", callCenterNumber); - } - } - - public String getCallee() { - return this.callee; - } - - public void setCallee(String callee) { - this.callee = callee; - if(callee != null){ - putQueryParameter("Callee", callee); - } - } - - public String getCaller() { - return this.caller; - } - - public void setCaller(String caller) { - this.caller = caller; - if(caller != null){ - putQueryParameter("Caller", caller); - } - } - - public String getInstanceId() { - return this.instanceId; - } - - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); - } - } - - public String getWorkflowId() { - return this.workflowId; - } - - public void setWorkflowId(String workflowId) { - this.workflowId = workflowId; - if(workflowId != null){ - putQueryParameter("WorkflowId", workflowId); - } - } - - @Override - public Class getResponseClass() { - return StartBack2BackCallResponse.class; - } - -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallResponse.java deleted file mode 100644 index bdfe5878a3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/StartBack2BackCallResponse.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * 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.ccc.model.v20170705; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.StartBack2BackCallResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class StartBack2BackCallResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String requestId; - - private Boolean success; - - private String statusCode; - - private String code; - - private String message; - - private String timeStamp; - - private String taskId; - - private String statusDesc; - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getStatusCode() { - return this.statusCode; - } - - public void setStatusCode(String statusCode) { - this.statusCode = statusCode; - } - - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getTimeStamp() { - return this.timeStamp; - } - - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - public String getTaskId() { - return this.taskId; - } - - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public String getStatusDesc() { - return this.statusDesc; - } - - public void setStatusDesc(String statusDesc) { - this.statusDesc = statusDesc; - } - - @Override - public StartBack2BackCallResponse getInstance(UnmarshallerContext context) { - return StartBack2BackCallResponseUnmarshaller.unmarshall(this, context); - } -} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatRequest.java similarity index 71% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatRequest.java index fc237cc2be..39c0019739 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetUserRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class GetUserRequest extends RpcAcsRequest { +public class AcceptChatRequest extends RpcAcsRequest { - private String instanceId; + private String jobId; - private String userId; - public GetUserRequest() { - super("CCC", "2017-07-05", "GetUser", "CCC"); + private String instanceId; + public AcceptChatRequest() { + super("CCC", "2020-07-01", "AcceptChat", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,6 +37,17 @@ public GetUserRequest() { } catch (Exception e) {} } + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); + } + } + public String getInstanceId() { return this.instanceId; } @@ -46,22 +57,11 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } - } - - public String getUserId() { - return this.userId; - } - - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); - } } @Override - public Class getResponseClass() { - return GetUserResponse.class; + public Class getResponseClass() { + return AcceptChatResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatResponse.java similarity index 73% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatResponse.java index 0e0f25332b..9237c0fba8 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyUserResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AcceptChatResponse.java @@ -12,27 +12,33 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyUserResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.AcceptChatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ModifyUserResponse extends AcsResponse { - - private Integer httpStatusCode; +public class AcceptChatResponse extends AcsResponse { private String code; + private Integer httpStatusCode; + private String message; private String requestId; - private Boolean success; + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -42,14 +48,6 @@ public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - public String getMessage() { return this.message; } @@ -66,16 +64,13 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; + @Override + public AcceptChatResponse getInstance(UnmarshallerContext context) { + return AcceptChatResponseUnmarshaller.unmarshall(this, context); } @Override - public ModifyUserResponse getInstance(UnmarshallerContext context) { - return ModifyUserResponseUnmarshaller.unmarshall(this, context); + public boolean checkShowJsonItemName() { + return false; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskRequest.java new file mode 100644 index 0000000000..c293969412 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskRequest.java @@ -0,0 +1,119 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class AddTicketTaskRequest extends RpcAcsRequest { + + + private String instanceId; + + private String comment; + + private String assignee; + + private String position; + + private String ticketId; + + private String taskId; + public AddTicketTaskRequest() { + super("CCC", "2020-07-01", "AddTicketTask", "CCC"); + 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 getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); + } + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + if(assignee != null){ + putQueryParameter("Assignee", assignee); + } + } + + public String getPosition() { + return this.position; + } + + public void setPosition(String position) { + this.position = position; + if(position != null){ + putQueryParameter("Position", position); + } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); + } + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + @Override + public Class getResponseClass() { + return AddTicketTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskResponse.java new file mode 100644 index 0000000000..014a7bd86c --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/AddTicketTaskResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.AddTicketTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddTicketTaskResponse extends AcsResponse { + + @Override + public AddTicketTaskResponse getInstance(UnmarshallerContext context) { + return AddTicketTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatRequest.java similarity index 74% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatRequest.java index 984e97e777..92a94c01cd 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteSkillGroupRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,16 @@ * @author auto create * @version */ -public class DeleteSkillGroupRequest extends RpcAcsRequest { +public class ClaimChatRequest extends RpcAcsRequest { + private String jobId; + private String instanceId; private String skillGroupId; - public DeleteSkillGroupRequest() { - super("CCC", "2017-07-05", "DeleteSkillGroup", "CCC"); + public ClaimChatRequest() { + super("CCC", "2020-07-01", "ClaimChat", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,6 +39,17 @@ public DeleteSkillGroupRequest() { } catch (Exception e) {} } + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); + } + } + public String getInstanceId() { return this.instanceId; } @@ -60,8 +73,8 @@ public void setSkillGroupId(String skillGroupId) { } @Override - public Class getResponseClass() { - return DeleteSkillGroupResponse.class; + public Class getResponseClass() { + return ClaimChatResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatResponse.java new file mode 100644 index 0000000000..6538fb5427 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ClaimChatResponse.java @@ -0,0 +1,356 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ClaimChatResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ClaimChatResponse extends AcsResponse { + + private String code; + + private Integer httpStatusCode; + + private String message; + + private String requestId; + + private List params; + + private Data data; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Long contextId; + + private List chatContexts; + + private UserContext userContext; + + public Long getContextId() { + return this.contextId; + } + + public void setContextId(Long contextId) { + this.contextId = contextId; + } + + public List getChatContexts() { + return this.chatContexts; + } + + public void setChatContexts(List chatContexts) { + this.chatContexts = chatContexts; + } + + public UserContext getUserContext() { + return this.userContext; + } + + public void setUserContext(UserContext userContext) { + this.userContext = userContext; + } + + public static class ChatContext { + + private String instanceId; + + private String jobId; + + private String chatType; + + private String callVariables; + + private String accessChannelId; + + private String accessChannelType; + + private String accessChannelName; + + private Boolean beingAssigned; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public String getChatType() { + return this.chatType; + } + + public void setChatType(String chatType) { + this.chatType = chatType; + } + + public String getCallVariables() { + return this.callVariables; + } + + public void setCallVariables(String callVariables) { + this.callVariables = callVariables; + } + + public String getAccessChannelId() { + return this.accessChannelId; + } + + public void setAccessChannelId(String accessChannelId) { + this.accessChannelId = accessChannelId; + } + + public String getAccessChannelType() { + return this.accessChannelType; + } + + public void setAccessChannelType(String accessChannelType) { + this.accessChannelType = accessChannelType; + } + + public String getAccessChannelName() { + return this.accessChannelName; + } + + public void setAccessChannelName(String accessChannelName) { + this.accessChannelName = accessChannelName; + } + + public Boolean getBeingAssigned() { + return this.beingAssigned; + } + + public void setBeingAssigned(Boolean beingAssigned) { + this.beingAssigned = beingAssigned; + } + } + + public static class UserContext { + + private Long heartbeat; + + private String extension; + + private String workMode; + + private String deviceId; + + private String userId; + + private Long reserved; + + private String breakCode; + + private String instanceId; + + private Boolean outboundScenario; + + private String deviceState; + + private String mobile; + + private String jobId; + + private String userState; + + private List signedSkillGroupIdList; + + public Long getHeartbeat() { + return this.heartbeat; + } + + public void setHeartbeat(Long heartbeat) { + this.heartbeat = heartbeat; + } + + public String getExtension() { + return this.extension; + } + + public void setExtension(String extension) { + this.extension = extension; + } + + public String getWorkMode() { + return this.workMode; + } + + public void setWorkMode(String workMode) { + this.workMode = workMode; + } + + public String getDeviceId() { + return this.deviceId; + } + + public void setDeviceId(String deviceId) { + this.deviceId = deviceId; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public Long getReserved() { + return this.reserved; + } + + public void setReserved(Long reserved) { + this.reserved = reserved; + } + + public String getBreakCode() { + return this.breakCode; + } + + public void setBreakCode(String breakCode) { + this.breakCode = breakCode; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public Boolean getOutboundScenario() { + return this.outboundScenario; + } + + public void setOutboundScenario(Boolean outboundScenario) { + this.outboundScenario = outboundScenario; + } + + public String getDeviceState() { + return this.deviceState; + } + + public void setDeviceState(String deviceState) { + this.deviceState = deviceState; + } + + public String getMobile() { + return this.mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public String getUserState() { + return this.userState; + } + + public void setUserState(String userState) { + this.userState = userState; + } + + public List getSignedSkillGroupIdList() { + return this.signedSkillGroupIdList; + } + + public void setSignedSkillGroupIdList(List signedSkillGroupIdList) { + this.signedSkillGroupIdList = signedSkillGroupIdList; + } + } + } + + @Override + public ClaimChatResponse getInstance(UnmarshallerContext context) { + return ClaimChatResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketRequest.java similarity index 50% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketRequest.java index c6f53b67c5..6af8399ab8 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConversationDetailByContactIdRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,24 @@ * @author auto create * @version */ -public class GetConversationDetailByContactIdRequest extends RpcAcsRequest { +public class CreateTicketRequest extends RpcAcsRequest { private String contactId; - private Integer pageNumber; + private String source; + + private String templateId; + + private String title; private String instanceId; - private Integer pageSize; - public GetConversationDetailByContactIdRequest() { - super("CCC", "2017-07-05", "GetConversationDetailByContactId", "CCC"); + private String customerId; + + private String context; + public CreateTicketRequest() { + super("CCC", "2020-07-01", "CreateTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -52,14 +58,36 @@ public void setContactId(String contactId) { } } - public Integer getPageNumber() { - return this.pageNumber; + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + if(source != null){ + putQueryParameter("Source", source); + } + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + if(templateId != null){ + putQueryParameter("TemplateId", templateId); + } + } + + public String getTitle() { + return this.title; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setTitle(String title) { + this.title = title; + if(title != null){ + putQueryParameter("Title", title); } } @@ -74,20 +102,31 @@ public void setInstanceId(String instanceId) { } } - public Integer getPageSize() { - return this.pageSize; + public String getCustomerId() { + return this.customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + if(customerId != null){ + putQueryParameter("CustomerId", customerId); + } + } + + public String getContext() { + return this.context; } - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); + public void setContext(String context) { + this.context = context; + if(context != null){ + putQueryParameter("Context", context); } } @Override - public Class getResponseClass() { - return GetConversationDetailByContactIdResponse.class; + public Class getResponseClass() { + return CreateTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketResponse.java similarity index 74% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketResponse.java index 61a941b014..d287a02a65 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/AddPhoneTagsResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/CreateTicketResponse.java @@ -12,17 +12,17 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.AddPhoneTagsResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.CreateTicketResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class AddPhoneTagsResponse extends AcsResponse { +public class CreateTicketResponse extends AcsResponse { private Integer httpStatusCode; @@ -32,7 +32,7 @@ public class AddPhoneTagsResponse extends AcsResponse { private String requestId; - private Boolean success; + private String data; public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -66,17 +66,17 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public Boolean getSuccess() { - return this.success; + public String getData() { + return this.data; } - public void setSuccess(Boolean success) { - this.success = success; + public void setData(String data) { + this.data = data; } @Override - public AddPhoneTagsResponse getInstance(UnmarshallerContext context) { - return AddPhoneTagsResponseUnmarshaller.unmarshall(this, context); + public CreateTicketResponse getInstance(UnmarshallerContext context) { + return CreateTicketResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketRequest.java similarity index 70% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketRequest.java index 64bfba6ed3..33e60fbf0c 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RequestLoginInfoRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class RequestLoginInfoRequest extends RpcAcsRequest { +public class DeleteTicketRequest extends RpcAcsRequest { private String instanceId; - private String userId; - public RequestLoginInfoRequest() { - super("CCC", "2017-07-05", "RequestLoginInfo", "CCC"); + private String ticketId; + public DeleteTicketRequest() { + super("CCC", "2020-07-01", "DeleteTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -48,20 +48,20 @@ public void setInstanceId(String instanceId) { } } - public String getUserId() { - return this.userId; + public String getTicketId() { + return this.ticketId; } - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } @Override - public Class getResponseClass() { - return RequestLoginInfoResponse.class; + public Class getResponseClass() { + return DeleteTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketResponse.java new file mode 100644 index 0000000000..56148e4d7f --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.DeleteTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteTicketResponse extends AcsResponse { + + @Override + public DeleteTicketResponse getInstance(UnmarshallerContext context) { + return DeleteTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateRequest.java similarity index 67% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateRequest.java index 73c013cd23..1ac2e0d8c4 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetNumberRegionInfoRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class GetNumberRegionInfoRequest extends RpcAcsRequest { +public class DeleteTicketTemplateRequest extends RpcAcsRequest { - private String number; + private String instanceId; - private String instanceId; - public GetNumberRegionInfoRequest() { - super("CCC", "2017-07-05", "GetNumberRegionInfo", "CCC"); + private String templateId; + public DeleteTicketTemplateRequest() { + super("CCC", "2020-07-01", "DeleteTicketTemplate", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,17 +37,6 @@ public GetNumberRegionInfoRequest() { } catch (Exception e) {} } - public String getNumber() { - return this.number; - } - - public void setNumber(String number) { - this.number = number; - if(number != null){ - putQueryParameter("Number", number); - } - } - public String getInstanceId() { return this.instanceId; } @@ -57,11 +46,22 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + if(templateId != null){ + putQueryParameter("TemplateId", templateId); + } } @Override - public Class getResponseClass() { - return GetNumberRegionInfoResponse.class; + public Class getResponseClass() { + return DeleteTicketTemplateResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateResponse.java new file mode 100644 index 0000000000..028e2d5336 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DeleteTicketTemplateResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.DeleteTicketTemplateResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteTicketTemplateResponse extends AcsResponse { + + @Override + public DeleteTicketTemplateResponse getInstance(UnmarshallerContext context) { + return DeleteTicketTemplateResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateRequest.java similarity index 67% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateRequest.java index 75714efc29..6a60c099d9 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupsOfUserRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class ListSkillGroupsOfUserRequest extends RpcAcsRequest { +public class DisableTicketTemplateRequest extends RpcAcsRequest { private String instanceId; - private String userId; - public ListSkillGroupsOfUserRequest() { - super("CCC", "2017-07-05", "ListSkillGroupsOfUser", "CCC"); + private String templateId; + public DisableTicketTemplateRequest() { + super("CCC", "2020-07-01", "DisableTicketTemplate", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -48,20 +48,20 @@ public void setInstanceId(String instanceId) { } } - public String getUserId() { - return this.userId; + public String getTemplateId() { + return this.templateId; } - public void setUserId(String userId) { - this.userId = userId; - if(userId != null){ - putQueryParameter("UserId", userId); + public void setTemplateId(String templateId) { + this.templateId = templateId; + if(templateId != null){ + putQueryParameter("TemplateId", templateId); } } @Override - public Class getResponseClass() { - return ListSkillGroupsOfUserResponse.class; + public Class getResponseClass() { + return DisableTicketTemplateResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateResponse.java new file mode 100644 index 0000000000..856cfbd7d8 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/DisableTicketTemplateResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.DisableTicketTemplateResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DisableTicketTemplateResponse extends AcsResponse { + + @Override + public DisableTicketTemplateResponse getInstance(UnmarshallerContext context) { + return DisableTicketTemplateResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateRequest.java similarity index 67% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateRequest.java index 074b88f65b..c940cd971a 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetRecordOssUploadParamRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class GetRecordOssUploadParamRequest extends RpcAcsRequest { +public class EnableTicketTemplateRequest extends RpcAcsRequest { private String instanceId; - private String fileName; - public GetRecordOssUploadParamRequest() { - super("CCC", "2017-07-05", "GetRecordOssUploadParam", "CCC"); + private String templateId; + public EnableTicketTemplateRequest() { + super("CCC", "2020-07-01", "EnableTicketTemplate", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -48,20 +48,20 @@ public void setInstanceId(String instanceId) { } } - public String getFileName() { - return this.fileName; + public String getTemplateId() { + return this.templateId; } - public void setFileName(String fileName) { - this.fileName = fileName; - if(fileName != null){ - putQueryParameter("FileName", fileName); + public void setTemplateId(String templateId) { + this.templateId = templateId; + if(templateId != null){ + putQueryParameter("TemplateId", templateId); } } @Override - public Class getResponseClass() { - return GetRecordOssUploadParamResponse.class; + public Class getResponseClass() { + return EnableTicketTemplateResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateResponse.java new file mode 100644 index 0000000000..292a36379d --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/EnableTicketTemplateResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.EnableTicketTemplateResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class EnableTicketTemplateResponse extends AcsResponse { + + @Override + public EnableTicketTemplateResponse getInstance(UnmarshallerContext context) { + return EnableTicketTemplateResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskRequest.java similarity index 56% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskRequest.java index d81e9ab9b3..d964807353 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetConfigRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,18 @@ * @author auto create * @version */ -public class GetConfigRequest extends RpcAcsRequest { +public class FinishTicketTaskRequest extends RpcAcsRequest { private String instanceId; - private String name; + private String comment; - private String objectType; + private String ticketId; - private String objectId; - public GetConfigRequest() { - super("CCC", "2017-07-05", "GetConfig", "CCC"); + private String taskId; + public FinishTicketTaskRequest() { + super("CCC", "2020-07-01", "FinishTicketTask", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -52,42 +52,42 @@ public void setInstanceId(String instanceId) { } } - public String getName() { - return this.name; + public String getComment() { + return this.comment; } - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); } } - public String getObjectType() { - return this.objectType; + public String getTicketId() { + return this.ticketId; } - public void setObjectType(String objectType) { - this.objectType = objectType; - if(objectType != null){ - putQueryParameter("ObjectType", objectType); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } - public String getObjectId() { - return this.objectId; + public String getTaskId() { + return this.taskId; } - public void setObjectId(String objectId) { - this.objectId = objectId; - if(objectId != null){ - putQueryParameter("ObjectId", objectId); + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); } } @Override - public Class getResponseClass() { - return GetConfigResponse.class; + public Class getResponseClass() { + return FinishTicketTaskResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskResponse.java new file mode 100644 index 0000000000..bedaf75b28 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/FinishTicketTaskResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.FinishTicketTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class FinishTicketTaskResponse extends AcsResponse { + + @Override + public FinishTicketTaskResponse getInstance(UnmarshallerContext context) { + return FinishTicketTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetCampaignResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetCampaignResponse.java index a6967f16e1..625eed16e4 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetCampaignResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetCampaignResponse.java @@ -110,6 +110,8 @@ public static class Data { private Float completionRate; + private String contactFlowId; + public Long getActualEndTime() { return this.actualEndTime; } @@ -285,6 +287,14 @@ public Float getCompletionRate() { public void setCompletionRate(Float completionRate) { this.completionRate = completionRate; } + + public String getContactFlowId() { + return this.contactFlowId; + } + + public void setContactFlowId(String contactFlowId) { + this.contactFlowId = contactFlowId; + } } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlRequest.java similarity index 59% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlRequest.java index 60e99c957a..257b45a201 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,16 +22,16 @@ * @author auto create * @version */ -public class ListUsersRequest extends RpcAcsRequest { +public class GetChatMediaUrlRequest extends RpcAcsRequest { - private Integer pageNumber; + private String mediaId; private String instanceId; - private Integer pageSize; - public ListUsersRequest() { - super("CCC", "2017-07-05", "ListUsers", "CCC"); + private String requestId; + public GetChatMediaUrlRequest() { + super("CCC", "2020-07-01", "GetChatMediaUrl", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -39,14 +39,14 @@ public ListUsersRequest() { } catch (Exception e) {} } - public Integer getPageNumber() { - return this.pageNumber; + public String getMediaId() { + return this.mediaId; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setMediaId(String mediaId) { + this.mediaId = mediaId; + if(mediaId != null){ + putBodyParameter("MediaId", mediaId); } } @@ -57,24 +57,24 @@ public String getInstanceId() { public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); + putBodyParameter("InstanceId", instanceId); } } - public Integer getPageSize() { - return this.pageSize; + public String getRequestId() { + return this.requestId; } - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); + public void setRequestId(String requestId) { + this.requestId = requestId; + if(requestId != null){ + putBodyParameter("RequestId", requestId); } } @Override - public Class getResponseClass() { - return ListUsersResponse.class; + public Class getResponseClass() { + return GetChatMediaUrlResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlResponse.java similarity index 68% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlResponse.java index 9a9751dc2d..7ad0e628a3 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyPhoneTagsResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetChatMediaUrlResponse.java @@ -12,17 +12,22 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; - +package com.aliyuncs.ccc.model.v20200701; + +import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyPhoneTagsResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.GetChatMediaUrlResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ModifyPhoneTagsResponse extends AcsResponse { +public class GetChatMediaUrlResponse extends AcsResponse { + + private String data; + + private String requestId; private Integer httpStatusCode; @@ -30,9 +35,23 @@ public class ModifyPhoneTagsResponse extends AcsResponse { private String message; - private String requestId; + private List params; - private Boolean success; + public String getData() { + return this.data; + } + + public void setData(String data) { + this.data = data; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -58,25 +77,17 @@ public void setMessage(String message) { this.message = message; } - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; + public List getParams() { + return this.params; } - public void setSuccess(Boolean success) { - this.success = success; + public void setParams(List params) { + this.params = params; } @Override - public ModifyPhoneTagsResponse getInstance(UnmarshallerContext context) { - return ModifyPhoneTagsResponseUnmarshaller.unmarshall(this, context); + public GetChatMediaUrlResponse getInstance(UnmarshallerContext context) { + return GetChatMediaUrlResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketRequest.java similarity index 71% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketRequest.java index 8012e96045..f9be60b135 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/LaunchAppraiseRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class LaunchAppraiseRequest extends RpcAcsRequest { +public class GetTicketRequest extends RpcAcsRequest { - private String acid; + private String instanceId; - private String instanceId; - public LaunchAppraiseRequest() { - super("CCC", "2017-07-05", "LaunchAppraise", "CCC"); + private String ticketId; + public GetTicketRequest() { + super("CCC", "2020-07-01", "GetTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,17 +37,6 @@ public LaunchAppraiseRequest() { } catch (Exception e) {} } - public String getAcid() { - return this.acid; - } - - public void setAcid(String acid) { - this.acid = acid; - if(acid != null){ - putQueryParameter("Acid", acid); - } - } - public String getInstanceId() { return this.instanceId; } @@ -57,11 +46,22 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); + } } @Override - public Class getResponseClass() { - return LaunchAppraiseResponse.class; + public Class getResponseClass() { + return GetTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketResponse.java new file mode 100644 index 0000000000..31642dbb05 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketResponse.java @@ -0,0 +1,350 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.GetTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTicketResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List params; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String instanceId; + + private String ticketId; + + private String templateId; + + private String templateVersion; + + private String title; + + private String context; + + private String assignee; + + private String assigneeName; + + private String creator; + + private String creatorName; + + private String categoryId; + + private String categoryName; + + private String jobId; + + private Long startTime; + + private Long endTime; + + private Long createdTime; + + private Long updatedTime; + + private String currentTaskId; + + private String currentTaskName; + + private Long currentTaskStartTime; + + private String source; + + private String customerId; + + private String state; + + private String closeCode; + + private String comment; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getTemplateVersion() { + return this.templateVersion; + } + + public void setTemplateVersion(String templateVersion) { + this.templateVersion = templateVersion; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getContext() { + return this.context; + } + + public void setContext(String context) { + this.context = context; + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + } + + public String getAssigneeName() { + return this.assigneeName; + } + + public void setAssigneeName(String assigneeName) { + this.assigneeName = assigneeName; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getCreatorName() { + return this.creatorName; + } + + public void setCreatorName(String creatorName) { + this.creatorName = creatorName; + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getCategoryName() { + return this.categoryName; + } + + public void setCategoryName(String categoryName) { + this.categoryName = categoryName; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public Long getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(Long createdTime) { + this.createdTime = createdTime; + } + + public Long getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(Long updatedTime) { + this.updatedTime = updatedTime; + } + + public String getCurrentTaskId() { + return this.currentTaskId; + } + + public void setCurrentTaskId(String currentTaskId) { + this.currentTaskId = currentTaskId; + } + + public String getCurrentTaskName() { + return this.currentTaskName; + } + + public void setCurrentTaskName(String currentTaskName) { + this.currentTaskName = currentTaskName; + } + + public Long getCurrentTaskStartTime() { + return this.currentTaskStartTime; + } + + public void setCurrentTaskStartTime(Long currentTaskStartTime) { + this.currentTaskStartTime = currentTaskStartTime; + } + + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + } + + public String getCustomerId() { + return this.customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getCloseCode() { + return this.closeCode; + } + + public void setCloseCode(String closeCode) { + this.closeCode = closeCode; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + } + + @Override + public GetTicketResponse getInstance(UnmarshallerContext context) { + return GetTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportRequest.java similarity index 54% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportRequest.java index 31e7fee405..1e1eef0a91 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStateLogsRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,22 +22,32 @@ * @author auto create * @version */ -public class ListAgentStateLogsRequest extends RpcAcsRequest { +public class GetTicketSummaryReportRequest extends RpcAcsRequest { + private String creator; + + private String assigneeType; + private Long endTime; private Long startTime; - private Long ramId; + private String participant; private Integer pageNumber; private String instanceId; - private Integer pageSize; - public ListAgentStateLogsRequest() { - super("CCC", "2017-07-05", "ListAgentStateLogs", "CCC"); + private Integer pageSize; + + private String state; + + private String assignee; + + private String categoryId; + public GetTicketSummaryReportRequest() { + super("CCC", "2020-07-01", "GetTicketSummaryReport", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -45,6 +55,28 @@ public ListAgentStateLogsRequest() { } catch (Exception e) {} } + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + if(creator != null){ + putQueryParameter("Creator", creator); + } + } + + public String getAssigneeType() { + return this.assigneeType; + } + + public void setAssigneeType(String assigneeType) { + this.assigneeType = assigneeType; + if(assigneeType != null){ + putQueryParameter("AssigneeType", assigneeType); + } + } + public Long getEndTime() { return this.endTime; } @@ -67,14 +99,14 @@ public void setStartTime(Long startTime) { } } - public Long getRamId() { - return this.ramId; + public String getParticipant() { + return this.participant; } - public void setRamId(Long ramId) { - this.ramId = ramId; - if(ramId != null){ - putQueryParameter("RamId", ramId.toString()); + public void setParticipant(String participant) { + this.participant = participant; + if(participant != null){ + putQueryParameter("Participant", participant); } } @@ -109,11 +141,44 @@ public void setPageSize(Integer pageSize) { if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + if(state != null){ + putQueryParameter("State", state); + } + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + if(assignee != null){ + putQueryParameter("Assignee", assignee); + } + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + if(categoryId != null){ + putQueryParameter("CategoryId", categoryId); + } } @Override - public Class getResponseClass() { - return ListAgentStateLogsResponse.class; + public Class getResponseClass() { + return GetTicketSummaryReportResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportResponse.java similarity index 51% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportResponse.java index a04493c214..ec81e6fdd9 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunksOfSkillGroupResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketSummaryReportResponse.java @@ -12,45 +12,34 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; - -import java.util.List; +package com.aliyuncs.ccc.model.v20200701; + import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListTrunksOfSkillGroupResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.GetTicketSummaryReportResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ListTrunksOfSkillGroupResponse extends AcsResponse { - - private Integer httpStatusCode; - - private String code; - - private String message; +public class GetTicketSummaryReportResponse extends AcsResponse { private String requestId; - private Boolean success; + private String message; - private List trunkConfigs; + private Long httpStatusCode; - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } + private String code; - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } + private Data data; - public String getCode() { - return this.code; + public String getRequestId() { + return this.requestId; } - public void setCode(String code) { - this.code = code; + public void setRequestId(String requestId) { + this.requestId = requestId; } public String getMessage() { @@ -61,56 +50,66 @@ public void setMessage(String message) { this.message = message; } - public String getRequestId() { - return this.requestId; + public Long getHttpStatusCode() { + return this.httpStatusCode; } - public void setRequestId(String requestId) { - this.requestId = requestId; + public void setHttpStatusCode(Long httpStatusCode) { + this.httpStatusCode = httpStatusCode; } - public Boolean getSuccess() { - return this.success; + public String getCode() { + return this.code; } - public void setSuccess(Boolean success) { - this.success = success; + public void setCode(String code) { + this.code = code; } - public List getTrunkConfigs() { - return this.trunkConfigs; + public Data getData() { + return this.data; } - public void setTrunkConfigs(List trunkConfigs) { - this.trunkConfigs = trunkConfigs; + public void setData(Data data) { + this.data = data; } - public static class TrunkConfig { + public static class Data { + + private String ticketsCreated; - private String providerName; + private String ticketsParticipated; - private Boolean primary; + private String ticketsAssigned; + + public String getTicketsCreated() { + return this.ticketsCreated; + } + + public void setTicketsCreated(String ticketsCreated) { + this.ticketsCreated = ticketsCreated; + } - public String getProviderName() { - return this.providerName; + public String getTicketsParticipated() { + return this.ticketsParticipated; } - public void setProviderName(String providerName) { - this.providerName = providerName; + public void setTicketsParticipated(String ticketsParticipated) { + this.ticketsParticipated = ticketsParticipated; } - public Boolean getPrimary() { - return this.primary; + public String getTicketsAssigned() { + return this.ticketsAssigned; } - public void setPrimary(Boolean primary) { - this.primary = primary; + public void setTicketsAssigned(String ticketsAssigned) { + this.ticketsAssigned = ticketsAssigned; } } @Override - public ListTrunksOfSkillGroupResponse getInstance(UnmarshallerContext context) { - return ListTrunksOfSkillGroupResponseUnmarshaller.unmarshall(this, context); + public GetTicketSummaryReportResponse getInstance(UnmarshallerContext context) { + return GetTicketSummaryReportResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateRequest.java similarity index 59% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateRequest.java index 9312d8b199..63f4d46a0d 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadAllTypeRecordingRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,16 +22,16 @@ * @author auto create * @version */ -public class DownloadAllTypeRecordingRequest extends RpcAcsRequest { +public class GetTicketTemplateRequest extends RpcAcsRequest { - private String contactId; + private String templateVersion; - private String channel; + private String instanceId; - private String instanceId; - public DownloadAllTypeRecordingRequest() { - super("CCC", "2017-07-05", "DownloadAllTypeRecording", "CCC"); + private String templateId; + public GetTicketTemplateRequest() { + super("CCC", "2020-07-01", "GetTicketTemplate", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -39,25 +39,14 @@ public DownloadAllTypeRecordingRequest() { } catch (Exception e) {} } - public String getContactId() { - return this.contactId; + public String getTemplateVersion() { + return this.templateVersion; } - public void setContactId(String contactId) { - this.contactId = contactId; - if(contactId != null){ - putQueryParameter("ContactId", contactId); - } - } - - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - if(channel != null){ - putQueryParameter("Channel", channel); + public void setTemplateVersion(String templateVersion) { + this.templateVersion = templateVersion; + if(templateVersion != null){ + putQueryParameter("TemplateVersion", templateVersion); } } @@ -70,11 +59,22 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + if(templateId != null){ + putQueryParameter("TemplateId", templateId); + } } @Override - public Class getResponseClass() { - return DownloadAllTypeRecordingResponse.class; + public Class getResponseClass() { + return GetTicketTemplateResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateResponse.java new file mode 100644 index 0000000000..1e2dd020c3 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetTicketTemplateResponse.java @@ -0,0 +1,403 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.GetTicketTemplateResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTicketTemplateResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List params; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String instanceId; + + private String templateId; + + private String name; + + private String state; + + private String editor; + + private String categoryId; + + private String processDefinition; + + private Long updatedTime; + + private List ticketFields; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getEditor() { + return this.editor; + } + + public void setEditor(String editor) { + this.editor = editor; + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getProcessDefinition() { + return this.processDefinition; + } + + public void setProcessDefinition(String processDefinition) { + this.processDefinition = processDefinition; + } + + public Long getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(Long updatedTime) { + this.updatedTime = updatedTime; + } + + public List getTicketFields() { + return this.ticketFields; + } + + public void setTicketFields(List ticketFields) { + this.ticketFields = ticketFields; + } + + public static class TicketField { + + private String displayName; + + private String description; + + private String name; + + private String dataType; + + private String pattern; + + private String patternErrorMessage; + + private Integer minLength; + + private Integer maxLength; + + private Double minimum; + + private Double maximum; + + private Boolean required; + + private Boolean system; + + private Boolean disabled; + + private Boolean array; + + private Boolean readOnly; + + private String editorType; + + private String attributes; + + private Integer displayOrder; + + private Long createdTime; + + private Long updatedTime; + + private String creator; + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDataType() { + return this.dataType; + } + + public void setDataType(String dataType) { + this.dataType = dataType; + } + + public String getPattern() { + return this.pattern; + } + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + public String getPatternErrorMessage() { + return this.patternErrorMessage; + } + + public void setPatternErrorMessage(String patternErrorMessage) { + this.patternErrorMessage = patternErrorMessage; + } + + public Integer getMinLength() { + return this.minLength; + } + + public void setMinLength(Integer minLength) { + this.minLength = minLength; + } + + public Integer getMaxLength() { + return this.maxLength; + } + + public void setMaxLength(Integer maxLength) { + this.maxLength = maxLength; + } + + public Double getMinimum() { + return this.minimum; + } + + public void setMinimum(Double minimum) { + this.minimum = minimum; + } + + public Double getMaximum() { + return this.maximum; + } + + public void setMaximum(Double maximum) { + this.maximum = maximum; + } + + public Boolean getRequired() { + return this.required; + } + + public void setRequired(Boolean required) { + this.required = required; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Boolean getDisabled() { + return this.disabled; + } + + public void setDisabled(Boolean disabled) { + this.disabled = disabled; + } + + public Boolean getArray() { + return this.array; + } + + public void setArray(Boolean array) { + this.array = array; + } + + public Boolean getReadOnly() { + return this.readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public String getEditorType() { + return this.editorType; + } + + public void setEditorType(String editorType) { + this.editorType = editorType; + } + + public String getAttributes() { + return this.attributes; + } + + public void setAttributes(String attributes) { + this.attributes = attributes; + } + + public Integer getDisplayOrder() { + return this.displayOrder; + } + + public void setDisplayOrder(Integer displayOrder) { + this.displayOrder = displayOrder; + } + + public Long getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(Long createdTime) { + this.createdTime = createdTime; + } + + public Long getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(Long updatedTime) { + this.updatedTime = updatedTime; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + } + } + + @Override + public GetTicketTemplateResponse getInstance(UnmarshallerContext context) { + return GetTicketTemplateResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsRequest.java similarity index 54% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsRequest.java index 3086f075d9..c82c999f66 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/FindUsersRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,18 @@ * @author auto create * @version */ -public class FindUsersRequest extends RpcAcsRequest { +public class GetVisitorLoginDetailsRequest extends RpcAcsRequest { - private String criteria; + private String chatDeviceId; - private Integer pageNumber; + private String token; private String instanceId; - private Integer pageSize; - public FindUsersRequest() { - super("CCC", "2017-07-05", "FindUsers", "CCC"); + private String visitorId; + public GetVisitorLoginDetailsRequest() { + super("CCC", "2020-07-01", "GetVisitorLoginDetails", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -41,25 +41,25 @@ public FindUsersRequest() { } catch (Exception e) {} } - public String getCriteria() { - return this.criteria; + public String getChatDeviceId() { + return this.chatDeviceId; } - public void setCriteria(String criteria) { - this.criteria = criteria; - if(criteria != null){ - putQueryParameter("Criteria", criteria); + public void setChatDeviceId(String chatDeviceId) { + this.chatDeviceId = chatDeviceId; + if(chatDeviceId != null){ + putQueryParameter("ChatDeviceId", chatDeviceId); } } - public Integer getPageNumber() { - return this.pageNumber; + public String getToken() { + return this.token; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setToken(String token) { + this.token = token; + if(token != null){ + putQueryParameter("Token", token); } } @@ -74,20 +74,20 @@ public void setInstanceId(String instanceId) { } } - public Integer getPageSize() { - return this.pageSize; + public String getVisitorId() { + return this.visitorId; } - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); + public void setVisitorId(String visitorId) { + this.visitorId = visitorId; + if(visitorId != null){ + putQueryParameter("VisitorId", visitorId); } } @Override - public Class getResponseClass() { - return FindUsersResponse.class; + public Class getResponseClass() { + return GetVisitorLoginDetailsResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsResponse.java new file mode 100644 index 0000000000..f548f8af2c --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/GetVisitorLoginDetailsResponse.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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.GetVisitorLoginDetailsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetVisitorLoginDetailsResponse extends AcsResponse { + + private String code; + + private Integer httpStatusCode; + + private String message; + + private String requestId; + + private List params; + + private Data data; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String chatLoginToken; + + private String chatUserId; + + private String chatDeviceId; + + private String chatServerUrl; + + private String chatAppKey; + + private String chatAppId; + + public String getChatLoginToken() { + return this.chatLoginToken; + } + + public void setChatLoginToken(String chatLoginToken) { + this.chatLoginToken = chatLoginToken; + } + + public String getChatUserId() { + return this.chatUserId; + } + + public void setChatUserId(String chatUserId) { + this.chatUserId = chatUserId; + } + + public String getChatDeviceId() { + return this.chatDeviceId; + } + + public void setChatDeviceId(String chatDeviceId) { + this.chatDeviceId = chatDeviceId; + } + + public String getChatServerUrl() { + return this.chatServerUrl; + } + + public void setChatServerUrl(String chatServerUrl) { + this.chatServerUrl = chatServerUrl; + } + + public String getChatAppKey() { + return this.chatAppKey; + } + + public void setChatAppKey(String chatAppKey) { + this.chatAppKey = chatAppKey; + } + + public String getChatAppId() { + return this.chatAppId; + } + + public void setChatAppId(String chatAppId) { + this.chatAppId = chatAppId; + } + } + + @Override + public GetVisitorLoginDetailsResponse getInstance(UnmarshallerContext context) { + return GetVisitorLoginDetailsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersRequest.java new file mode 100644 index 0000000000..f6d6a9ff0f --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersRequest.java @@ -0,0 +1,119 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class ImportCorpNumbersRequest extends RpcAcsRequest { + + + private String city; + + private String numberList; + + private String tagList; + + private String province; + + private String provider; + + private String corpName; + public ImportCorpNumbersRequest() { + super("CCC", "2020-07-01", "ImportCorpNumbers", "CCC"); + 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 getCity() { + return this.city; + } + + public void setCity(String city) { + this.city = city; + if(city != null){ + putQueryParameter("City", city); + } + } + + public String getNumberList() { + return this.numberList; + } + + public void setNumberList(String numberList) { + this.numberList = numberList; + if(numberList != null){ + putQueryParameter("NumberList", numberList); + } + } + + public String getTagList() { + return this.tagList; + } + + public void setTagList(String tagList) { + this.tagList = tagList; + if(tagList != null){ + putQueryParameter("TagList", tagList); + } + } + + public String getProvince() { + return this.province; + } + + public void setProvince(String province) { + this.province = province; + if(province != null){ + putQueryParameter("Province", province); + } + } + + public String getProvider() { + return this.provider; + } + + public void setProvider(String provider) { + this.provider = provider; + if(provider != null){ + putQueryParameter("Provider", provider); + } + } + + public String getCorpName() { + return this.corpName; + } + + public void setCorpName(String corpName) { + this.corpName = corpName; + if(corpName != null){ + putQueryParameter("CorpName", corpName); + } + } + + @Override + public Class getResponseClass() { + return ImportCorpNumbersResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersResponse.java similarity index 73% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersResponse.java index 1443b7b262..36b355bee5 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ModifyAgentDeviceResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ImportCorpNumbersResponse.java @@ -12,27 +12,33 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ModifyAgentDeviceResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.ImportCorpNumbersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ModifyAgentDeviceResponse extends AcsResponse { - - private Integer httpStatusCode; +public class ImportCorpNumbersResponse extends AcsResponse { private String code; + private Integer httpStatusCode; + private String message; private String requestId; - private Boolean success; + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -42,14 +48,6 @@ public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - public String getMessage() { return this.message; } @@ -66,16 +64,13 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; + @Override + public ImportCorpNumbersResponse getInstance(UnmarshallerContext context) { + return ImportCorpNumbersResponseUnmarshaller.unmarshall(this, context); } @Override - public ModifyAgentDeviceResponse getInstance(UnmarshallerContext context) { - return ModifyAgentDeviceResponseUnmarshaller.unmarshall(this, context); + public boolean checkShowJsonItemName() { + return false; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/LaunchSurveyRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/LaunchSurveyRequest.java index a4ca81640d..732c301f33 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/LaunchSurveyRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/LaunchSurveyRequest.java @@ -27,12 +27,16 @@ public class LaunchSurveyRequest extends RpcAcsRequest { private String contactFlowId; + private String surveyTemplateVariables; + private String contactFlowVariables; private String userId; private String deviceId; + private String surveyTemplateId; + private String jobId; private String instanceId; @@ -60,6 +64,17 @@ public void setContactFlowId(String contactFlowId) { } } + public String getSurveyTemplateVariables() { + return this.surveyTemplateVariables; + } + + public void setSurveyTemplateVariables(String surveyTemplateVariables) { + this.surveyTemplateVariables = surveyTemplateVariables; + if(surveyTemplateVariables != null){ + putQueryParameter("SurveyTemplateVariables", surveyTemplateVariables); + } + } + public String getContactFlowVariables() { return this.contactFlowVariables; } @@ -93,6 +108,17 @@ public void setDeviceId(String deviceId) { } } + public String getSurveyTemplateId() { + return this.surveyTemplateId; + } + + public void setSurveyTemplateId(String surveyTemplateId) { + this.surveyTemplateId = surveyTemplateId; + if(surveyTemplateId != null){ + putQueryParameter("SurveyTemplateId", surveyTemplateId); + } + } + public String getJobId() { return this.jobId; } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsResponse.java index 1898a2fe1b..3befacbeef 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsResponse.java @@ -187,6 +187,8 @@ public static class CallDetailRecord { private Long heldTime; + private String callIds; + public String getContactDisposition() { return this.contactDisposition; } @@ -458,6 +460,14 @@ public Long getHeldTime() { public void setHeldTime(Long heldTime) { this.heldTime = heldTime; } + + public String getCallIds() { + return this.callIds; + } + + public void setCallIds(String callIds) { + this.callIds = callIds; + } } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Request.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Request.java new file mode 100644 index 0000000000..b1b31c81b3 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Request.java @@ -0,0 +1,353 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListCallDetailRecordsV2Request extends RpcAcsRequest { + + + private String contactDispositionList; + + private String orderByField; + + private Long startTime; + + private Integer pageNumber; + + private String earlyMediaStateList; + + private String number; + + private String skillGroupIdList; + + private String calledNumber; + + private Integer pageSize; + + private String sortOrder; + + private String satisfactionDescriptionList; + + private String agentId; + + private String firstAgentId; + + private String contactTypeList; + + private String satisfactionSurveyChannel; + + private Long endTime; + + private String broker; + + private String contactIdList; + + private String accessChannelTypeList; + + private String searchPattern; + + private String callingNumber; + + private String instanceId; + + private String satisfactionRateList; + + private String mediaType; + public ListCallDetailRecordsV2Request() { + super("CCC", "2020-07-01", "ListCallDetailRecordsV2", "CCC"); + 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 getContactDispositionList() { + return this.contactDispositionList; + } + + public void setContactDispositionList(String contactDispositionList) { + this.contactDispositionList = contactDispositionList; + if(contactDispositionList != null){ + putQueryParameter("ContactDispositionList", contactDispositionList); + } + } + + public String getOrderByField() { + return this.orderByField; + } + + public void setOrderByField(String orderByField) { + this.orderByField = orderByField; + if(orderByField != null){ + putQueryParameter("OrderByField", orderByField); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getEarlyMediaStateList() { + return this.earlyMediaStateList; + } + + public void setEarlyMediaStateList(String earlyMediaStateList) { + this.earlyMediaStateList = earlyMediaStateList; + if(earlyMediaStateList != null){ + putQueryParameter("EarlyMediaStateList", earlyMediaStateList); + } + } + + public String getNumber() { + return this.number; + } + + public void setNumber(String number) { + this.number = number; + if(number != null){ + putQueryParameter("Number", number); + } + } + + public String getSkillGroupIdList() { + return this.skillGroupIdList; + } + + public void setSkillGroupIdList(String skillGroupIdList) { + this.skillGroupIdList = skillGroupIdList; + if(skillGroupIdList != null){ + putQueryParameter("SkillGroupIdList", skillGroupIdList); + } + } + + public String getCalledNumber() { + return this.calledNumber; + } + + public void setCalledNumber(String calledNumber) { + this.calledNumber = calledNumber; + if(calledNumber != null){ + putQueryParameter("CalledNumber", calledNumber); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getSortOrder() { + return this.sortOrder; + } + + public void setSortOrder(String sortOrder) { + this.sortOrder = sortOrder; + if(sortOrder != null){ + putQueryParameter("SortOrder", sortOrder); + } + } + + public String getSatisfactionDescriptionList() { + return this.satisfactionDescriptionList; + } + + public void setSatisfactionDescriptionList(String satisfactionDescriptionList) { + this.satisfactionDescriptionList = satisfactionDescriptionList; + if(satisfactionDescriptionList != null){ + putQueryParameter("SatisfactionDescriptionList", satisfactionDescriptionList); + } + } + + public String getAgentId() { + return this.agentId; + } + + public void setAgentId(String agentId) { + this.agentId = agentId; + if(agentId != null){ + putQueryParameter("AgentId", agentId); + } + } + + public String getFirstAgentId() { + return this.firstAgentId; + } + + public void setFirstAgentId(String firstAgentId) { + this.firstAgentId = firstAgentId; + if(firstAgentId != null){ + putQueryParameter("FirstAgentId", firstAgentId); + } + } + + public String getContactTypeList() { + return this.contactTypeList; + } + + public void setContactTypeList(String contactTypeList) { + this.contactTypeList = contactTypeList; + if(contactTypeList != null){ + putQueryParameter("ContactTypeList", contactTypeList); + } + } + + public String getSatisfactionSurveyChannel() { + return this.satisfactionSurveyChannel; + } + + public void setSatisfactionSurveyChannel(String satisfactionSurveyChannel) { + this.satisfactionSurveyChannel = satisfactionSurveyChannel; + if(satisfactionSurveyChannel != null){ + putQueryParameter("SatisfactionSurveyChannel", satisfactionSurveyChannel); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getBroker() { + return this.broker; + } + + public void setBroker(String broker) { + this.broker = broker; + if(broker != null){ + putQueryParameter("Broker", broker); + } + } + + public String getContactIdList() { + return this.contactIdList; + } + + public void setContactIdList(String contactIdList) { + this.contactIdList = contactIdList; + if(contactIdList != null){ + putQueryParameter("ContactIdList", contactIdList); + } + } + + public String getAccessChannelTypeList() { + return this.accessChannelTypeList; + } + + public void setAccessChannelTypeList(String accessChannelTypeList) { + this.accessChannelTypeList = accessChannelTypeList; + if(accessChannelTypeList != null){ + putQueryParameter("AccessChannelTypeList", accessChannelTypeList); + } + } + + public String getSearchPattern() { + return this.searchPattern; + } + + public void setSearchPattern(String searchPattern) { + this.searchPattern = searchPattern; + if(searchPattern != null){ + putQueryParameter("SearchPattern", searchPattern); + } + } + + public String getCallingNumber() { + return this.callingNumber; + } + + public void setCallingNumber(String callingNumber) { + this.callingNumber = callingNumber; + if(callingNumber != null){ + putQueryParameter("CallingNumber", callingNumber); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getSatisfactionRateList() { + return this.satisfactionRateList; + } + + public void setSatisfactionRateList(String satisfactionRateList) { + this.satisfactionRateList = satisfactionRateList; + if(satisfactionRateList != null){ + putQueryParameter("SatisfactionRateList", satisfactionRateList); + } + } + + public String getMediaType() { + return this.mediaType; + } + + public void setMediaType(String mediaType) { + this.mediaType = mediaType; + if(mediaType != null){ + putQueryParameter("MediaType", mediaType); + } + } + + @Override + public Class getResponseClass() { + return ListCallDetailRecordsV2Response.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Response.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Response.java new file mode 100644 index 0000000000..5f5d162448 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallDetailRecordsV2Response.java @@ -0,0 +1,653 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListCallDetailRecordsV2ResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCallDetailRecordsV2Response extends AcsResponse { + + private String code; + + private Integer httpStatusCode; + + private String message; + + private String requestId; + + private Data data; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer pageNumber; + + private Integer pageSize; + + private Integer totalCount; + + private List list; + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getList() { + return this.list; + } + + public void setList(List list) { + this.list = list; + } + + public static class CallDetailRecord { + + private String contactDisposition; + + private String contactType; + + private Long establishedTime; + + private String calledNumber; + + private String additionalBroker; + + private Integer satisfactionIndex; + + private String satisfactionSurveyChannel; + + private Long releaseTime; + + private Long waitTime; + + private String skillGroupNames; + + private Long ivrTime; + + private String satisfactionDescription; + + private String releaseInitiator; + + private String agentIds; + + private String callDuration; + + private Boolean recordingReady; + + private String instanceId; + + private Long ringTime; + + private Boolean satisfactionSurveyOffered; + + private String agentNames; + + private Long startTime; + + private String contactId; + + private Long recordingDuration; + + private String callingNumber; + + private Long queueTime; + + private String broker; + + private String skillGroupIds; + + private String callerLocation; + + private String calleeLocation; + + private String earlyMediaState; + + private String releaseReason; + + private Long dialingTime; + + private Long talkTime; + + private Long heldTime; + + private String earlyMediaText; + + private String offSiteAgentIds; + + private String offsiteAgentDestinationNumbers; + + private Long messagesSent; + + private Long messagesSentByCustomer; + + private Long messagesSentByAgent; + + private Long firstResponseTime; + + private String mediaType; + + private Long transferCount; + + private String accessChannelType; + + private String accessChannelName; + + private String accessChannelUserId; + + private String accessChannelUserName; + + private String clientIpAddress; + + private String clientLocation; + + private String clientUserAgent; + + private String clientAppName; + + private String offsiteAgentOriginatorNumbers; + + public String getContactDisposition() { + return this.contactDisposition; + } + + public void setContactDisposition(String contactDisposition) { + this.contactDisposition = contactDisposition; + } + + public String getContactType() { + return this.contactType; + } + + public void setContactType(String contactType) { + this.contactType = contactType; + } + + public Long getEstablishedTime() { + return this.establishedTime; + } + + public void setEstablishedTime(Long establishedTime) { + this.establishedTime = establishedTime; + } + + public String getCalledNumber() { + return this.calledNumber; + } + + public void setCalledNumber(String calledNumber) { + this.calledNumber = calledNumber; + } + + public String getAdditionalBroker() { + return this.additionalBroker; + } + + public void setAdditionalBroker(String additionalBroker) { + this.additionalBroker = additionalBroker; + } + + public Integer getSatisfactionIndex() { + return this.satisfactionIndex; + } + + public void setSatisfactionIndex(Integer satisfactionIndex) { + this.satisfactionIndex = satisfactionIndex; + } + + public String getSatisfactionSurveyChannel() { + return this.satisfactionSurveyChannel; + } + + public void setSatisfactionSurveyChannel(String satisfactionSurveyChannel) { + this.satisfactionSurveyChannel = satisfactionSurveyChannel; + } + + public Long getReleaseTime() { + return this.releaseTime; + } + + public void setReleaseTime(Long releaseTime) { + this.releaseTime = releaseTime; + } + + public Long getWaitTime() { + return this.waitTime; + } + + public void setWaitTime(Long waitTime) { + this.waitTime = waitTime; + } + + public String getSkillGroupNames() { + return this.skillGroupNames; + } + + public void setSkillGroupNames(String skillGroupNames) { + this.skillGroupNames = skillGroupNames; + } + + public Long getIvrTime() { + return this.ivrTime; + } + + public void setIvrTime(Long ivrTime) { + this.ivrTime = ivrTime; + } + + public String getSatisfactionDescription() { + return this.satisfactionDescription; + } + + public void setSatisfactionDescription(String satisfactionDescription) { + this.satisfactionDescription = satisfactionDescription; + } + + public String getReleaseInitiator() { + return this.releaseInitiator; + } + + public void setReleaseInitiator(String releaseInitiator) { + this.releaseInitiator = releaseInitiator; + } + + public String getAgentIds() { + return this.agentIds; + } + + public void setAgentIds(String agentIds) { + this.agentIds = agentIds; + } + + public String getCallDuration() { + return this.callDuration; + } + + public void setCallDuration(String callDuration) { + this.callDuration = callDuration; + } + + public Boolean getRecordingReady() { + return this.recordingReady; + } + + public void setRecordingReady(Boolean recordingReady) { + this.recordingReady = recordingReady; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public Long getRingTime() { + return this.ringTime; + } + + public void setRingTime(Long ringTime) { + this.ringTime = ringTime; + } + + public Boolean getSatisfactionSurveyOffered() { + return this.satisfactionSurveyOffered; + } + + public void setSatisfactionSurveyOffered(Boolean satisfactionSurveyOffered) { + this.satisfactionSurveyOffered = satisfactionSurveyOffered; + } + + public String getAgentNames() { + return this.agentNames; + } + + public void setAgentNames(String agentNames) { + this.agentNames = agentNames; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public String getContactId() { + return this.contactId; + } + + public void setContactId(String contactId) { + this.contactId = contactId; + } + + public Long getRecordingDuration() { + return this.recordingDuration; + } + + public void setRecordingDuration(Long recordingDuration) { + this.recordingDuration = recordingDuration; + } + + public String getCallingNumber() { + return this.callingNumber; + } + + public void setCallingNumber(String callingNumber) { + this.callingNumber = callingNumber; + } + + public Long getQueueTime() { + return this.queueTime; + } + + public void setQueueTime(Long queueTime) { + this.queueTime = queueTime; + } + + public String getBroker() { + return this.broker; + } + + public void setBroker(String broker) { + this.broker = broker; + } + + public String getSkillGroupIds() { + return this.skillGroupIds; + } + + public void setSkillGroupIds(String skillGroupIds) { + this.skillGroupIds = skillGroupIds; + } + + public String getCallerLocation() { + return this.callerLocation; + } + + public void setCallerLocation(String callerLocation) { + this.callerLocation = callerLocation; + } + + public String getCalleeLocation() { + return this.calleeLocation; + } + + public void setCalleeLocation(String calleeLocation) { + this.calleeLocation = calleeLocation; + } + + public String getEarlyMediaState() { + return this.earlyMediaState; + } + + public void setEarlyMediaState(String earlyMediaState) { + this.earlyMediaState = earlyMediaState; + } + + public String getReleaseReason() { + return this.releaseReason; + } + + public void setReleaseReason(String releaseReason) { + this.releaseReason = releaseReason; + } + + public Long getDialingTime() { + return this.dialingTime; + } + + public void setDialingTime(Long dialingTime) { + this.dialingTime = dialingTime; + } + + public Long getTalkTime() { + return this.talkTime; + } + + public void setTalkTime(Long talkTime) { + this.talkTime = talkTime; + } + + public Long getHeldTime() { + return this.heldTime; + } + + public void setHeldTime(Long heldTime) { + this.heldTime = heldTime; + } + + public String getEarlyMediaText() { + return this.earlyMediaText; + } + + public void setEarlyMediaText(String earlyMediaText) { + this.earlyMediaText = earlyMediaText; + } + + public String getOffSiteAgentIds() { + return this.offSiteAgentIds; + } + + public void setOffSiteAgentIds(String offSiteAgentIds) { + this.offSiteAgentIds = offSiteAgentIds; + } + + public String getOffsiteAgentDestinationNumbers() { + return this.offsiteAgentDestinationNumbers; + } + + public void setOffsiteAgentDestinationNumbers(String offsiteAgentDestinationNumbers) { + this.offsiteAgentDestinationNumbers = offsiteAgentDestinationNumbers; + } + + public Long getMessagesSent() { + return this.messagesSent; + } + + public void setMessagesSent(Long messagesSent) { + this.messagesSent = messagesSent; + } + + public Long getMessagesSentByCustomer() { + return this.messagesSentByCustomer; + } + + public void setMessagesSentByCustomer(Long messagesSentByCustomer) { + this.messagesSentByCustomer = messagesSentByCustomer; + } + + public Long getMessagesSentByAgent() { + return this.messagesSentByAgent; + } + + public void setMessagesSentByAgent(Long messagesSentByAgent) { + this.messagesSentByAgent = messagesSentByAgent; + } + + public Long getFirstResponseTime() { + return this.firstResponseTime; + } + + public void setFirstResponseTime(Long firstResponseTime) { + this.firstResponseTime = firstResponseTime; + } + + public String getMediaType() { + return this.mediaType; + } + + public void setMediaType(String mediaType) { + this.mediaType = mediaType; + } + + public Long getTransferCount() { + return this.transferCount; + } + + public void setTransferCount(Long transferCount) { + this.transferCount = transferCount; + } + + public String getAccessChannelType() { + return this.accessChannelType; + } + + public void setAccessChannelType(String accessChannelType) { + this.accessChannelType = accessChannelType; + } + + public String getAccessChannelName() { + return this.accessChannelName; + } + + public void setAccessChannelName(String accessChannelName) { + this.accessChannelName = accessChannelName; + } + + public String getAccessChannelUserId() { + return this.accessChannelUserId; + } + + public void setAccessChannelUserId(String accessChannelUserId) { + this.accessChannelUserId = accessChannelUserId; + } + + public String getAccessChannelUserName() { + return this.accessChannelUserName; + } + + public void setAccessChannelUserName(String accessChannelUserName) { + this.accessChannelUserName = accessChannelUserName; + } + + public String getClientIpAddress() { + return this.clientIpAddress; + } + + public void setClientIpAddress(String clientIpAddress) { + this.clientIpAddress = clientIpAddress; + } + + public String getClientLocation() { + return this.clientLocation; + } + + public void setClientLocation(String clientLocation) { + this.clientLocation = clientLocation; + } + + public String getClientUserAgent() { + return this.clientUserAgent; + } + + public void setClientUserAgent(String clientUserAgent) { + this.clientUserAgent = clientUserAgent; + } + + public String getClientAppName() { + return this.clientAppName; + } + + public void setClientAppName(String clientAppName) { + this.clientAppName = clientAppName; + } + + public String getOffsiteAgentOriginatorNumbers() { + return this.offsiteAgentOriginatorNumbers; + } + + public void setOffsiteAgentOriginatorNumbers(String offsiteAgentOriginatorNumbers) { + this.offsiteAgentOriginatorNumbers = offsiteAgentOriginatorNumbers; + } + } + } + + @Override + public ListCallDetailRecordsV2Response getInstance(UnmarshallerContext context) { + return ListCallDetailRecordsV2ResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesRequest.java similarity index 62% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesRequest.java index a4a3fc9821..cf76cae1f6 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesRequest.java @@ -12,10 +12,12 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.ccc.Endpoint; @@ -23,14 +25,15 @@ * @author auto create * @version */ -public class DeletePhoneTagsRequest extends RpcAcsRequest { +public class ListCallSummariesRequest extends RpcAcsRequest { private String instanceId; - private List phoneNumberLists; - public DeletePhoneTagsRequest() { - super("CCC", "2017-07-05", "DeletePhoneTags", "CCC"); + @SerializedName("contactIdList") + private List contactIdList; + public ListCallSummariesRequest() { + super("CCC", "2020-07-01", "ListCallSummaries", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -49,22 +52,20 @@ public void setInstanceId(String instanceId) { } } - public List getPhoneNumberLists() { - return this.phoneNumberLists; + public List getContactIdList() { + return this.contactIdList; } - public void setPhoneNumberLists(List phoneNumberLists) { - this.phoneNumberLists = phoneNumberLists; - if (phoneNumberLists != null) { - for (int i = 0; i < phoneNumberLists.size(); i++) { - putQueryParameter("PhoneNumberList." + (i + 1) , phoneNumberLists.get(i)); - } + public void setContactIdList(List contactIdList) { + this.contactIdList = contactIdList; + if (contactIdList != null) { + putQueryParameter("ContactIdList" , new Gson().toJson(contactIdList)); } } @Override - public Class getResponseClass() { - return DeletePhoneTagsResponse.class; + public Class getResponseClass() { + return ListCallSummariesResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesResponse.java new file mode 100644 index 0000000000..f3729f6a4b --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCallSummariesResponse.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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListCallSummariesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCallSummariesResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List data; + + private List params; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public static class DataItem { + + private String ticketId; + + private String contactId; + + private String context; + + private Long createdTime; + + private String creator; + + private String editor; + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + } + + public String getContactId() { + return this.contactId; + } + + public void setContactId(String contactId) { + this.contactId = contactId; + } + + public String getContext() { + return this.context; + } + + public void setContext(String context) { + this.context = context; + } + + public Long getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(Long createdTime) { + this.createdTime = createdTime; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getEditor() { + return this.editor; + } + + public void setEditor(String editor) { + this.editor = editor; + } + } + + @Override + public ListCallSummariesResponse getInstance(UnmarshallerContext context) { + return ListCallSummariesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCampaignsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCampaignsResponse.java index dcc70d0146..fb0723ffb4 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCampaignsResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCampaignsResponse.java @@ -167,6 +167,8 @@ public static class ListItem { private Float completionRate; + private String contactFlowId; + public Long getActualEndTime() { return this.actualEndTime; } @@ -318,6 +320,14 @@ public Float getCompletionRate() { public void setCompletionRate(Float completionRate) { this.completionRate = completionRate; } + + public String getContactFlowId() { + return this.contactFlowId; + } + + public void setContactFlowId(String contactFlowId) { + this.contactFlowId = contactFlowId; + } } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesRequest.java similarity index 62% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesRequest.java index 9042228348..b237edf2dc 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListRolesRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,12 +22,16 @@ * @author auto create * @version */ -public class ListRolesRequest extends RpcAcsRequest { +public class ListCategoriesRequest extends RpcAcsRequest { - private String instanceId; - public ListRolesRequest() { - super("CCC", "2017-07-05", "ListRoles", "CCC"); + private String instanceId; + + private String type; + + private String categoryId; + public ListCategoriesRequest() { + super("CCC", "2020-07-01", "ListCategories", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -44,11 +48,33 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + if(categoryId != null){ + putQueryParameter("CategoryId", categoryId); + } } @Override - public Class getResponseClass() { - return ListRolesResponse.class; + public Class getResponseClass() { + return ListCategoriesResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesResponse.java similarity index 67% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesResponse.java index 7ca1acddb8..70a0a066ca 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DisableTrunkProvidersResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCategoriesResponse.java @@ -12,17 +12,22 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; - +package com.aliyuncs.ccc.model.v20200701; + +import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DisableTrunkProvidersResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.ListCategoriesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class DisableTrunkProvidersResponse extends AcsResponse { +public class ListCategoriesResponse extends AcsResponse { + + private String data; + + private String requestId; private Integer httpStatusCode; @@ -30,9 +35,23 @@ public class DisableTrunkProvidersResponse extends AcsResponse { private String message; - private String requestId; + private List params; - private Boolean success; + public String getData() { + return this.data; + } + + public void setData(String data) { + this.data = data; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -58,25 +77,17 @@ public void setMessage(String message) { this.message = message; } - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; + public List getParams() { + return this.params; } - public void setSuccess(Boolean success) { - this.success = success; + public void setParams(List params) { + this.params = params; } @Override - public DisableTrunkProvidersResponse getInstance(UnmarshallerContext context) { - return DisableTrunkProvidersResponseUnmarshaller.unmarshall(this, context); + public ListCategoriesResponse getInstance(UnmarshallerContext context) { + return ListCategoriesResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsRequest.java similarity index 77% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsRequest.java index 9bdfcb7d3d..7c024f189a 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteInstanceRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,12 +22,12 @@ * @author auto create * @version */ -public class DeleteInstanceRequest extends RpcAcsRequest { +public class ListCommonTicketFieldsRequest extends RpcAcsRequest { private String instanceId; - public DeleteInstanceRequest() { - super("CCC", "2017-07-05", "DeleteInstance", "CCC"); + public ListCommonTicketFieldsRequest() { + super("CCC", "2020-07-01", "ListCommonTicketFields", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -47,8 +47,8 @@ public void setInstanceId(String instanceId) { } @Override - public Class getResponseClass() { - return DeleteInstanceResponse.class; + public Class getResponseClass() { + return ListCommonTicketFieldsResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsResponse.java new file mode 100644 index 0000000000..60f302cf58 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListCommonTicketFieldsResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListCommonTicketFieldsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCommonTicketFieldsResponse extends AcsResponse { + + @Override + public ListCommonTicketFieldsResponse getInstance(UnmarshallerContext context) { + return ListCommonTicketFieldsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsRequest.java similarity index 67% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsRequest.java index 239983358c..fd45f368dc 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetInstanceSummaryReportRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,20 +22,20 @@ * @author auto create * @version */ -public class GetInstanceSummaryReportRequest extends RpcAcsRequest { +public class ListFlashSmsApplicationsRequest extends RpcAcsRequest { - private String endTime; + private String instanceId; - private String startTime; + private String providerId; - private Integer pageNumber; + private String name; - private String instanceId; + private Integer pageSize; - private Integer pageSize; - public GetInstanceSummaryReportRequest() { - super("CCC", "2017-07-05", "GetInstanceSummaryReport", "CCC"); + private Integer pageNumber; + public ListFlashSmsApplicationsRequest() { + super("CCC", "2020-07-01", "ListFlashSmsApplications", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -43,47 +43,36 @@ public GetInstanceSummaryReportRequest() { } catch (Exception e) {} } - public String getEndTime() { - return this.endTime; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - if(endTime != null){ - putQueryParameter("EndTime", endTime); - } - } - - public String getStartTime() { - return this.startTime; + public String getInstanceId() { + return this.instanceId; } - public void setStartTime(String startTime) { - this.startTime = startTime; - if(startTime != null){ - putQueryParameter("StartTime", startTime); + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); } } - public Integer getPageNumber() { - return this.pageNumber; + public String getProviderId() { + return this.providerId; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setProviderId(String providerId) { + this.providerId = providerId; + if(providerId != null){ + putQueryParameter("ProviderId", providerId); } } - public String getInstanceId() { - return this.instanceId; + public String getName() { + return this.name; } - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); + public void setName(String name) { + this.name = name; + if(name != null){ + putQueryParameter("Name", name); } } @@ -96,11 +85,22 @@ public void setPageSize(Integer pageSize) { if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } } @Override - public Class getResponseClass() { - return GetInstanceSummaryReportResponse.class; + public Class getResponseClass() { + return ListFlashSmsApplicationsResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsResponse.java similarity index 56% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsResponse.java index 4ad2970e1c..ce8e7e1ed7 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsApplicationsResponse.java @@ -12,18 +12,20 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListAgentStatesResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.ListFlashSmsApplicationsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ListAgentStatesResponse extends AcsResponse { +public class ListFlashSmsApplicationsResponse extends AcsResponse { + + private String requestId; private Integer httpStatusCode; @@ -31,12 +33,18 @@ public class ListAgentStatesResponse extends AcsResponse { private String message; - private String requestId; - - private Boolean success; + private List params; private Data data; + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public Integer getHttpStatusCode() { return this.httpStatusCode; } @@ -61,20 +69,12 @@ public void setMessage(String message) { this.message = message; } - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; + public List getParams() { + return this.params; } - public void setSuccess(Boolean success) { - this.success = success; + public void setParams(List params) { + this.params = params; } public Data getData() { @@ -87,13 +87,21 @@ public void setData(Data data) { public static class Data { + private Integer totalCount; + private Integer pageNumber; private Integer pageSize; - private Integer totalCount; + private List list; - private List list; + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } public Integer getPageNumber() { return this.pageNumber; @@ -111,98 +119,75 @@ public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } - public Integer getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public List getList() { + public List getList() { return this.list; } - public void setList(List list) { + public void setList(List list) { this.list = list; } - public static class RealTimeAgentState { - - private String loginName; - - private String dn; - - private String stateDuration; - - private String state; - - private String agentId; - - private String agentName; + public static class ListItem { private String instanceId; - public String getLoginName() { - return this.loginName; - } + private String providerId; - public void setLoginName(String loginName) { - this.loginName = loginName; - } + private String applicationId; - public String getDn() { - return this.dn; - } + private String name; - public void setDn(String dn) { - this.dn = dn; - } + private String value; - public String getStateDuration() { - return this.stateDuration; + public String getInstanceId() { + return this.instanceId; } - public void setStateDuration(String stateDuration) { - this.stateDuration = stateDuration; + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; } - public String getState() { - return this.state; + public String getProviderId() { + return this.providerId; } - public void setState(String state) { - this.state = state; + public void setProviderId(String providerId) { + this.providerId = providerId; } - public String getAgentId() { - return this.agentId; + public String getApplicationId() { + return this.applicationId; } - public void setAgentId(String agentId) { - this.agentId = agentId; + public void setApplicationId(String applicationId) { + this.applicationId = applicationId; } - public String getAgentName() { - return this.agentName; + public String getName() { + return this.name; } - public void setAgentName(String agentName) { - this.agentName = agentName; + public void setName(String name) { + this.name = name; } - public String getInstanceId() { - return this.instanceId; + public String getValue() { + return this.value; } - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; + public void setValue(String value) { + this.value = value; } } } @Override - public ListAgentStatesResponse getInstance(UnmarshallerContext context) { - return ListAgentStatesResponseUnmarshaller.unmarshall(this, context); + public ListFlashSmsApplicationsResponse getInstance(UnmarshallerContext context) { + return ListFlashSmsApplicationsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesRequest.java new file mode 100644 index 0000000000..5238f2c5c6 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesRequest.java @@ -0,0 +1,80 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListFlashSmsTemplatesRequest extends RpcAcsRequest { + + + private String instanceId; + + private String providerId; + + private String applicationId; + public ListFlashSmsTemplatesRequest() { + super("CCC", "2020-07-01", "ListFlashSmsTemplates", "CCC"); + 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 getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getProviderId() { + return this.providerId; + } + + public void setProviderId(String providerId) { + this.providerId = providerId; + if(providerId != null){ + putQueryParameter("ProviderId", providerId); + } + } + + public String getApplicationId() { + return this.applicationId; + } + + public void setApplicationId(String applicationId) { + this.applicationId = applicationId; + if(applicationId != null){ + putQueryParameter("ApplicationId", applicationId); + } + } + + @Override + public Class getResponseClass() { + return ListFlashSmsTemplatesResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesResponse.java similarity index 56% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesResponse.java index 0a5c06c534..c0e757a794 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListTrunkProvidersResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListFlashSmsTemplatesResponse.java @@ -12,18 +12,20 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.ListTrunkProvidersResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.ListFlashSmsTemplatesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ListTrunkProvidersResponse extends AcsResponse { +public class ListFlashSmsTemplatesResponse extends AcsResponse { + + private String requestId; private Integer httpStatusCode; @@ -31,11 +33,17 @@ public class ListTrunkProvidersResponse extends AcsResponse { private String message; - private String requestId; + private List data; - private Boolean success; + private List params; - private List trunkProviders; + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -61,56 +69,48 @@ public void setMessage(String message) { this.message = message; } - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; + public List getData() { + return this.data; } - public void setSuccess(Boolean success) { - this.success = success; + public void setData(List data) { + this.data = data; } - public List getTrunkProviders() { - return this.trunkProviders; + public List getParams() { + return this.params; } - public void setTrunkProviders(List trunkProviders) { - this.trunkProviders = trunkProviders; + public void setParams(List params) { + this.params = params; } - public static class TrunkProvider { + public static class DataItem { - private String status; + private String templateId; - private String providerName; + private String templateName; - public String getStatus() { - return this.status; + public String getTemplateId() { + return this.templateId; } - public void setStatus(String status) { - this.status = status; + public void setTemplateId(String templateId) { + this.templateId = templateId; } - public String getProviderName() { - return this.providerName; + public String getTemplateName() { + return this.templateName; } - public void setProviderName(String providerName) { - this.providerName = providerName; + public void setTemplateName(String templateName) { + this.templateName = templateName; } } @Override - public ListTrunkProvidersResponse getInstance(UnmarshallerContext context) { - return ListTrunkProvidersResponseUnmarshaller.unmarshall(this, context); + public ListFlashSmsTemplatesResponse getInstance(UnmarshallerContext context) { + return ListFlashSmsTemplatesResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesRequest.java similarity index 58% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesRequest.java index eeda59d0ae..0059a64b06 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListUsersOfSkillGroupRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,20 @@ * @author auto create * @version */ -public class ListUsersOfSkillGroupRequest extends RpcAcsRequest { +public class ListGroupChatMessagesRequest extends RpcAcsRequest { - private Integer pageNumber; + private String nextPageToken; + + private String jobId; private String instanceId; - private String skillGroupId; + private Integer pageSize; - private Integer pageSize; - public ListUsersOfSkillGroupRequest() { - super("CCC", "2017-07-05", "ListUsersOfSkillGroup", "CCC"); + private String sortOrder; + public ListGroupChatMessagesRequest() { + super("CCC", "2020-07-01", "ListGroupChatMessages", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -41,14 +43,25 @@ public ListUsersOfSkillGroupRequest() { } catch (Exception e) {} } - public Integer getPageNumber() { - return this.pageNumber; + public String getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + if(nextPageToken != null){ + putQueryParameter("NextPageToken", nextPageToken); + } + } + + public String getJobId() { + return this.jobId; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); } } @@ -63,17 +76,6 @@ public void setInstanceId(String instanceId) { } } - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - public Integer getPageSize() { return this.pageSize; } @@ -83,11 +85,22 @@ public void setPageSize(Integer pageSize) { if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } + } + + public String getSortOrder() { + return this.sortOrder; + } + + public void setSortOrder(String sortOrder) { + this.sortOrder = sortOrder; + if(sortOrder != null){ + putQueryParameter("SortOrder", sortOrder); + } } @Override - public Class getResponseClass() { - return ListUsersOfSkillGroupResponse.class; + public Class getResponseClass() { + return ListGroupChatMessagesResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesResponse.java new file mode 100644 index 0000000000..28199b146a --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListGroupChatMessagesResponse.java @@ -0,0 +1,193 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListGroupChatMessagesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListGroupChatMessagesResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String message; + + private String code; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String nextPageToken; + + private List messages; + + public String getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + } + + public List getMessages() { + return this.messages; + } + + public void setMessages(List messages) { + this.messages = messages; + } + + public static class GroupChatMessage { + + private String jobId; + + private String senderId; + + private String senderType; + + private Long timestamp; + + private String content; + + private String senderName; + + private String senderAvatarUrl; + + private Boolean recalled; + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public String getSenderId() { + return this.senderId; + } + + public void setSenderId(String senderId) { + this.senderId = senderId; + } + + public String getSenderType() { + return this.senderType; + } + + public void setSenderType(String senderType) { + this.senderType = senderType; + } + + public Long getTimestamp() { + return this.timestamp; + } + + public void setTimestamp(Long timestamp) { + this.timestamp = timestamp; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getSenderName() { + return this.senderName; + } + + public void setSenderName(String senderName) { + this.senderName = senderName; + } + + public String getSenderAvatarUrl() { + return this.senderAvatarUrl; + } + + public void setSenderAvatarUrl(String senderAvatarUrl) { + this.senderAvatarUrl = senderAvatarUrl; + } + + public Boolean getRecalled() { + return this.recalled; + } + + public void setRecalled(Boolean recalled) { + this.recalled = recalled; + } + } + } + + @Override + public ListGroupChatMessagesResponse getInstance(UnmarshallerContext context) { + return ListGroupChatMessagesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListRealtimeAgentStatesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListRealtimeAgentStatesRequest.java index 148fd80a29..001b4ae9f4 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListRealtimeAgentStatesRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListRealtimeAgentStatesRequest.java @@ -27,25 +27,27 @@ public class ListRealtimeAgentStatesRequest extends RpcAcsRequest { + + + private String instanceId; + + private String ticketId; + public ListTicketTasksRequest() { + super("CCC", "2020-07-01", "ListTicketTasks", "CCC"); + 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 getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); + } + } + + @Override + public Class getResponseClass() { + return ListTicketTasksResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTasksResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTasksResponse.java new file mode 100644 index 0000000000..cca84caea1 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTasksResponse.java @@ -0,0 +1,240 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListTicketTasksResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTicketTasksResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List data; + + private List params; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public static class DataItem { + + private String taskName; + + private String assignee; + + private String comment; + + private Long startTime; + + private Long endTime; + + private String assigneeName; + + private String taskId; + + private String ticketId; + + private String instanceId; + + private String taskDefinitionNodeId; + + private String taskDefinitionNodeType; + + private String action; + + private List fileKeys; + + private List fileUrls; + + public String getTaskName() { + return this.taskName; + } + + public void setTaskName(String taskName) { + this.taskName = taskName; + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public String getAssigneeName() { + return this.assigneeName; + } + + public void setAssigneeName(String assigneeName) { + this.assigneeName = assigneeName; + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getTaskDefinitionNodeId() { + return this.taskDefinitionNodeId; + } + + public void setTaskDefinitionNodeId(String taskDefinitionNodeId) { + this.taskDefinitionNodeId = taskDefinitionNodeId; + } + + public String getTaskDefinitionNodeType() { + return this.taskDefinitionNodeType; + } + + public void setTaskDefinitionNodeType(String taskDefinitionNodeType) { + this.taskDefinitionNodeType = taskDefinitionNodeType; + } + + public String getAction() { + return this.action; + } + + public void setAction(String action) { + this.action = action; + } + + public List getFileKeys() { + return this.fileKeys; + } + + public void setFileKeys(List fileKeys) { + this.fileKeys = fileKeys; + } + + public List getFileUrls() { + return this.fileUrls; + } + + public void setFileUrls(List fileUrls) { + this.fileUrls = fileUrls; + } + } + + @Override + public ListTicketTasksResponse getInstance(UnmarshallerContext context) { + return ListTicketTasksResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesRequest.java similarity index 68% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesRequest.java index 20e3416770..ec4d198690 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListAgentStatesRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,22 +22,22 @@ * @author auto create * @version */ -public class ListAgentStatesRequest extends RpcAcsRequest { +public class ListTicketTemplatesRequest extends RpcAcsRequest { - private String agentIds; - - private Integer pageNumber; + private String searchPattern; private String instanceId; - private String skillGroupId; - private Integer pageSize; - private String state; - public ListAgentStatesRequest() { - super("CCC", "2017-07-05", "ListAgentStates", "CCC"); + private String state; + + private String categoryId; + + private Integer pageNumber; + public ListTicketTemplatesRequest() { + super("CCC", "2020-07-01", "ListTicketTemplates", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -45,25 +45,14 @@ public ListAgentStatesRequest() { } catch (Exception e) {} } - public String getAgentIds() { - return this.agentIds; - } - - public void setAgentIds(String agentIds) { - this.agentIds = agentIds; - if(agentIds != null){ - putQueryParameter("AgentIds", agentIds); - } - } - - public Integer getPageNumber() { - return this.pageNumber; + public String getSearchPattern() { + return this.searchPattern; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setSearchPattern(String searchPattern) { + this.searchPattern = searchPattern; + if(searchPattern != null){ + putQueryParameter("SearchPattern", searchPattern); } } @@ -78,17 +67,6 @@ public void setInstanceId(String instanceId) { } } - public String getSkillGroupId() { - return this.skillGroupId; - } - - public void setSkillGroupId(String skillGroupId) { - this.skillGroupId = skillGroupId; - if(skillGroupId != null){ - putQueryParameter("SkillGroupId", skillGroupId); - } - } - public Integer getPageSize() { return this.pageSize; } @@ -109,11 +87,33 @@ public void setState(String state) { if(state != null){ putQueryParameter("State", state); } + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + if(categoryId != null){ + putQueryParameter("CategoryId", categoryId); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } } @Override - public Class getResponseClass() { - return ListAgentStatesResponse.class; + public Class getResponseClass() { + return ListTicketTemplatesResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesResponse.java new file mode 100644 index 0000000000..ebc8117b60 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketTemplatesResponse.java @@ -0,0 +1,466 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListTicketTemplatesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTicketTemplatesResponse extends AcsResponse { + + private String requestId; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List params; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer totalCount; + + private Integer pageNumber; + + private Integer pageSize; + + private List list; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getList() { + return this.list; + } + + public void setList(List list) { + this.list = list; + } + + public static class ListItem { + + private String instanceId; + + private String templateId; + + private String name; + + private String state; + + private String editor; + + private String processDefinition; + + private Long updatedTime; + + private String categoryId; + + private String appliedVersion; + + private String latestVersion; + + private List ticketFields; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getEditor() { + return this.editor; + } + + public void setEditor(String editor) { + this.editor = editor; + } + + public String getProcessDefinition() { + return this.processDefinition; + } + + public void setProcessDefinition(String processDefinition) { + this.processDefinition = processDefinition; + } + + public Long getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(Long updatedTime) { + this.updatedTime = updatedTime; + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getAppliedVersion() { + return this.appliedVersion; + } + + public void setAppliedVersion(String appliedVersion) { + this.appliedVersion = appliedVersion; + } + + public String getLatestVersion() { + return this.latestVersion; + } + + public void setLatestVersion(String latestVersion) { + this.latestVersion = latestVersion; + } + + public List getTicketFields() { + return this.ticketFields; + } + + public void setTicketFields(List ticketFields) { + this.ticketFields = ticketFields; + } + + public static class TicketField { + + private String displayName; + + private String description; + + private String name; + + private String dataType; + + private String pattern; + + private String patternErrorMessage; + + private Integer minLength; + + private Integer maxLength; + + private Double minimum; + + private Double maximum; + + private Boolean required; + + private Boolean system; + + private Boolean disabled; + + private Boolean array; + + private Boolean readOnly; + + private String editorType; + + private String attribute; + + private Integer displayOrder; + + private Long createdTime; + + private Long updatedTime; + + private String creator; + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDataType() { + return this.dataType; + } + + public void setDataType(String dataType) { + this.dataType = dataType; + } + + public String getPattern() { + return this.pattern; + } + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + public String getPatternErrorMessage() { + return this.patternErrorMessage; + } + + public void setPatternErrorMessage(String patternErrorMessage) { + this.patternErrorMessage = patternErrorMessage; + } + + public Integer getMinLength() { + return this.minLength; + } + + public void setMinLength(Integer minLength) { + this.minLength = minLength; + } + + public Integer getMaxLength() { + return this.maxLength; + } + + public void setMaxLength(Integer maxLength) { + this.maxLength = maxLength; + } + + public Double getMinimum() { + return this.minimum; + } + + public void setMinimum(Double minimum) { + this.minimum = minimum; + } + + public Double getMaximum() { + return this.maximum; + } + + public void setMaximum(Double maximum) { + this.maximum = maximum; + } + + public Boolean getRequired() { + return this.required; + } + + public void setRequired(Boolean required) { + this.required = required; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Boolean getDisabled() { + return this.disabled; + } + + public void setDisabled(Boolean disabled) { + this.disabled = disabled; + } + + public Boolean getArray() { + return this.array; + } + + public void setArray(Boolean array) { + this.array = array; + } + + public Boolean getReadOnly() { + return this.readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public String getEditorType() { + return this.editorType; + } + + public void setEditorType(String editorType) { + this.editorType = editorType; + } + + public String getAttribute() { + return this.attribute; + } + + public void setAttribute(String attribute) { + this.attribute = attribute; + } + + public Integer getDisplayOrder() { + return this.displayOrder; + } + + public void setDisplayOrder(Integer displayOrder) { + this.displayOrder = displayOrder; + } + + public Long getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(Long createdTime) { + this.createdTime = createdTime; + } + + public Long getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(Long updatedTime) { + this.updatedTime = updatedTime; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + } + } + } + + @Override + public ListTicketTemplatesResponse getInstance(UnmarshallerContext context) { + return ListTicketTemplatesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsRequest.java new file mode 100644 index 0000000000..7cd09279a8 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsRequest.java @@ -0,0 +1,236 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListTicketsRequest extends RpcAcsRequest { + + + private String creator; + + private String assigneeType; + + private Long endTime; + + private Long startTime; + + private String title; + + private String jobIdList; + + private Long pageNumber; + + private String participant; + + private String instanceId; + + private Long pageSize; + + private String customerId; + + private String state; + + private String assignee; + + private String ticketId; + + private String categoryId; + public ListTicketsRequest() { + super("CCC", "2020-07-01", "ListTickets", "CCC"); + 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 getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + if(creator != null){ + putQueryParameter("Creator", creator); + } + } + + public String getAssigneeType() { + return this.assigneeType; + } + + public void setAssigneeType(String assigneeType) { + this.assigneeType = assigneeType; + if(assigneeType != null){ + putQueryParameter("AssigneeType", assigneeType); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + if(title != null){ + putQueryParameter("Title", title); + } + } + + public String getJobIdList() { + return this.jobIdList; + } + + public void setJobIdList(String jobIdList) { + this.jobIdList = jobIdList; + if(jobIdList != null){ + putQueryParameter("JobIdList", jobIdList); + } + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getParticipant() { + return this.participant; + } + + public void setParticipant(String participant) { + this.participant = participant; + if(participant != null){ + putQueryParameter("Participant", participant); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getCustomerId() { + return this.customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + if(customerId != null){ + putQueryParameter("CustomerId", customerId); + } + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + if(state != null){ + putQueryParameter("State", state); + } + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + if(assignee != null){ + putQueryParameter("Assignee", assignee); + } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); + } + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + if(categoryId != null){ + putQueryParameter("CategoryId", categoryId); + } + } + + @Override + public Class getResponseClass() { + return ListTicketsResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsResponse.java new file mode 100644 index 0000000000..af1f7e4194 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListTicketsResponse.java @@ -0,0 +1,383 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListTicketsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTicketsResponse extends AcsResponse { + + private String requestId; + + private String message; + + private Long httpStatusCode; + + private String code; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Long getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Long httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Long totalCount; + + private Long pageNumber; + + private Long pageSize; + + private List list; + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public List getList() { + return this.list; + } + + public void setList(List list) { + this.list = list; + } + + public static class ListItem { + + private String instanceId; + + private String ticketId; + + private String title; + + private String templateId; + + private String templateVersion; + + private String categoryId; + + private String categoryName; + + private Long startTime; + + private Long endTime; + + private String state; + + private String closeCode; + + private String assignee; + + private String comment; + + private String assigneeName; + + private String creator; + + private String creatorName; + + private String context; + + private String createdTime; + + private String updatedTime; + + private String currentTaskId; + + private String currentTaskName; + + private Long currentTaskStartTime; + + private String customerId; + + private String jobId; + + private String source; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getTemplateVersion() { + return this.templateVersion; + } + + public void setTemplateVersion(String templateVersion) { + this.templateVersion = templateVersion; + } + + public String getCategoryId() { + return this.categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getCategoryName() { + return this.categoryName; + } + + public void setCategoryName(String categoryName) { + this.categoryName = categoryName; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getCloseCode() { + return this.closeCode; + } + + public void setCloseCode(String closeCode) { + this.closeCode = closeCode; + } + + public String getAssignee() { + return this.assignee; + } + + public void setAssignee(String assignee) { + this.assignee = assignee; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public String getAssigneeName() { + return this.assigneeName; + } + + public void setAssigneeName(String assigneeName) { + this.assigneeName = assigneeName; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getCreatorName() { + return this.creatorName; + } + + public void setCreatorName(String creatorName) { + this.creatorName = creatorName; + } + + public String getContext() { + return this.context; + } + + public void setContext(String context) { + this.context = context; + } + + public String getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(String createdTime) { + this.createdTime = createdTime; + } + + public String getUpdatedTime() { + return this.updatedTime; + } + + public void setUpdatedTime(String updatedTime) { + this.updatedTime = updatedTime; + } + + public String getCurrentTaskId() { + return this.currentTaskId; + } + + public void setCurrentTaskId(String currentTaskId) { + this.currentTaskId = currentTaskId; + } + + public String getCurrentTaskName() { + return this.currentTaskName; + } + + public void setCurrentTaskName(String currentTaskName) { + this.currentTaskName = currentTaskName; + } + + public Long getCurrentTaskStartTime() { + return this.currentTaskStartTime; + } + + public void setCurrentTaskStartTime(Long currentTaskStartTime) { + this.currentTaskStartTime = currentTaskStartTime; + } + + public String getCustomerId() { + return this.customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + } + } + } + + @Override + public ListTicketsResponse getInstance(UnmarshallerContext context) { + return ListTicketsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsRequest.java new file mode 100644 index 0000000000..65aadf0f79 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsRequest.java @@ -0,0 +1,67 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListWaitingChatsRequest extends RpcAcsRequest { + + + private String instanceId; + + private String skillGroupIdList; + public ListWaitingChatsRequest() { + super("CCC", "2020-07-01", "ListWaitingChats", "CCC"); + 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 getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getSkillGroupIdList() { + return this.skillGroupIdList; + } + + public void setSkillGroupIdList(String skillGroupIdList) { + this.skillGroupIdList = skillGroupIdList; + if(skillGroupIdList != null){ + putQueryParameter("SkillGroupIdList", skillGroupIdList); + } + } + + @Override + public Class getResponseClass() { + return ListWaitingChatsResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsResponse.java new file mode 100644 index 0000000000..3f0cd5bbe3 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ListWaitingChatsResponse.java @@ -0,0 +1,256 @@ +/* + * 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.ccc.model.v20200701; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ListWaitingChatsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListWaitingChatsResponse extends AcsResponse { + + private String code; + + private Integer httpStatusCode; + + private String message; + + private String requestId; + + private List data; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class Chat { + + private String chatConversationId; + + private Boolean beingAssigned; + + private String jobId; + + private Long enqueueTime; + + private String accessChannelId; + + private String accessChannelType; + + private String skillGroupId; + + private List userList; + + private List messages; + + public String getChatConversationId() { + return this.chatConversationId; + } + + public void setChatConversationId(String chatConversationId) { + this.chatConversationId = chatConversationId; + } + + public Boolean getBeingAssigned() { + return this.beingAssigned; + } + + public void setBeingAssigned(Boolean beingAssigned) { + this.beingAssigned = beingAssigned; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public Long getEnqueueTime() { + return this.enqueueTime; + } + + public void setEnqueueTime(Long enqueueTime) { + this.enqueueTime = enqueueTime; + } + + public String getAccessChannelId() { + return this.accessChannelId; + } + + public void setAccessChannelId(String accessChannelId) { + this.accessChannelId = accessChannelId; + } + + public String getAccessChannelType() { + return this.accessChannelType; + } + + public void setAccessChannelType(String accessChannelType) { + this.accessChannelType = accessChannelType; + } + + public String getSkillGroupId() { + return this.skillGroupId; + } + + public void setSkillGroupId(String skillGroupId) { + this.skillGroupId = skillGroupId; + } + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public List getMessages() { + return this.messages; + } + + public void setMessages(List messages) { + this.messages = messages; + } + + public static class User { + + private String userName; + + private String userId; + + private String userType; + + private String avatarUrl; + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getUserType() { + return this.userType; + } + + public void setUserType(String userType) { + this.userType = userType; + } + + public String getAvatarUrl() { + return this.avatarUrl; + } + + public void setAvatarUrl(String avatarUrl) { + this.avatarUrl = avatarUrl; + } + } + + public static class Message { + + private String senderId; + + private String content; + + private String senderType; + + public String getSenderId() { + return this.senderId; + } + + public void setSenderId(String senderId) { + this.senderId = senderId; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getSenderType() { + return this.senderType; + } + + public void setSenderType(String senderType) { + this.senderType = senderType; + } + } + } + + @Override + public ListWaitingChatsResponse getInstance(UnmarshallerContext context) { + return ListWaitingChatsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatRequest.java similarity index 71% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatRequest.java index c63fdbac02..a02ddbd9d5 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeleteMediaRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,14 @@ * @author auto create * @version */ -public class DeleteMediaRequest extends RpcAcsRequest { +public class RejectChatRequest extends RpcAcsRequest { - private String instanceId; + private String jobId; - private String name; - public DeleteMediaRequest() { - super("CCC", "2017-07-05", "DeleteMedia", "CCC"); + private String instanceId; + public RejectChatRequest() { + super("CCC", "2020-07-01", "RejectChat", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,6 +37,17 @@ public DeleteMediaRequest() { } catch (Exception e) {} } + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); + } + } + public String getInstanceId() { return this.instanceId; } @@ -46,22 +57,11 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putQueryParameter("Name", name); - } } @Override - public Class getResponseClass() { - return DeleteMediaResponse.class; + public Class getResponseClass() { + return RejectChatResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatResponse.java similarity index 72% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatResponse.java index 80beed0808..64a1b41444 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DeletePhoneTagsResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectChatResponse.java @@ -12,27 +12,33 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.DeletePhoneTagsResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.RejectChatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class DeletePhoneTagsResponse extends AcsResponse { - - private Integer httpStatusCode; +public class RejectChatResponse extends AcsResponse { private String code; + private Integer httpStatusCode; + private String message; private String requestId; - private Boolean success; + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -42,14 +48,6 @@ public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - public String getMessage() { return this.message; } @@ -66,17 +64,9 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - @Override - public DeletePhoneTagsResponse getInstance(UnmarshallerContext context) { - return DeletePhoneTagsResponseUnmarshaller.unmarshall(this, context); + public RejectChatResponse getInstance(UnmarshallerContext context) { + return RejectChatResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketRequest.java similarity index 63% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketRequest.java index 84aee3a073..3b251c274a 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CallOnlinePrivacyNumberRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,16 +22,16 @@ * @author auto create * @version */ -public class CallOnlinePrivacyNumberRequest extends RpcAcsRequest { +public class RejectTicketRequest extends RpcAcsRequest { - private String telA; + private String instanceId; - private String telB; + private String comment; - private String instanceId; - public CallOnlinePrivacyNumberRequest() { - super("CCC", "2017-07-05", "CallOnlinePrivacyNumber", "CCC"); + private String ticketId; + public RejectTicketRequest() { + super("CCC", "2020-07-01", "RejectTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -39,42 +39,42 @@ public CallOnlinePrivacyNumberRequest() { } catch (Exception e) {} } - public String getTelA() { - return this.telA; + public String getInstanceId() { + return this.instanceId; } - public void setTelA(String telA) { - this.telA = telA; - if(telA != null){ - putQueryParameter("TelA", telA); + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); } } - public String getTelB() { - return this.telB; + public String getComment() { + return this.comment; } - public void setTelB(String telB) { - this.telB = telB; - if(telB != null){ - putQueryParameter("TelB", telB); + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); } } - public String getInstanceId() { - return this.instanceId; + public String getTicketId() { + return this.ticketId; } - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } @Override - public Class getResponseClass() { - return CallOnlinePrivacyNumberResponse.class; + public Class getResponseClass() { + return RejectTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketResponse.java new file mode 100644 index 0000000000..ae43d390cf --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/RejectTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.RejectTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RejectTicketResponse extends AcsResponse { + + @Override + public RejectTicketResponse getInstance(UnmarshallerContext context) { + return RejectTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatRequest.java similarity index 61% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatRequest.java index 17a506c058..c8bf670711 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListOutboundPhoneNumberOfUserRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,20 @@ * @author auto create * @version */ -public class ListOutboundPhoneNumberOfUserRequest extends RpcAcsRequest { +public class ReleaseChatRequest extends RpcAcsRequest { + private String userType; + private String userId; - private Integer pageNumber; + private String token; - private String instanceId; + private String jobId; - private Integer pageSize; - public ListOutboundPhoneNumberOfUserRequest() { - super("CCC", "2017-07-05", "ListOutboundPhoneNumberOfUser", "CCC"); + private String instanceId; + public ReleaseChatRequest() { + super("CCC", "2020-07-01", "ReleaseChat", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -41,6 +43,17 @@ public ListOutboundPhoneNumberOfUserRequest() { } catch (Exception e) {} } + public String getUserType() { + return this.userType; + } + + public void setUserType(String userType) { + this.userType = userType; + if(userType != null){ + putQueryParameter("UserType", userType); + } + } + public String getUserId() { return this.userId; } @@ -52,14 +65,25 @@ public void setUserId(String userId) { } } - public Integer getPageNumber() { - return this.pageNumber; + public String getToken() { + return this.token; + } + + public void setToken(String token) { + this.token = token; + if(token != null){ + putQueryParameter("Token", token); + } + } + + public String getJobId() { + return this.jobId; } - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); } } @@ -72,22 +96,11 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); - } } @Override - public Class getResponseClass() { - return ListOutboundPhoneNumberOfUserResponse.class; + public Class getResponseClass() { + return ReleaseChatResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatResponse.java similarity index 73% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersResponse.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatResponse.java index ff157dd785..8fcb78972d 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/RemoveUsersResponse.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ReleaseChatResponse.java @@ -12,27 +12,33 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.AcsResponse; -import com.aliyuncs.ccc.transform.v20170705.RemoveUsersResponseUnmarshaller; +import com.aliyuncs.ccc.transform.v20200701.ReleaseChatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class RemoveUsersResponse extends AcsResponse { - - private Integer httpStatusCode; +public class ReleaseChatResponse extends AcsResponse { private String code; + private Integer httpStatusCode; + private String message; private String requestId; - private Boolean success; + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } public Integer getHttpStatusCode() { return this.httpStatusCode; @@ -42,14 +48,6 @@ public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } - public String getCode() { - return this.code; - } - - public void setCode(String code) { - this.code = code; - } - public String getMessage() { return this.message; } @@ -66,16 +64,13 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; + @Override + public ReleaseChatResponse getInstance(UnmarshallerContext context) { + return ReleaseChatResponseUnmarshaller.unmarshall(this, context); } @Override - public RemoveUsersResponse getInstance(UnmarshallerContext context) { - return RemoveUsersResponseUnmarshaller.unmarshall(this, context); + public boolean checkShowJsonItemName() { + return false; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketRequest.java similarity index 62% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketRequest.java index 727caf890a..03291b1d9d 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CheckNumberAvaliableRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,16 +22,16 @@ * @author auto create * @version */ -public class CheckNumberAvaliableRequest extends RpcAcsRequest { +public class ResubmitTicketRequest extends RpcAcsRequest { - private String caller; - private String instanceId; - private String callee; - public CheckNumberAvaliableRequest() { - super("CCC", "2017-07-05", "CheckNumberAvaliable", "CCC"); + private String comment; + + private String ticketId; + public ResubmitTicketRequest() { + super("CCC", "2020-07-01", "ResubmitTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -39,17 +39,6 @@ public CheckNumberAvaliableRequest() { } catch (Exception e) {} } - public String getCaller() { - return this.caller; - } - - public void setCaller(String caller) { - this.caller = caller; - if(caller != null){ - putQueryParameter("Caller", caller); - } - } - public String getInstanceId() { return this.instanceId; } @@ -61,20 +50,31 @@ public void setInstanceId(String instanceId) { } } - public String getCallee() { - return this.callee; + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); + } + } + + public String getTicketId() { + return this.ticketId; } - public void setCallee(String callee) { - this.callee = callee; - if(callee != null){ - putQueryParameter("Callee", callee); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } @Override - public Class getResponseClass() { - return CheckNumberAvaliableResponse.class; + public Class getResponseClass() { + return ResubmitTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketResponse.java new file mode 100644 index 0000000000..e3728aa573 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/ResubmitTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.ResubmitTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ResubmitTicketResponse extends AcsResponse { + + @Override + public ResubmitTicketResponse getInstance(UnmarshallerContext context) { + return ResubmitTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatRequest.java new file mode 100644 index 0000000000..e4a2b38806 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatRequest.java @@ -0,0 +1,144 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.ccc.Endpoint; + +/** + * @author auto create + * @version + */ +public class StartChatRequest extends RpcAcsRequest { + + + @SerializedName("userList") + private List userList; + + private String token; + + private String instanceId; + + private String accessChannelId; + public StartChatRequest() { + super("CCC", "2020-07-01", "StartChat", "CCC"); + 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 List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + if (userList != null) { + putQueryParameter("UserList" , new Gson().toJson(userList)); + } + } + + public String getToken() { + return this.token; + } + + public void setToken(String token) { + this.token = token; + if(token != null){ + putQueryParameter("Token", token); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getAccessChannelId() { + return this.accessChannelId; + } + + public void setAccessChannelId(String accessChannelId) { + this.accessChannelId = accessChannelId; + if(accessChannelId != null){ + putQueryParameter("AccessChannelId", accessChannelId); + } + } + + public static class UserList { + + @SerializedName("AvatarUrl") + private String avatarUrl; + + @SerializedName("Nickname") + private String nickname; + + @SerializedName("UserType") + private String userType; + + @SerializedName("UserId") + private String userId; + + public String getAvatarUrl() { + return this.avatarUrl; + } + + public void setAvatarUrl(String avatarUrl) { + this.avatarUrl = avatarUrl; + } + + public String getNickname() { + return this.nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public String getUserType() { + return this.userType; + } + + public void setUserType(String userType) { + this.userType = userType; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + } + + @Override + public Class getResponseClass() { + return StartChatResponse.class; + } + +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatResponse.java new file mode 100644 index 0000000000..0372c68031 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/StartChatResponse.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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.StartChatResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StartChatResponse extends AcsResponse { + + private String code; + + private Integer httpStatusCode; + + private String message; + + private String requestId; + + private Data data; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String chatConversationId; + + private String jobId; + + public String getChatConversationId() { + return this.chatConversationId; + } + + public void setChatConversationId(String chatConversationId) { + this.chatConversationId = chatConversationId; + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + } + + @Override + public StartChatResponse getInstance(UnmarshallerContext context) { + return StartChatResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketRequest.java similarity index 62% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketRequest.java index 491c9de583..eb178e2c2c 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/DownloadRecordingRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,16 +22,16 @@ * @author auto create * @version */ -public class DownloadRecordingRequest extends RpcAcsRequest { +public class TerminateTicketRequest extends RpcAcsRequest { - private String channel; - private String instanceId; - private String fileName; - public DownloadRecordingRequest() { - super("CCC", "2017-07-05", "DownloadRecording", "CCC"); + private String comment; + + private String ticketId; + public TerminateTicketRequest() { + super("CCC", "2020-07-01", "TerminateTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -39,17 +39,6 @@ public DownloadRecordingRequest() { } catch (Exception e) {} } - public String getChannel() { - return this.channel; - } - - public void setChannel(String channel) { - this.channel = channel; - if(channel != null){ - putQueryParameter("Channel", channel); - } - } - public String getInstanceId() { return this.instanceId; } @@ -61,20 +50,31 @@ public void setInstanceId(String instanceId) { } } - public String getFileName() { - return this.fileName; + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); + } + } + + public String getTicketId() { + return this.ticketId; } - public void setFileName(String fileName) { - this.fileName = fileName; - if(fileName != null){ - putQueryParameter("FileName", fileName); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } @Override - public Class getResponseClass() { - return DownloadRecordingResponse.class; + public Class getResponseClass() { + return TerminateTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketResponse.java new file mode 100644 index 0000000000..5b9a88e6de --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TerminateTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.TerminateTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class TerminateTicketResponse extends AcsResponse { + + @Override + public TerminateTicketResponse getInstance(UnmarshallerContext context) { + return TerminateTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskRequest.java similarity index 51% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskRequest.java index 4c936bab14..5b5d6b566b 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/CreateVoiceAppraiseRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,20 @@ * @author auto create * @version */ -public class CreateVoiceAppraiseRequest extends RpcAcsRequest { +public class TransferTicketTaskRequest extends RpcAcsRequest { - private Boolean isAppraise; + private String instanceId; - private String content; + private String comment; - private String instanceId; + private String assignee; + + private String ticketId; - private String contactFlowVersionId; - public CreateVoiceAppraiseRequest() { - super("CCC", "2017-07-05", "CreateVoiceAppraise", "CCC"); + private String taskId; + public TransferTicketTaskRequest() { + super("CCC", "2020-07-01", "TransferTicketTask", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -41,53 +43,64 @@ public CreateVoiceAppraiseRequest() { } catch (Exception e) {} } - public Boolean getIsAppraise() { - return this.isAppraise; + public String getInstanceId() { + return this.instanceId; } - public void setIsAppraise(Boolean isAppraise) { - this.isAppraise = isAppraise; - if(isAppraise != null){ - putQueryParameter("IsAppraise", isAppraise.toString()); + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); } } - public String getContent() { - return this.content; + public String getComment() { + return this.comment; } - public void setContent(String content) { - this.content = content; - if(content != null){ - putBodyParameter("Content", content); + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); } } - public String getInstanceId() { - return this.instanceId; + public String getAssignee() { + return this.assignee; } - public void setInstanceId(String instanceId) { - this.instanceId = instanceId; - if(instanceId != null){ - putQueryParameter("InstanceId", instanceId); + public void setAssignee(String assignee) { + this.assignee = assignee; + if(assignee != null){ + putQueryParameter("Assignee", assignee); + } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } - public String getContactFlowVersionId() { - return this.contactFlowVersionId; + public String getTaskId() { + return this.taskId; } - public void setContactFlowVersionId(String contactFlowVersionId) { - this.contactFlowVersionId = contactFlowVersionId; - if(contactFlowVersionId != null){ - putQueryParameter("ContactFlowVersionId", contactFlowVersionId); + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); } } @Override - public Class getResponseClass() { - return CreateVoiceAppraiseResponse.class; + public Class getResponseClass() { + return TransferTicketTaskResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskResponse.java new file mode 100644 index 0000000000..145b698b86 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/TransferTicketTaskResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.TransferTicketTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class TransferTicketTaskResponse extends AcsResponse { + + @Override + public TransferTicketTaskResponse getInstance(UnmarshallerContext context) { + return TransferTicketTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketRequest.java similarity index 51% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketRequest.java index 58e0d8b4d9..8d47f4879b 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/ListSkillGroupStatesRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,18 +22,20 @@ * @author auto create * @version */ -public class ListSkillGroupStatesRequest extends RpcAcsRequest { +public class UpdateTicketRequest extends RpcAcsRequest { - private Integer pageNumber; - private String instanceId; - private String skillGroupIds; + private String customerId; + + private String context; + + private String title; - private Integer pageSize; - public ListSkillGroupStatesRequest() { - super("CCC", "2017-07-05", "ListSkillGroupStates", "CCC"); + private String ticketId; + public UpdateTicketRequest() { + super("CCC", "2020-07-01", "UpdateTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -41,17 +43,6 @@ public ListSkillGroupStatesRequest() { } catch (Exception e) {} } - public Integer getPageNumber() { - return this.pageNumber; - } - - public void setPageNumber(Integer pageNumber) { - this.pageNumber = pageNumber; - if(pageNumber != null){ - putQueryParameter("PageNumber", pageNumber.toString()); - } - } - public String getInstanceId() { return this.instanceId; } @@ -63,31 +54,53 @@ public void setInstanceId(String instanceId) { } } - public String getSkillGroupIds() { - return this.skillGroupIds; + public String getCustomerId() { + return this.customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + if(customerId != null){ + putQueryParameter("CustomerId", customerId); + } + } + + public String getContext() { + return this.context; + } + + public void setContext(String context) { + this.context = context; + if(context != null){ + putQueryParameter("Context", context); + } + } + + public String getTitle() { + return this.title; } - public void setSkillGroupIds(String skillGroupIds) { - this.skillGroupIds = skillGroupIds; - if(skillGroupIds != null){ - putQueryParameter("SkillGroupIds", skillGroupIds); + public void setTitle(String title) { + this.title = title; + if(title != null){ + putQueryParameter("Title", title); } } - public Integer getPageSize() { - return this.pageSize; + public String getTicketId() { + return this.ticketId; } - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putQueryParameter("PageSize", pageSize.toString()); + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); } } @Override - public Class getResponseClass() { - return ListSkillGroupStatesResponse.class; + public Class getResponseClass() { + return UpdateTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketResponse.java new file mode 100644 index 0000000000..2a983fa659 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/UpdateTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.UpdateTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTicketResponse extends AcsResponse { + + @Override + public UpdateTicketResponse getInstance(UnmarshallerContext context) { + return UpdateTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsRequest.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketRequest.java similarity index 62% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsRequest.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketRequest.java index 0ca1c678fb..dd233e5b29 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20170705/GetServiceExtensionsRequest.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.aliyuncs.ccc.model.v20170705; +package com.aliyuncs.ccc.model.v20200701; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; @@ -22,14 +22,16 @@ * @author auto create * @version */ -public class GetServiceExtensionsRequest extends RpcAcsRequest { +public class WithdrawTicketRequest extends RpcAcsRequest { - private String serviceType; + private String instanceId; - private String instanceId; - public GetServiceExtensionsRequest() { - super("CCC", "2017-07-05", "GetServiceExtensions", "CCC"); + private String comment; + + private String ticketId; + public WithdrawTicketRequest() { + super("CCC", "2020-07-01", "WithdrawTicket", "CCC"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,17 +39,6 @@ public GetServiceExtensionsRequest() { } catch (Exception e) {} } - public String getServiceType() { - return this.serviceType; - } - - public void setServiceType(String serviceType) { - this.serviceType = serviceType; - if(serviceType != null){ - putQueryParameter("ServiceType", serviceType); - } - } - public String getInstanceId() { return this.instanceId; } @@ -57,11 +48,33 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); + } + } + + public String getTicketId() { + return this.ticketId; + } + + public void setTicketId(String ticketId) { + this.ticketId = ticketId; + if(ticketId != null){ + putQueryParameter("TicketId", ticketId); + } } @Override - public Class getResponseClass() { - return GetServiceExtensionsResponse.class; + public Class getResponseClass() { + return WithdrawTicketResponse.class; } } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketResponse.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketResponse.java new file mode 100644 index 0000000000..b214721931 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/model/v20200701/WithdrawTicketResponse.java @@ -0,0 +1,36 @@ +/* + * 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.ccc.model.v20200701; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ccc.transform.v20200701.WithdrawTicketResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class WithdrawTicketResponse extends AcsResponse { + + @Override + public WithdrawTicketResponse getInstance(UnmarshallerContext context) { + return WithdrawTicketResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddAgentDeviceResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddAgentDeviceResponseUnmarshaller.java deleted file mode 100644 index 2e506dc7eb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddAgentDeviceResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.AddAgentDeviceResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddAgentDeviceResponseUnmarshaller { - - public static AddAgentDeviceResponse unmarshall(AddAgentDeviceResponse addAgentDeviceResponse, UnmarshallerContext _ctx) { - - addAgentDeviceResponse.setRequestId(_ctx.stringValue("AddAgentDeviceResponse.RequestId")); - addAgentDeviceResponse.setHttpStatusCode(_ctx.integerValue("AddAgentDeviceResponse.HttpStatusCode")); - addAgentDeviceResponse.setAgentDeviceId(_ctx.longValue("AddAgentDeviceResponse.AgentDeviceId")); - addAgentDeviceResponse.setSuccess(_ctx.booleanValue("AddAgentDeviceResponse.Success")); - addAgentDeviceResponse.setCode(_ctx.stringValue("AddAgentDeviceResponse.Code")); - addAgentDeviceResponse.setMessage(_ctx.stringValue("AddAgentDeviceResponse.Message")); - - return addAgentDeviceResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddBulkPhoneNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddBulkPhoneNumbersResponseUnmarshaller.java deleted file mode 100644 index 4c962baf6d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddBulkPhoneNumbersResponseUnmarshaller.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.AddBulkPhoneNumbersResponse; -import com.aliyuncs.ccc.model.v20170705.AddBulkPhoneNumbersResponse.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.AddBulkPhoneNumbersResponse.PhoneNumber.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.AddBulkPhoneNumbersResponse.PhoneNumber.SkillGroup; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddBulkPhoneNumbersResponseUnmarshaller { - - public static AddBulkPhoneNumbersResponse unmarshall(AddBulkPhoneNumbersResponse addBulkPhoneNumbersResponse, UnmarshallerContext _ctx) { - - addBulkPhoneNumbersResponse.setRequestId(_ctx.stringValue("AddBulkPhoneNumbersResponse.RequestId")); - addBulkPhoneNumbersResponse.setHttpStatusCode(_ctx.integerValue("AddBulkPhoneNumbersResponse.HttpStatusCode")); - addBulkPhoneNumbersResponse.setCode(_ctx.stringValue("AddBulkPhoneNumbersResponse.Code")); - addBulkPhoneNumbersResponse.setMessage(_ctx.stringValue("AddBulkPhoneNumbersResponse.Message")); - addBulkPhoneNumbersResponse.setSuccess(_ctx.booleanValue("AddBulkPhoneNumbersResponse.Success")); - - List arrearagePhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("AddBulkPhoneNumbersResponse.ArrearagePhoneNumbers.Length"); i++) { - arrearagePhoneNumbers.add(_ctx.stringValue("AddBulkPhoneNumbersResponse.ArrearagePhoneNumbers["+ i +"]")); - } - addBulkPhoneNumbersResponse.setArrearagePhoneNumbers(arrearagePhoneNumbers); - - List failedPhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("AddBulkPhoneNumbersResponse.FailedPhoneNumbers.Length"); i++) { - failedPhoneNumbers.add(_ctx.stringValue("AddBulkPhoneNumbersResponse.FailedPhoneNumbers["+ i +"]")); - } - addBulkPhoneNumbersResponse.setFailedPhoneNumbers(failedPhoneNumbers); - - List userdPhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("AddBulkPhoneNumbersResponse.UserdPhoneNumbers.Length"); i++) { - userdPhoneNumbers.add(_ctx.stringValue("AddBulkPhoneNumbersResponse.UserdPhoneNumbers["+ i +"]")); - } - addBulkPhoneNumbersResponse.setUserdPhoneNumbers(userdPhoneNumbers); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("AddBulkPhoneNumbersResponse.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].PhoneNumberId")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setType(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.Type")); - contactFlow.setContactFlowDescription(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowDescription")); - contactFlow.setInstanceId(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.InstanceId")); - contactFlow.setContactFlowName(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowName")); - contactFlow.setContactFlowId(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowId")); - phoneNumber.setContactFlow(contactFlow); - - List skillGroups = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups.Length"); j++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setSkillGroupName(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups["+ j +"].SkillGroupName")); - skillGroup.setSkillGroupId(_ctx.stringValue("AddBulkPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups["+ j +"].SkillGroupId")); - - skillGroups.add(skillGroup); - } - phoneNumber.setSkillGroups(skillGroups); - - phoneNumbers.add(phoneNumber); - } - addBulkPhoneNumbersResponse.setPhoneNumbers(phoneNumbers); - - return addBulkPhoneNumbersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneNumberResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneNumberResponseUnmarshaller.java deleted file mode 100644 index a2f90ae457..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneNumberResponseUnmarshaller.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.AddPhoneNumberResponse; -import com.aliyuncs.ccc.model.v20170705.AddPhoneNumberResponse.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.AddPhoneNumberResponse.PhoneNumber.ContactFlow; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddPhoneNumberResponseUnmarshaller { - - public static AddPhoneNumberResponse unmarshall(AddPhoneNumberResponse addPhoneNumberResponse, UnmarshallerContext _ctx) { - - addPhoneNumberResponse.setRequestId(_ctx.stringValue("AddPhoneNumberResponse.RequestId")); - addPhoneNumberResponse.setHttpStatusCode(_ctx.integerValue("AddPhoneNumberResponse.HttpStatusCode")); - addPhoneNumberResponse.setCode(_ctx.stringValue("AddPhoneNumberResponse.Code")); - addPhoneNumberResponse.setMessage(_ctx.stringValue("AddPhoneNumberResponse.Message")); - addPhoneNumberResponse.setSuccess(_ctx.booleanValue("AddPhoneNumberResponse.Success")); - - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("AddPhoneNumberResponse.PhoneNumber.TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("AddPhoneNumberResponse.PhoneNumber.Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("AddPhoneNumberResponse.PhoneNumber.RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.Number")); - phoneNumber.setInstanceId(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("AddPhoneNumberResponse.PhoneNumber.AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.PhoneNumberId")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setType(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.ContactFlow.Type")); - contactFlow.setContactFlowDescription(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowDescription")); - contactFlow.setInstanceId(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.ContactFlow.InstanceId")); - contactFlow.setContactFlowName(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowName")); - contactFlow.setContactFlowId(_ctx.stringValue("AddPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowId")); - phoneNumber.setContactFlow(contactFlow); - addPhoneNumberResponse.setPhoneNumber(phoneNumber); - - return addPhoneNumberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneTagsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneTagsResponseUnmarshaller.java deleted file mode 100644 index d87522c824..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AddPhoneTagsResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.AddPhoneTagsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddPhoneTagsResponseUnmarshaller { - - public static AddPhoneTagsResponse unmarshall(AddPhoneTagsResponse addPhoneTagsResponse, UnmarshallerContext _ctx) { - - addPhoneTagsResponse.setRequestId(_ctx.stringValue("AddPhoneTagsResponse.RequestId")); - addPhoneTagsResponse.setHttpStatusCode(_ctx.integerValue("AddPhoneTagsResponse.HttpStatusCode")); - addPhoneTagsResponse.setCode(_ctx.stringValue("AddPhoneTagsResponse.Code")); - addPhoneTagsResponse.setMessage(_ctx.stringValue("AddPhoneTagsResponse.Message")); - addPhoneTagsResponse.setSuccess(_ctx.booleanValue("AddPhoneTagsResponse.Success")); - - return addPhoneTagsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AssignUsersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AssignUsersResponseUnmarshaller.java deleted file mode 100644 index 656c319fd2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/AssignUsersResponseUnmarshaller.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.AssignUsersResponse; -import com.aliyuncs.ccc.model.v20170705.AssignUsersResponse.User; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AssignUsersResponseUnmarshaller { - - public static AssignUsersResponse unmarshall(AssignUsersResponse assignUsersResponse, UnmarshallerContext _ctx) { - - assignUsersResponse.setRequestId(_ctx.stringValue("AssignUsersResponse.RequestId")); - assignUsersResponse.setHttpStatusCode(_ctx.integerValue("AssignUsersResponse.HttpStatusCode")); - assignUsersResponse.setCode(_ctx.stringValue("AssignUsersResponse.Code")); - assignUsersResponse.setMessage(_ctx.stringValue("AssignUsersResponse.Message")); - assignUsersResponse.setSuccess(_ctx.booleanValue("AssignUsersResponse.Success")); - - List data = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("AssignUsersResponse.Data.Length"); i++) { - User user = new User(); - user.setInstanceId(_ctx.stringValue("AssignUsersResponse.Data["+ i +"].InstanceId")); - user.setUserId(_ctx.stringValue("AssignUsersResponse.Data["+ i +"].UserId")); - user.setRamId(_ctx.stringValue("AssignUsersResponse.Data["+ i +"].RamId")); - user.setPrimary(_ctx.booleanValue("AssignUsersResponse.Data["+ i +"].Primary")); - - data.add(user); - } - assignUsersResponse.setData(data); - - return assignUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CallOnlinePrivacyNumberResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CallOnlinePrivacyNumberResponseUnmarshaller.java deleted file mode 100644 index 3edeb49ec6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CallOnlinePrivacyNumberResponseUnmarshaller.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CallOnlinePrivacyNumberResponse; -import com.aliyuncs.ccc.model.v20170705.CallOnlinePrivacyNumberResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CallOnlinePrivacyNumberResponseUnmarshaller { - - public static CallOnlinePrivacyNumberResponse unmarshall(CallOnlinePrivacyNumberResponse callOnlinePrivacyNumberResponse, UnmarshallerContext _ctx) { - - callOnlinePrivacyNumberResponse.setRequestId(_ctx.stringValue("CallOnlinePrivacyNumberResponse.RequestId")); - callOnlinePrivacyNumberResponse.setHttpStatusCode(_ctx.integerValue("CallOnlinePrivacyNumberResponse.HttpStatusCode")); - callOnlinePrivacyNumberResponse.setCode(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Code")); - callOnlinePrivacyNumberResponse.setMessage(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Message")); - callOnlinePrivacyNumberResponse.setSuccess(_ctx.booleanValue("CallOnlinePrivacyNumberResponse.Success")); - - Data data = new Data(); - data.setDateCreated(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Data.DateCreated")); - data.setRepresent(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Data.Represent")); - data.setTelX(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Data.TelX")); - data.setStatusCode(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Data.StatusCode")); - data.setCallId(_ctx.stringValue("CallOnlinePrivacyNumberResponse.Data.CallId")); - callOnlinePrivacyNumberResponse.setData(data); - - return callOnlinePrivacyNumberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CheckNumberAvaliableResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CheckNumberAvaliableResponseUnmarshaller.java deleted file mode 100644 index 8ffe326fa7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CheckNumberAvaliableResponseUnmarshaller.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CheckNumberAvaliableResponse; -import com.aliyuncs.ccc.model.v20170705.CheckNumberAvaliableResponse.CalleeAvaliable; -import com.aliyuncs.ccc.model.v20170705.CheckNumberAvaliableResponse.CallerAvaliable; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CheckNumberAvaliableResponseUnmarshaller { - - public static CheckNumberAvaliableResponse unmarshall(CheckNumberAvaliableResponse checkNumberAvaliableResponse, UnmarshallerContext _ctx) { - - checkNumberAvaliableResponse.setRequestId(_ctx.stringValue("CheckNumberAvaliableResponse.RequestId")); - checkNumberAvaliableResponse.setHttpStatusCode(_ctx.integerValue("CheckNumberAvaliableResponse.HttpStatusCode")); - checkNumberAvaliableResponse.setCode(_ctx.stringValue("CheckNumberAvaliableResponse.Code")); - checkNumberAvaliableResponse.setMessage(_ctx.stringValue("CheckNumberAvaliableResponse.Message")); - checkNumberAvaliableResponse.setSuccess(_ctx.booleanValue("CheckNumberAvaliableResponse.Success")); - - CallerAvaliable callerAvaliable = new CallerAvaliable(); - callerAvaliable.setAvaliable(_ctx.booleanValue("CheckNumberAvaliableResponse.CallerAvaliable.Avaliable")); - callerAvaliable.setReason(_ctx.stringValue("CheckNumberAvaliableResponse.CallerAvaliable.Reason")); - checkNumberAvaliableResponse.setCallerAvaliable(callerAvaliable); - - CalleeAvaliable calleeAvaliable = new CalleeAvaliable(); - calleeAvaliable.setAvaliable(_ctx.booleanValue("CheckNumberAvaliableResponse.CalleeAvaliable.Avaliable")); - calleeAvaliable.setReason(_ctx.stringValue("CheckNumberAvaliableResponse.CalleeAvaliable.Reason")); - checkNumberAvaliableResponse.setCalleeAvaliable(calleeAvaliable); - - return checkNumberAvaliableResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CommitContactFlowVersionModificationResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CommitContactFlowVersionModificationResponseUnmarshaller.java deleted file mode 100644 index 2ca8b89d84..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CommitContactFlowVersionModificationResponseUnmarshaller.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CommitContactFlowVersionModificationResponse; -import com.aliyuncs.ccc.model.v20170705.CommitContactFlowVersionModificationResponse.ContactFlowVersion; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CommitContactFlowVersionModificationResponseUnmarshaller { - - public static CommitContactFlowVersionModificationResponse unmarshall(CommitContactFlowVersionModificationResponse commitContactFlowVersionModificationResponse, UnmarshallerContext _ctx) { - - commitContactFlowVersionModificationResponse.setRequestId(_ctx.stringValue("CommitContactFlowVersionModificationResponse.RequestId")); - commitContactFlowVersionModificationResponse.setHttpStatusCode(_ctx.integerValue("CommitContactFlowVersionModificationResponse.HttpStatusCode")); - commitContactFlowVersionModificationResponse.setCode(_ctx.stringValue("CommitContactFlowVersionModificationResponse.Code")); - commitContactFlowVersionModificationResponse.setMessage(_ctx.stringValue("CommitContactFlowVersionModificationResponse.Message")); - commitContactFlowVersionModificationResponse.setSuccess(_ctx.booleanValue("CommitContactFlowVersionModificationResponse.Success")); - - ContactFlowVersion contactFlowVersion = new ContactFlowVersion(); - contactFlowVersion.setStatus(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.Status")); - contactFlowVersion.setLastModified(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.LastModified")); - contactFlowVersion.setCanvas(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.Canvas")); - contactFlowVersion.setLockedBy(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.LockedBy")); - contactFlowVersion.setVersion(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.Version")); - contactFlowVersion.setContactFlowVersionId(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.ContactFlowVersionId")); - contactFlowVersion.setLastModifiedBy(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.LastModifiedBy")); - contactFlowVersion.setContactFlowVersionDescription(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.ContactFlowVersionDescription")); - contactFlowVersion.setContent(_ctx.stringValue("CommitContactFlowVersionModificationResponse.ContactFlowVersion.Content")); - commitContactFlowVersionModificationResponse.setContactFlowVersion(contactFlowVersion); - - return commitContactFlowVersionModificationResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateContactFlowResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateContactFlowResponseUnmarshaller.java deleted file mode 100644 index 7005073c04..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateContactFlowResponseUnmarshaller.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.CreateContactFlowResponse; -import com.aliyuncs.ccc.model.v20170705.CreateContactFlowResponse.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.CreateContactFlowResponse.ContactFlow.ContactFlowVersion; -import com.aliyuncs.ccc.model.v20170705.CreateContactFlowResponse.ContactFlow.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateContactFlowResponseUnmarshaller { - - public static CreateContactFlowResponse unmarshall(CreateContactFlowResponse createContactFlowResponse, UnmarshallerContext _ctx) { - - createContactFlowResponse.setRequestId(_ctx.stringValue("CreateContactFlowResponse.RequestId")); - createContactFlowResponse.setHttpStatusCode(_ctx.integerValue("CreateContactFlowResponse.HttpStatusCode")); - createContactFlowResponse.setCode(_ctx.stringValue("CreateContactFlowResponse.Code")); - createContactFlowResponse.setMessage(_ctx.stringValue("CreateContactFlowResponse.Message")); - createContactFlowResponse.setSuccess(_ctx.booleanValue("CreateContactFlowResponse.Success")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setContactFlowDescription(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.ContactFlowDescription")); - contactFlow.setType(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Type")); - contactFlow.setContactFlowName(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.ContactFlowName")); - contactFlow.setInstanceId(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.InstanceId")); - contactFlow.setContactFlowId(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.ContactFlowId")); - contactFlow.setAppliedVersion(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.AppliedVersion")); - - List versions = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateContactFlowResponse.ContactFlow.Versions.Length"); i++) { - ContactFlowVersion contactFlowVersion = new ContactFlowVersion(); - contactFlowVersion.setStatus(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].Status")); - contactFlowVersion.setLastModified(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].LastModified")); - contactFlowVersion.setCanvas(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].Canvas")); - contactFlowVersion.setLockedBy(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].LockedBy")); - contactFlowVersion.setVersion(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].Version")); - contactFlowVersion.setContactFlowVersionId(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].ContactFlowVersionId")); - contactFlowVersion.setLastModifiedBy(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].LastModifiedBy")); - contactFlowVersion.setContactFlowVersionDescription(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].ContactFlowVersionDescription")); - contactFlowVersion.setContent(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.Versions["+ i +"].Content")); - - versions.add(contactFlowVersion); - } - contactFlow.setVersions(versions); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("CreateContactFlowResponse.ContactFlow.PhoneNumbers["+ i +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - contactFlow.setPhoneNumbers(phoneNumbers); - createContactFlowResponse.setContactFlow(contactFlow); - - return createContactFlowResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateFaultResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateFaultResponseUnmarshaller.java deleted file mode 100644 index acdf062f20..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateFaultResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CreateFaultResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateFaultResponseUnmarshaller { - - public static CreateFaultResponse unmarshall(CreateFaultResponse createFaultResponse, UnmarshallerContext _ctx) { - - createFaultResponse.setRequestId(_ctx.stringValue("CreateFaultResponse.RequestId")); - createFaultResponse.setHttpStatusCode(_ctx.integerValue("CreateFaultResponse.HttpStatusCode")); - createFaultResponse.setCode(_ctx.stringValue("CreateFaultResponse.Code")); - createFaultResponse.setMessage(_ctx.stringValue("CreateFaultResponse.Message")); - createFaultResponse.setSuccess(_ctx.booleanValue("CreateFaultResponse.Success")); - - return createFaultResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateInstanceResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateInstanceResponseUnmarshaller.java deleted file mode 100644 index 136a0698c1..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateInstanceResponseUnmarshaller.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.CreateInstanceResponse; -import com.aliyuncs.ccc.model.v20170705.CreateInstanceResponse.Instance; -import com.aliyuncs.ccc.model.v20170705.CreateInstanceResponse.Instance.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.CreateInstanceResponse.Instance.User; -import com.aliyuncs.ccc.model.v20170705.CreateInstanceResponse.Instance.User.Detail; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateInstanceResponseUnmarshaller { - - public static CreateInstanceResponse unmarshall(CreateInstanceResponse createInstanceResponse, UnmarshallerContext _ctx) { - - createInstanceResponse.setRequestId(_ctx.stringValue("CreateInstanceResponse.RequestId")); - createInstanceResponse.setHttpStatusCode(_ctx.integerValue("CreateInstanceResponse.HttpStatusCode")); - createInstanceResponse.setCode(_ctx.stringValue("CreateInstanceResponse.Code")); - createInstanceResponse.setMessage(_ctx.stringValue("CreateInstanceResponse.Message")); - createInstanceResponse.setSuccess(_ctx.booleanValue("CreateInstanceResponse.Success")); - - Instance instance = new Instance(); - instance.setStatus(_ctx.stringValue("CreateInstanceResponse.Instance.Status")); - instance.setOwner(_ctx.stringValue("CreateInstanceResponse.Instance.Owner")); - instance.setStorageMaxDays(_ctx.integerValue("CreateInstanceResponse.Instance.StorageMaxDays")); - instance.setStorageMaxSize(_ctx.integerValue("CreateInstanceResponse.Instance.StorageMaxSize")); - instance.setMaxOnlineAgents(_ctx.integerValue("CreateInstanceResponse.Instance.MaxOnlineAgents")); - instance.setInstanceId(_ctx.stringValue("CreateInstanceResponse.Instance.InstanceId")); - instance.setInstanceDescription(_ctx.stringValue("CreateInstanceResponse.Instance.InstanceDescription")); - instance.setDomainName(_ctx.stringValue("CreateInstanceResponse.Instance.DomainName")); - instance.setConsoleUrl(_ctx.stringValue("CreateInstanceResponse.Instance.ConsoleUrl")); - instance.setInstanceName(_ctx.stringValue("CreateInstanceResponse.Instance.InstanceName")); - instance.setStorageBucket(_ctx.stringValue("CreateInstanceResponse.Instance.StorageBucket")); - instance.setCreatedTime(_ctx.longValue("CreateInstanceResponse.Instance.CreatedTime")); - instance.setDirectoryId(_ctx.stringValue("CreateInstanceResponse.Instance.DirectoryId")); - instance.setTenantId(_ctx.stringValue("CreateInstanceResponse.Instance.TenantId")); - - List successPhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.SuccessPhoneNumbers.Length"); i++) { - successPhoneNumbers.add(_ctx.stringValue("CreateInstanceResponse.Instance.SuccessPhoneNumbers["+ i +"]")); - } - instance.setSuccessPhoneNumbers(successPhoneNumbers); - - List successLoginNames = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.SuccessLoginNames.Length"); i++) { - successLoginNames.add(_ctx.stringValue("CreateInstanceResponse.Instance.SuccessLoginNames["+ i +"]")); - } - instance.setSuccessLoginNames(successLoginNames); - - List failPhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.FailPhoneNumbers.Length"); i++) { - failPhoneNumbers.add(_ctx.stringValue("CreateInstanceResponse.Instance.FailPhoneNumbers["+ i +"]")); - } - instance.setFailPhoneNumbers(failPhoneNumbers); - - List failLoginNames = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.FailLoginNames.Length"); i++) { - failLoginNames.add(_ctx.stringValue("CreateInstanceResponse.Instance.FailLoginNames["+ i +"]")); - } - instance.setFailLoginNames(failLoginNames); - - List admin = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.Admin.Length"); i++) { - User user = new User(); - user.setInstanceId(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].InstanceId")); - user.setRamId(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].RamId")); - user.setUserId(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("CreateInstanceResponse.Instance.Admin["+ i +"].Detail.Phone")); - user.setDetail(detail); - - admin.add(user); - } - instance.setAdmin(admin); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("CreateInstanceResponse.Instance.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("CreateInstanceResponse.Instance.PhoneNumbers["+ i +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - instance.setPhoneNumbers(phoneNumbers); - createInstanceResponse.setInstance(instance); - - return createInstanceResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateMediaResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateMediaResponseUnmarshaller.java deleted file mode 100644 index 29f4e931ad..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateMediaResponseUnmarshaller.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CreateMediaResponse; -import com.aliyuncs.ccc.model.v20170705.CreateMediaResponse.MediaUploadParam; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateMediaResponseUnmarshaller { - - public static CreateMediaResponse unmarshall(CreateMediaResponse createMediaResponse, UnmarshallerContext _ctx) { - - createMediaResponse.setRequestId(_ctx.stringValue("CreateMediaResponse.RequestId")); - createMediaResponse.setHttpStatusCode(_ctx.integerValue("CreateMediaResponse.HttpStatusCode")); - createMediaResponse.setCode(_ctx.stringValue("CreateMediaResponse.Code")); - createMediaResponse.setMessage(_ctx.stringValue("CreateMediaResponse.Message")); - createMediaResponse.setSuccess(_ctx.booleanValue("CreateMediaResponse.Success")); - - MediaUploadParam mediaUploadParam = new MediaUploadParam(); - mediaUploadParam.setInstance(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.Instance")); - mediaUploadParam.setOssFilePath(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.OssFilePath")); - mediaUploadParam.setFileName(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.FileName")); - mediaUploadParam.setName(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.Name")); - mediaUploadParam.setId(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.Id")); - mediaUploadParam.setOssFileName(_ctx.stringValue("CreateMediaResponse.MediaUploadParam.OssFileName")); - createMediaResponse.setMediaUploadParam(mediaUploadParam); - - return createMediaResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateSkillGroupResponseUnmarshaller.java deleted file mode 100644 index c1a59c8c2f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CreateSkillGroupResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateSkillGroupResponseUnmarshaller { - - public static CreateSkillGroupResponse unmarshall(CreateSkillGroupResponse createSkillGroupResponse, UnmarshallerContext _ctx) { - - createSkillGroupResponse.setRequestId(_ctx.stringValue("CreateSkillGroupResponse.RequestId")); - createSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("CreateSkillGroupResponse.HttpStatusCode")); - createSkillGroupResponse.setSuccess(_ctx.booleanValue("CreateSkillGroupResponse.Success")); - createSkillGroupResponse.setSkillGroupId(_ctx.stringValue("CreateSkillGroupResponse.SkillGroupId")); - createSkillGroupResponse.setCode(_ctx.stringValue("CreateSkillGroupResponse.Code")); - createSkillGroupResponse.setMessage(_ctx.stringValue("CreateSkillGroupResponse.Message")); - - return createSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateUserResponseUnmarshaller.java deleted file mode 100644 index 2693b3b171..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateUserResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CreateUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateUserResponseUnmarshaller { - - public static CreateUserResponse unmarshall(CreateUserResponse createUserResponse, UnmarshallerContext _ctx) { - - createUserResponse.setRequestId(_ctx.stringValue("CreateUserResponse.RequestId")); - createUserResponse.setHttpStatusCode(_ctx.integerValue("CreateUserResponse.HttpStatusCode")); - createUserResponse.setSuccess(_ctx.booleanValue("CreateUserResponse.Success")); - createUserResponse.setUserId(_ctx.stringValue("CreateUserResponse.UserId")); - createUserResponse.setCode(_ctx.stringValue("CreateUserResponse.Code")); - createUserResponse.setMessage(_ctx.stringValue("CreateUserResponse.Message")); - - return createUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateVoiceAppraiseResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateVoiceAppraiseResponseUnmarshaller.java deleted file mode 100644 index da3f6424ab..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/CreateVoiceAppraiseResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.CreateVoiceAppraiseResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class CreateVoiceAppraiseResponseUnmarshaller { - - public static CreateVoiceAppraiseResponse unmarshall(CreateVoiceAppraiseResponse createVoiceAppraiseResponse, UnmarshallerContext _ctx) { - - createVoiceAppraiseResponse.setRequestId(_ctx.stringValue("CreateVoiceAppraiseResponse.RequestId")); - createVoiceAppraiseResponse.setHttpStatusCode(_ctx.integerValue("CreateVoiceAppraiseResponse.HttpStatusCode")); - createVoiceAppraiseResponse.setCode(_ctx.stringValue("CreateVoiceAppraiseResponse.Code")); - createVoiceAppraiseResponse.setMessage(_ctx.stringValue("CreateVoiceAppraiseResponse.Message")); - createVoiceAppraiseResponse.setSuccess(_ctx.booleanValue("CreateVoiceAppraiseResponse.Success")); - - return createVoiceAppraiseResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteInstanceResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteInstanceResponseUnmarshaller.java deleted file mode 100644 index 510e508753..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteInstanceResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DeleteInstanceResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeleteInstanceResponseUnmarshaller { - - public static DeleteInstanceResponse unmarshall(DeleteInstanceResponse deleteInstanceResponse, UnmarshallerContext _ctx) { - - deleteInstanceResponse.setRequestId(_ctx.stringValue("DeleteInstanceResponse.RequestId")); - deleteInstanceResponse.setHttpStatusCode(_ctx.integerValue("DeleteInstanceResponse.HttpStatusCode")); - deleteInstanceResponse.setCode(_ctx.stringValue("DeleteInstanceResponse.Code")); - deleteInstanceResponse.setMessage(_ctx.stringValue("DeleteInstanceResponse.Message")); - deleteInstanceResponse.setSuccess(_ctx.booleanValue("DeleteInstanceResponse.Success")); - - return deleteInstanceResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteMediaResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteMediaResponseUnmarshaller.java deleted file mode 100644 index 7eed7caa07..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteMediaResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DeleteMediaResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeleteMediaResponseUnmarshaller { - - public static DeleteMediaResponse unmarshall(DeleteMediaResponse deleteMediaResponse, UnmarshallerContext _ctx) { - - deleteMediaResponse.setRequestId(_ctx.stringValue("DeleteMediaResponse.RequestId")); - deleteMediaResponse.setHttpStatusCode(_ctx.integerValue("DeleteMediaResponse.HttpStatusCode")); - deleteMediaResponse.setCode(_ctx.stringValue("DeleteMediaResponse.Code")); - deleteMediaResponse.setMessage(_ctx.stringValue("DeleteMediaResponse.Message")); - deleteMediaResponse.setSuccess(_ctx.booleanValue("DeleteMediaResponse.Success")); - - return deleteMediaResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeletePhoneTagsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeletePhoneTagsResponseUnmarshaller.java deleted file mode 100644 index d5ce9ad717..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeletePhoneTagsResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DeletePhoneTagsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeletePhoneTagsResponseUnmarshaller { - - public static DeletePhoneTagsResponse unmarshall(DeletePhoneTagsResponse deletePhoneTagsResponse, UnmarshallerContext _ctx) { - - deletePhoneTagsResponse.setRequestId(_ctx.stringValue("DeletePhoneTagsResponse.RequestId")); - deletePhoneTagsResponse.setHttpStatusCode(_ctx.integerValue("DeletePhoneTagsResponse.HttpStatusCode")); - deletePhoneTagsResponse.setCode(_ctx.stringValue("DeletePhoneTagsResponse.Code")); - deletePhoneTagsResponse.setMessage(_ctx.stringValue("DeletePhoneTagsResponse.Message")); - deletePhoneTagsResponse.setSuccess(_ctx.booleanValue("DeletePhoneTagsResponse.Success")); - - return deletePhoneTagsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteSkillGroupResponseUnmarshaller.java deleted file mode 100644 index ff8cd777fb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DeleteSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DeleteSkillGroupResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeleteSkillGroupResponseUnmarshaller { - - public static DeleteSkillGroupResponse unmarshall(DeleteSkillGroupResponse deleteSkillGroupResponse, UnmarshallerContext _ctx) { - - deleteSkillGroupResponse.setRequestId(_ctx.stringValue("DeleteSkillGroupResponse.RequestId")); - deleteSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("DeleteSkillGroupResponse.HttpStatusCode")); - deleteSkillGroupResponse.setCode(_ctx.stringValue("DeleteSkillGroupResponse.Code")); - deleteSkillGroupResponse.setMessage(_ctx.stringValue("DeleteSkillGroupResponse.Message")); - deleteSkillGroupResponse.setSuccess(_ctx.booleanValue("DeleteSkillGroupResponse.Success")); - - return deleteSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DialExResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DialExResponseUnmarshaller.java deleted file mode 100644 index 25d19882b5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DialExResponseUnmarshaller.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DialExResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DialExResponseUnmarshaller { - - public static DialExResponse unmarshall(DialExResponse dialExResponse, UnmarshallerContext _ctx) { - - dialExResponse.setRequestId(_ctx.stringValue("DialExResponse.RequestId")); - dialExResponse.setHttpStatusCode(_ctx.integerValue("DialExResponse.HttpStatusCode")); - dialExResponse.setSuccess(_ctx.booleanValue("DialExResponse.Success")); - dialExResponse.setStatusCode(_ctx.stringValue("DialExResponse.StatusCode")); - dialExResponse.setCode(_ctx.stringValue("DialExResponse.Code")); - dialExResponse.setMessage(_ctx.stringValue("DialExResponse.Message")); - dialExResponse.setTimeStamp(_ctx.stringValue("DialExResponse.TimeStamp")); - dialExResponse.setTaskId(_ctx.stringValue("DialExResponse.TaskId")); - dialExResponse.setStatusDesc(_ctx.stringValue("DialExResponse.StatusDesc")); - - return dialExResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DisableTrunkProvidersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DisableTrunkProvidersResponseUnmarshaller.java deleted file mode 100644 index b16b3cfd04..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DisableTrunkProvidersResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DisableTrunkProvidersResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DisableTrunkProvidersResponseUnmarshaller { - - public static DisableTrunkProvidersResponse unmarshall(DisableTrunkProvidersResponse disableTrunkProvidersResponse, UnmarshallerContext _ctx) { - - disableTrunkProvidersResponse.setRequestId(_ctx.stringValue("DisableTrunkProvidersResponse.RequestId")); - disableTrunkProvidersResponse.setHttpStatusCode(_ctx.integerValue("DisableTrunkProvidersResponse.HttpStatusCode")); - disableTrunkProvidersResponse.setCode(_ctx.stringValue("DisableTrunkProvidersResponse.Code")); - disableTrunkProvidersResponse.setMessage(_ctx.stringValue("DisableTrunkProvidersResponse.Message")); - disableTrunkProvidersResponse.setSuccess(_ctx.booleanValue("DisableTrunkProvidersResponse.Success")); - - return disableTrunkProvidersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadAllTypeRecordingResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadAllTypeRecordingResponseUnmarshaller.java deleted file mode 100644 index 115c0f3f28..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadAllTypeRecordingResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.DownloadAllTypeRecordingResponse; -import com.aliyuncs.ccc.model.v20170705.DownloadAllTypeRecordingResponse.MediaDownloadParam; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DownloadAllTypeRecordingResponseUnmarshaller { - - public static DownloadAllTypeRecordingResponse unmarshall(DownloadAllTypeRecordingResponse downloadAllTypeRecordingResponse, UnmarshallerContext _ctx) { - - downloadAllTypeRecordingResponse.setRequestId(_ctx.stringValue("DownloadAllTypeRecordingResponse.RequestId")); - downloadAllTypeRecordingResponse.setHttpStatusCode(_ctx.integerValue("DownloadAllTypeRecordingResponse.HttpStatusCode")); - downloadAllTypeRecordingResponse.setCode(_ctx.stringValue("DownloadAllTypeRecordingResponse.Code")); - downloadAllTypeRecordingResponse.setMessage(_ctx.stringValue("DownloadAllTypeRecordingResponse.Message")); - downloadAllTypeRecordingResponse.setSuccess(_ctx.booleanValue("DownloadAllTypeRecordingResponse.Success")); - - List mediaDownloadParamList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DownloadAllTypeRecordingResponse.MediaDownloadParamList.Length"); i++) { - MediaDownloadParam mediaDownloadParam = new MediaDownloadParam(); - mediaDownloadParam.setSignatureUrl(_ctx.stringValue("DownloadAllTypeRecordingResponse.MediaDownloadParamList["+ i +"].SignatureUrl")); - mediaDownloadParam.setFileName(_ctx.stringValue("DownloadAllTypeRecordingResponse.MediaDownloadParamList["+ i +"].FileName")); - - mediaDownloadParamList.add(mediaDownloadParam); - } - downloadAllTypeRecordingResponse.setMediaDownloadParamList(mediaDownloadParamList); - - return downloadAllTypeRecordingResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadRecordingResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadRecordingResponseUnmarshaller.java deleted file mode 100644 index a9cd4a53f7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/DownloadRecordingResponseUnmarshaller.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.DownloadRecordingResponse; -import com.aliyuncs.ccc.model.v20170705.DownloadRecordingResponse.MediaDownloadParam; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DownloadRecordingResponseUnmarshaller { - - public static DownloadRecordingResponse unmarshall(DownloadRecordingResponse downloadRecordingResponse, UnmarshallerContext _ctx) { - - downloadRecordingResponse.setRequestId(_ctx.stringValue("DownloadRecordingResponse.RequestId")); - downloadRecordingResponse.setHttpStatusCode(_ctx.integerValue("DownloadRecordingResponse.HttpStatusCode")); - downloadRecordingResponse.setCode(_ctx.stringValue("DownloadRecordingResponse.Code")); - downloadRecordingResponse.setMessage(_ctx.stringValue("DownloadRecordingResponse.Message")); - downloadRecordingResponse.setSuccess(_ctx.booleanValue("DownloadRecordingResponse.Success")); - - MediaDownloadParam mediaDownloadParam = new MediaDownloadParam(); - mediaDownloadParam.setSignatureUrl(_ctx.stringValue("DownloadRecordingResponse.MediaDownloadParam.SignatureUrl")); - mediaDownloadParam.setFileName(_ctx.stringValue("DownloadRecordingResponse.MediaDownloadParam.FileName")); - downloadRecordingResponse.setMediaDownloadParam(mediaDownloadParam); - - return downloadRecordingResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/FindUsersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/FindUsersResponseUnmarshaller.java deleted file mode 100644 index 36afc6d651..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/FindUsersResponseUnmarshaller.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users.User; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users.User.Detail; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users.User.Role; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.FindUsersResponse.Users.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class FindUsersResponseUnmarshaller { - - public static FindUsersResponse unmarshall(FindUsersResponse findUsersResponse, UnmarshallerContext _ctx) { - - findUsersResponse.setRequestId(_ctx.stringValue("FindUsersResponse.RequestId")); - findUsersResponse.setHttpStatusCode(_ctx.integerValue("FindUsersResponse.HttpStatusCode")); - findUsersResponse.setCode(_ctx.stringValue("FindUsersResponse.Code")); - findUsersResponse.setMessage(_ctx.stringValue("FindUsersResponse.Message")); - findUsersResponse.setSuccess(_ctx.booleanValue("FindUsersResponse.Success")); - - Users users = new Users(); - users.setPageNumber(_ctx.integerValue("FindUsersResponse.Users.PageNumber")); - users.setPageSize(_ctx.integerValue("FindUsersResponse.Users.PageSize")); - users.setTotalCount(_ctx.integerValue("FindUsersResponse.Users.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("FindUsersResponse.Users.List.Length"); i++) { - User user = new User(); - user.setPrivateOutboundNumberId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].PrivateOutboundNumberId")); - user.setInstanceId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].InstanceId")); - user.setRamId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].RamId")); - user.setUserId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Detail.Phone")); - user.setDetail(detail); - - List roles = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("FindUsersResponse.Users.List["+ i +"].Roles.Length"); j++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Roles["+ j +"].InstanceId")); - role.setRoleName(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleId")); - - roles.add(role); - } - user.setRoles(roles); - - List skillLevels = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("FindUsersResponse.Users.List["+ i +"].SkillLevels.Length"); j++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("FindUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - - list.add(user); - } - users.setList(list); - findUsersResponse.setUsers(users); - - return findUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GenerateAgentStatisticReportResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GenerateAgentStatisticReportResponseUnmarshaller.java deleted file mode 100644 index 8019c512a2..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GenerateAgentStatisticReportResponseUnmarshaller.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse; -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse.DataList; -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse.DataList.GenerateAgentStatistic; -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse.DataList.GenerateAgentStatistic.Inbound; -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse.DataList.GenerateAgentStatistic.Outbound; -import com.aliyuncs.ccc.model.v20170705.GenerateAgentStatisticReportResponse.DataList.GenerateAgentStatistic.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GenerateAgentStatisticReportResponseUnmarshaller { - - public static GenerateAgentStatisticReportResponse unmarshall(GenerateAgentStatisticReportResponse generateAgentStatisticReportResponse, UnmarshallerContext _ctx) { - - generateAgentStatisticReportResponse.setRequestId(_ctx.stringValue("GenerateAgentStatisticReportResponse.RequestId")); - generateAgentStatisticReportResponse.setHttpStatusCode(_ctx.integerValue("GenerateAgentStatisticReportResponse.HttpStatusCode")); - generateAgentStatisticReportResponse.setCode(_ctx.stringValue("GenerateAgentStatisticReportResponse.Code")); - generateAgentStatisticReportResponse.setMessage(_ctx.stringValue("GenerateAgentStatisticReportResponse.Message")); - generateAgentStatisticReportResponse.setSuccess(_ctx.booleanValue("GenerateAgentStatisticReportResponse.Success")); - - DataList dataList = new DataList(); - dataList.setPageNumber(_ctx.integerValue("GenerateAgentStatisticReportResponse.DataList.PageNumber")); - dataList.setPageSize(_ctx.integerValue("GenerateAgentStatisticReportResponse.DataList.PageSize")); - dataList.setTotalCount(_ctx.integerValue("GenerateAgentStatisticReportResponse.DataList.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GenerateAgentStatisticReportResponse.DataList.List.Length"); i++) { - GenerateAgentStatistic generateAgentStatistic = new GenerateAgentStatistic(); - generateAgentStatistic.setTotalLoggedInTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].TotalLoggedInTime")); - generateAgentStatistic.setOccupancyRate(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].OccupancyRate")); - generateAgentStatistic.setLoginName(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].LoginName")); - generateAgentStatistic.setAgentId(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].AgentId")); - generateAgentStatistic.setRecordDate(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].RecordDate")); - generateAgentStatistic.setAgentName(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].AgentName")); - generateAgentStatistic.setInstanceId(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].InstanceId")); - generateAgentStatistic.setAverageReadyTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].AverageReadyTime")); - generateAgentStatistic.setMaxReadyTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].MaxReadyTime")); - generateAgentStatistic.setSkillGroupNames(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].SkillGroupNames")); - generateAgentStatistic.setSkillGroupIds(_ctx.stringValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].SkillGroupIds")); - generateAgentStatistic.setTotalBreakTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].TotalBreakTime")); - generateAgentStatistic.setTotalReadyTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].TotalReadyTime")); - - Inbound inbound = new Inbound(); - inbound.setTotalTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setAverageRingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsOffered(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.CallsOffered")); - inbound.setCallsHandled(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.MaxHoldTime")); - inbound.setMaxWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setTotalHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.TotalHoldTime")); - inbound.setAverageWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setAverageTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setAverageHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.AverageHoldTime")); - inbound.setTotalRingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Inbound.MaxRingTime")); - generateAgentStatistic.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.MaxHoldTime")); - outbound.setMaxWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setTotalHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.TotalHoldTime")); - outbound.setAverageWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setAverageTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setAverageHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.AverageHoldTime")); - outbound.setMaxTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Outbound.AverageDialingTime")); - generateAgentStatistic.setOutbound(outbound); - - Overall overall = new Overall(); - overall.setTotalTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.TotalTalkTime")); - overall.setMaxHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.MaxHoldTime")); - overall.setTotalWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.MaxWorkTime")); - overall.setTotalHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.TotalHoldTime")); - overall.setAverageTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.AverageTalkTime")); - overall.setAverageWorkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.AverageWorkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setAverageHoldTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.AverageHoldTime")); - overall.setMaxTalkTime(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("GenerateAgentStatisticReportResponse.DataList.List["+ i +"].Overall.TotalCalls")); - generateAgentStatistic.setOverall(overall); - - list.add(generateAgentStatistic); - } - dataList.setList(list); - generateAgentStatisticReportResponse.setDataList(dataList); - - return generateAgentStatisticReportResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetAgentDataResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetAgentDataResponseUnmarshaller.java deleted file mode 100644 index 8edc566861..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetAgentDataResponseUnmarshaller.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse; -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse.DataList; -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse.DataList.GenerateAgentStatistic; -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse.DataList.GenerateAgentStatistic.Inbound; -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse.DataList.GenerateAgentStatistic.Outbound; -import com.aliyuncs.ccc.model.v20170705.GetAgentDataResponse.DataList.GenerateAgentStatistic.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetAgentDataResponseUnmarshaller { - - public static GetAgentDataResponse unmarshall(GetAgentDataResponse getAgentDataResponse, UnmarshallerContext _ctx) { - - getAgentDataResponse.setRequestId(_ctx.stringValue("GetAgentDataResponse.RequestId")); - getAgentDataResponse.setHttpStatusCode(_ctx.integerValue("GetAgentDataResponse.HttpStatusCode")); - getAgentDataResponse.setCode(_ctx.stringValue("GetAgentDataResponse.Code")); - getAgentDataResponse.setMessage(_ctx.stringValue("GetAgentDataResponse.Message")); - getAgentDataResponse.setSuccess(_ctx.booleanValue("GetAgentDataResponse.Success")); - - DataList dataList = new DataList(); - dataList.setPageNumber(_ctx.integerValue("GetAgentDataResponse.DataList.PageNumber")); - dataList.setPageSize(_ctx.integerValue("GetAgentDataResponse.DataList.PageSize")); - dataList.setTotalCount(_ctx.integerValue("GetAgentDataResponse.DataList.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetAgentDataResponse.DataList.List.Length"); i++) { - GenerateAgentStatistic generateAgentStatistic = new GenerateAgentStatistic(); - generateAgentStatistic.setTotalLoggedInTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].TotalLoggedInTime")); - generateAgentStatistic.setOccupancyRate(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].OccupancyRate")); - generateAgentStatistic.setLoginName(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].LoginName")); - generateAgentStatistic.setAgentId(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].AgentId")); - generateAgentStatistic.setRecordDate(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].RecordDate")); - generateAgentStatistic.setAgentName(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].AgentName")); - generateAgentStatistic.setInstanceId(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].InstanceId")); - generateAgentStatistic.setAverageReadyTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].AverageReadyTime")); - generateAgentStatistic.setMaxReadyTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].MaxReadyTime")); - generateAgentStatistic.setSkillGroupNames(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].SkillGroupNames")); - generateAgentStatistic.setSkillGroupIds(_ctx.stringValue("GetAgentDataResponse.DataList.List["+ i +"].SkillGroupIds")); - generateAgentStatistic.setTotalBreakTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].TotalBreakTime")); - generateAgentStatistic.setTotalReadyTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].TotalReadyTime")); - - Inbound inbound = new Inbound(); - inbound.setTotalTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setAverageRingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsOffered(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.CallsOffered")); - inbound.setCallsHandled(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.MaxHoldTime")); - inbound.setMaxWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setTotalHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.TotalHoldTime")); - inbound.setAverageWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setAverageTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setAverageHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.AverageHoldTime")); - inbound.setTotalRingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Inbound.MaxRingTime")); - generateAgentStatistic.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.MaxHoldTime")); - outbound.setMaxWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setTotalHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.TotalHoldTime")); - outbound.setAverageWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setAverageTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setAverageHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.AverageHoldTime")); - outbound.setMaxTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Outbound.AverageDialingTime")); - generateAgentStatistic.setOutbound(outbound); - - Overall overall = new Overall(); - overall.setTotalTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.TotalTalkTime")); - overall.setMaxHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.MaxHoldTime")); - overall.setTotalWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.MaxWorkTime")); - overall.setTotalHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.TotalHoldTime")); - overall.setAverageTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.AverageTalkTime")); - overall.setAverageWorkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.AverageWorkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setAverageHoldTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.AverageHoldTime")); - overall.setMaxTalkTime(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("GetAgentDataResponse.DataList.List["+ i +"].Overall.TotalCalls")); - generateAgentStatistic.setOverall(overall); - - list.add(generateAgentStatistic); - } - dataList.setList(list); - getAgentDataResponse.setDataList(dataList); - - return getAgentDataResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetCallMeasureSummaryReportResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetCallMeasureSummaryReportResponseUnmarshaller.java deleted file mode 100644 index 7e28e1206e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetCallMeasureSummaryReportResponseUnmarshaller.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetCallMeasureSummaryReportResponse; -import com.aliyuncs.ccc.model.v20170705.GetCallMeasureSummaryReportResponse.NumberReports; -import com.aliyuncs.ccc.model.v20170705.GetCallMeasureSummaryReportResponse.NumberReports.NumberReport; -import com.aliyuncs.ccc.model.v20170705.GetCallMeasureSummaryReportResponse.SummaryReport; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetCallMeasureSummaryReportResponseUnmarshaller { - - public static GetCallMeasureSummaryReportResponse unmarshall(GetCallMeasureSummaryReportResponse getCallMeasureSummaryReportResponse, UnmarshallerContext _ctx) { - - getCallMeasureSummaryReportResponse.setRequestId(_ctx.stringValue("GetCallMeasureSummaryReportResponse.RequestId")); - getCallMeasureSummaryReportResponse.setHttpStatusCode(_ctx.integerValue("GetCallMeasureSummaryReportResponse.HttpStatusCode")); - getCallMeasureSummaryReportResponse.setCode(_ctx.stringValue("GetCallMeasureSummaryReportResponse.Code")); - getCallMeasureSummaryReportResponse.setMessage(_ctx.stringValue("GetCallMeasureSummaryReportResponse.Message")); - getCallMeasureSummaryReportResponse.setSuccess(_ctx.booleanValue("GetCallMeasureSummaryReportResponse.Success")); - - SummaryReport summaryReport = new SummaryReport(); - summaryReport.setDay(_ctx.integerValue("GetCallMeasureSummaryReportResponse.SummaryReport.Day")); - summaryReport.setYear(_ctx.integerValue("GetCallMeasureSummaryReportResponse.SummaryReport.Year")); - summaryReport.setInboundDurationByMinute(_ctx.longValue("GetCallMeasureSummaryReportResponse.SummaryReport.InboundDurationByMinute")); - summaryReport.setOutboundCount(_ctx.longValue("GetCallMeasureSummaryReportResponse.SummaryReport.OutboundCount")); - summaryReport.setOutboundDurationByMinute(_ctx.longValue("GetCallMeasureSummaryReportResponse.SummaryReport.OutboundDurationByMinute")); - summaryReport.setInboundCount(_ctx.longValue("GetCallMeasureSummaryReportResponse.SummaryReport.InboundCount")); - summaryReport.setMonth(_ctx.integerValue("GetCallMeasureSummaryReportResponse.SummaryReport.Month")); - getCallMeasureSummaryReportResponse.setSummaryReport(summaryReport); - - NumberReports numberReports = new NumberReports(); - numberReports.setPageNumber(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.PageNumber")); - numberReports.setPageSize(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.PageSize")); - numberReports.setTotalCount(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetCallMeasureSummaryReportResponse.NumberReports.List.Length"); i++) { - NumberReport numberReport = new NumberReport(); - numberReport.setDay(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].Day")); - numberReport.setYear(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].Year")); - numberReport.setInboundDurationByMinute(_ctx.longValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].InboundDurationByMinute")); - numberReport.setOutboundCount(_ctx.longValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].OutboundCount")); - numberReport.setOutboundDurationByMinute(_ctx.longValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].OutboundDurationByMinute")); - numberReport.setNumber(_ctx.stringValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].Number")); - numberReport.setInboundCount(_ctx.longValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].InboundCount")); - numberReport.setMonth(_ctx.integerValue("GetCallMeasureSummaryReportResponse.NumberReports.List["+ i +"].Month")); - - list.add(numberReport); - } - numberReports.setList(list); - getCallMeasureSummaryReportResponse.setNumberReports(numberReports); - - return getCallMeasureSummaryReportResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConfigResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConfigResponseUnmarshaller.java deleted file mode 100644 index 32433dc9a6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConfigResponseUnmarshaller.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetConfigResponse; -import com.aliyuncs.ccc.model.v20170705.GetConfigResponse.ConfigItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetConfigResponseUnmarshaller { - - public static GetConfigResponse unmarshall(GetConfigResponse getConfigResponse, UnmarshallerContext _ctx) { - - getConfigResponse.setRequestId(_ctx.stringValue("GetConfigResponse.RequestId")); - getConfigResponse.setHttpStatusCode(_ctx.integerValue("GetConfigResponse.HttpStatusCode")); - getConfigResponse.setCode(_ctx.stringValue("GetConfigResponse.Code")); - getConfigResponse.setMessage(_ctx.stringValue("GetConfigResponse.Message")); - getConfigResponse.setSuccess(_ctx.booleanValue("GetConfigResponse.Success")); - - ConfigItem configItem = new ConfigItem(); - configItem.setName(_ctx.stringValue("GetConfigResponse.ConfigItem.Name")); - configItem.setValue(_ctx.stringValue("GetConfigResponse.ConfigItem.Value")); - getConfigResponse.setConfigItem(configItem); - - return getConfigResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConversationDetailByContactIdResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConversationDetailByContactIdResponseUnmarshaller.java deleted file mode 100644 index b6ba2c35cf..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetConversationDetailByContactIdResponseUnmarshaller.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetConversationDetailByContactIdResponse; -import com.aliyuncs.ccc.model.v20170705.GetConversationDetailByContactIdResponse.DataList; -import com.aliyuncs.ccc.model.v20170705.GetConversationDetailByContactIdResponse.DataList.QualityCheckPhrase; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetConversationDetailByContactIdResponseUnmarshaller { - - public static GetConversationDetailByContactIdResponse unmarshall(GetConversationDetailByContactIdResponse getConversationDetailByContactIdResponse, UnmarshallerContext _ctx) { - - getConversationDetailByContactIdResponse.setRequestId(_ctx.stringValue("GetConversationDetailByContactIdResponse.RequestId")); - getConversationDetailByContactIdResponse.setHttpStatusCode(_ctx.integerValue("GetConversationDetailByContactIdResponse.HttpStatusCode")); - getConversationDetailByContactIdResponse.setCode(_ctx.stringValue("GetConversationDetailByContactIdResponse.Code")); - getConversationDetailByContactIdResponse.setMessage(_ctx.stringValue("GetConversationDetailByContactIdResponse.Message")); - getConversationDetailByContactIdResponse.setSuccess(_ctx.booleanValue("GetConversationDetailByContactIdResponse.Success")); - - DataList dataList = new DataList(); - dataList.setPageNumber(_ctx.integerValue("GetConversationDetailByContactIdResponse.DataList.PageNumber")); - dataList.setPageSize(_ctx.integerValue("GetConversationDetailByContactIdResponse.DataList.PageSize")); - dataList.setTotalCount(_ctx.integerValue("GetConversationDetailByContactIdResponse.DataList.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetConversationDetailByContactIdResponse.DataList.List.Length"); i++) { - QualityCheckPhrase qualityCheckPhrase = new QualityCheckPhrase(); - qualityCheckPhrase.setEnd(_ctx.longValue("GetConversationDetailByContactIdResponse.DataList.List["+ i +"].End")); - qualityCheckPhrase.setWords(_ctx.stringValue("GetConversationDetailByContactIdResponse.DataList.List["+ i +"].Words")); - qualityCheckPhrase.setRole(_ctx.stringValue("GetConversationDetailByContactIdResponse.DataList.List["+ i +"].Role")); - qualityCheckPhrase.setBegin(_ctx.longValue("GetConversationDetailByContactIdResponse.DataList.List["+ i +"].Begin")); - qualityCheckPhrase.setIdentity(_ctx.stringValue("GetConversationDetailByContactIdResponse.DataList.List["+ i +"].Identity")); - - list.add(qualityCheckPhrase); - } - dataList.setList(list); - getConversationDetailByContactIdResponse.setDataList(dataList); - - return getConversationDetailByContactIdResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceResponseUnmarshaller.java deleted file mode 100644 index 6abd7c9d60..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceResponseUnmarshaller.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetInstanceResponse; -import com.aliyuncs.ccc.model.v20170705.GetInstanceResponse.Instance; -import com.aliyuncs.ccc.model.v20170705.GetInstanceResponse.Instance.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.GetInstanceResponse.Instance.User; -import com.aliyuncs.ccc.model.v20170705.GetInstanceResponse.Instance.User.Detail; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetInstanceResponseUnmarshaller { - - public static GetInstanceResponse unmarshall(GetInstanceResponse getInstanceResponse, UnmarshallerContext _ctx) { - - getInstanceResponse.setRequestId(_ctx.stringValue("GetInstanceResponse.RequestId")); - getInstanceResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceResponse.HttpStatusCode")); - getInstanceResponse.setCode(_ctx.stringValue("GetInstanceResponse.Code")); - getInstanceResponse.setMessage(_ctx.stringValue("GetInstanceResponse.Message")); - getInstanceResponse.setSuccess(_ctx.booleanValue("GetInstanceResponse.Success")); - - Instance instance = new Instance(); - instance.setStatus(_ctx.stringValue("GetInstanceResponse.Instance.Status")); - instance.setOwner(_ctx.stringValue("GetInstanceResponse.Instance.Owner")); - instance.setStorageMaxDays(_ctx.integerValue("GetInstanceResponse.Instance.StorageMaxDays")); - instance.setStorageMaxSize(_ctx.integerValue("GetInstanceResponse.Instance.StorageMaxSize")); - instance.setMaxOnlineAgents(_ctx.integerValue("GetInstanceResponse.Instance.MaxOnlineAgents")); - instance.setInstanceId(_ctx.stringValue("GetInstanceResponse.Instance.InstanceId")); - instance.setInstanceDescription(_ctx.stringValue("GetInstanceResponse.Instance.InstanceDescription")); - instance.setDomainName(_ctx.stringValue("GetInstanceResponse.Instance.DomainName")); - instance.setConsoleUrl(_ctx.stringValue("GetInstanceResponse.Instance.ConsoleUrl")); - instance.setInstanceName(_ctx.stringValue("GetInstanceResponse.Instance.InstanceName")); - instance.setStorageBucket(_ctx.stringValue("GetInstanceResponse.Instance.StorageBucket")); - instance.setCreatedTime(_ctx.longValue("GetInstanceResponse.Instance.CreatedTime")); - instance.setDirectoryId(_ctx.stringValue("GetInstanceResponse.Instance.DirectoryId")); - instance.setTenantId(_ctx.stringValue("GetInstanceResponse.Instance.TenantId")); - - List admin = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetInstanceResponse.Instance.Admin.Length"); i++) { - User user = new User(); - user.setInstanceId(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].InstanceId")); - user.setRamId(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].RamId")); - user.setUserId(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("GetInstanceResponse.Instance.Admin["+ i +"].Detail.Phone")); - user.setDetail(detail); - - admin.add(user); - } - instance.setAdmin(admin); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetInstanceResponse.Instance.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("GetInstanceResponse.Instance.PhoneNumbers["+ i +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - instance.setPhoneNumbers(phoneNumbers); - getInstanceResponse.setInstance(instance); - - return getInstanceResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceStateResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceStateResponseUnmarshaller.java deleted file mode 100644 index acaa7956f8..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceStateResponseUnmarshaller.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetInstanceStateResponse; -import com.aliyuncs.ccc.model.v20170705.GetInstanceStateResponse.RealTimeInstanceState; -import com.aliyuncs.ccc.model.v20170705.GetInstanceStateResponse.RealTimeInstanceState.AgentStateCount; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetInstanceStateResponseUnmarshaller { - - public static GetInstanceStateResponse unmarshall(GetInstanceStateResponse getInstanceStateResponse, UnmarshallerContext _ctx) { - - getInstanceStateResponse.setRequestId(_ctx.stringValue("GetInstanceStateResponse.RequestId")); - getInstanceStateResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceStateResponse.HttpStatusCode")); - getInstanceStateResponse.setCode(_ctx.stringValue("GetInstanceStateResponse.Code")); - getInstanceStateResponse.setMessage(_ctx.stringValue("GetInstanceStateResponse.Message")); - getInstanceStateResponse.setSuccess(_ctx.booleanValue("GetInstanceStateResponse.Success")); - - RealTimeInstanceState realTimeInstanceState = new RealTimeInstanceState(); - - List agentStateDistributions = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetInstanceStateResponse.RealTimeInstanceState.AgentStateDistributions.Length"); i++) { - AgentStateCount agentStateCount = new AgentStateCount(); - agentStateCount.setState(_ctx.stringValue("GetInstanceStateResponse.RealTimeInstanceState.AgentStateDistributions["+ i +"].State")); - agentStateCount.setCount(_ctx.longValue("GetInstanceStateResponse.RealTimeInstanceState.AgentStateDistributions["+ i +"].Count")); - - agentStateDistributions.add(agentStateCount); - } - realTimeInstanceState.setAgentStateDistributions(agentStateDistributions); - getInstanceStateResponse.setRealTimeInstanceState(realTimeInstanceState); - - return getInstanceStateResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportByIntervalResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportByIntervalResponseUnmarshaller.java deleted file mode 100644 index f4672678b7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportByIntervalResponseUnmarshaller.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.InstanceSummaryReport; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.InstanceSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.InstanceSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.InstanceSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetInstanceSummaryReportByIntervalResponseUnmarshaller { - - public static GetInstanceSummaryReportByIntervalResponse unmarshall(GetInstanceSummaryReportByIntervalResponse getInstanceSummaryReportByIntervalResponse, UnmarshallerContext _ctx) { - - getInstanceSummaryReportByIntervalResponse.setRequestId(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.RequestId")); - getInstanceSummaryReportByIntervalResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceSummaryReportByIntervalResponse.HttpStatusCode")); - getInstanceSummaryReportByIntervalResponse.setCode(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.Code")); - getInstanceSummaryReportByIntervalResponse.setMessage(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.Message")); - getInstanceSummaryReportByIntervalResponse.setSuccess(_ctx.booleanValue("GetInstanceSummaryReportByIntervalResponse.Success")); - - InstanceTimeIntervalReport instanceTimeIntervalReport = new InstanceTimeIntervalReport(); - instanceTimeIntervalReport.setInstanceId(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.InstanceId")); - - List intervalList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList.Length"); i++) { - InstanceSummaryReport instanceSummaryReport = new InstanceSummaryReport(); - instanceSummaryReport.setInstanceId(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].InstanceId")); - instanceSummaryReport.setTimestamp(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Timestamp")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Overall.TotalCalls")); - instanceSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setCallsIncomingLine(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsIncomingLine")); - inbound.setAverageRingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.TotalWorkTime")); - inbound.setCallsAbandonedInIVR(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsAbandonedInIVR")); - inbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.MaxWorkTime")); - inbound.setAverageWaitTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.AverageWaitTime")); - inbound.setCallsIncomingQueue(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsIncomingQueue")); - inbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.SatisfactionIndex")); - inbound.setTotalWaitTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.TotalWaitTime")); - inbound.setTotalRingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.stringValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.MaxRingTime")); - inbound.setCallsIncomingIVR(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsIncomingIVR")); - inbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsOffered")); - inbound.setMaxWaitTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.MaxWaitTime")); - inbound.setServiceLevel20(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setCallsAbandonedInQueue(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Inbound.CallsAbandonedInQueue")); - instanceSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("GetInstanceSummaryReportByIntervalResponse.InstanceTimeIntervalReport.IntervalList["+ i +"].Outbound.AverageDialingTime")); - instanceSummaryReport.setOutbound(outbound); - - intervalList.add(instanceSummaryReport); - } - instanceTimeIntervalReport.setIntervalList(intervalList); - getInstanceSummaryReportByIntervalResponse.setInstanceTimeIntervalReport(instanceTimeIntervalReport); - - return getInstanceSummaryReportByIntervalResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportResponseUnmarshaller.java deleted file mode 100644 index 1c362832e1..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportResponseUnmarshaller.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportResponse; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportResponse.InstanceSummaryReport; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetInstanceSummaryReportResponseUnmarshaller { - - public static GetInstanceSummaryReportResponse unmarshall(GetInstanceSummaryReportResponse getInstanceSummaryReportResponse, UnmarshallerContext _ctx) { - - getInstanceSummaryReportResponse.setRequestId(_ctx.stringValue("GetInstanceSummaryReportResponse.RequestId")); - getInstanceSummaryReportResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceSummaryReportResponse.HttpStatusCode")); - getInstanceSummaryReportResponse.setCode(_ctx.stringValue("GetInstanceSummaryReportResponse.Code")); - getInstanceSummaryReportResponse.setMessage(_ctx.stringValue("GetInstanceSummaryReportResponse.Message")); - getInstanceSummaryReportResponse.setSuccess(_ctx.booleanValue("GetInstanceSummaryReportResponse.Success")); - - InstanceSummaryReport instanceSummaryReport = new InstanceSummaryReport(); - instanceSummaryReport.setInstanceId(_ctx.stringValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.InstanceId")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Overall.TotalCalls")); - instanceSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setCallsIncomingLine(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsIncomingLine")); - inbound.setAverageRingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.TotalWorkTime")); - inbound.setCallsAbandonedInIVR(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsAbandonedInIVR")); - inbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.MaxWorkTime")); - inbound.setAverageWaitTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.AverageWaitTime")); - inbound.setCallsIncomingQueue(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsIncomingQueue")); - inbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.SatisfactionIndex")); - inbound.setTotalWaitTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.TotalWaitTime")); - inbound.setTotalRingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.stringValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.MaxRingTime")); - inbound.setCallsIncomingIVR(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsIncomingIVR")); - inbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsOffered")); - inbound.setMaxWaitTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.MaxWaitTime")); - inbound.setServiceLevel20(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.AverageTalkTime")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.SatisfactionSurveysResponded")); - inbound.setCallsAbandonedInQueue(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Inbound.CallsAbandonedInQueue")); - instanceSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("GetInstanceSummaryReportResponse.InstanceSummaryReport.Outbound.AverageDialingTime")); - instanceSummaryReport.setOutbound(outbound); - getInstanceSummaryReportResponse.setInstanceSummaryReport(instanceSummaryReport); - - return getInstanceSummaryReportResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportSinceMidnightResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportSinceMidnightResponseUnmarshaller.java deleted file mode 100644 index d13e49ec68..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetInstanceSummaryReportSinceMidnightResponseUnmarshaller.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportSinceMidnightResponse; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetInstanceSummaryReportSinceMidnightResponseUnmarshaller { - - public static GetInstanceSummaryReportSinceMidnightResponse unmarshall(GetInstanceSummaryReportSinceMidnightResponse getInstanceSummaryReportSinceMidnightResponse, UnmarshallerContext _ctx) { - - getInstanceSummaryReportSinceMidnightResponse.setRequestId(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.RequestId")); - getInstanceSummaryReportSinceMidnightResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceSummaryReportSinceMidnightResponse.HttpStatusCode")); - getInstanceSummaryReportSinceMidnightResponse.setCode(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.Code")); - getInstanceSummaryReportSinceMidnightResponse.setMessage(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.Message")); - getInstanceSummaryReportSinceMidnightResponse.setSuccess(_ctx.booleanValue("GetInstanceSummaryReportSinceMidnightResponse.Success")); - - InstanceSummaryReport instanceSummaryReport = new InstanceSummaryReport(); - instanceSummaryReport.setInstanceId(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.InstanceId")); - instanceSummaryReport.setTimestamp(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Timestamp")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Overall.TotalCalls")); - instanceSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setCallsIncomingLine(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsIncomingLine")); - inbound.setAverageRingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.TotalWorkTime")); - inbound.setCallsAbandonedInIVR(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsAbandonedInIVR")); - inbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.MaxWorkTime")); - inbound.setAverageWaitTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.AverageWaitTime")); - inbound.setCallsIncomingQueue(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsIncomingQueue")); - inbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.SatisfactionIndex")); - inbound.setTotalWaitTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.TotalWaitTime")); - inbound.setTotalRingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.stringValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.MaxRingTime")); - inbound.setCallsIncomingIVR(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsIncomingIVR")); - inbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsOffered")); - inbound.setMaxWaitTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.MaxWaitTime")); - inbound.setServiceLevel20(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.AverageTalkTime")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.SatisfactionSurveysResponded")); - inbound.setCallsAbandonedInQueue(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Inbound.CallsAbandonedInQueue")); - instanceSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("GetInstanceSummaryReportSinceMidnightResponse.InstanceSummaryReport.Outbound.AverageDialingTime")); - instanceSummaryReport.setOutbound(outbound); - getInstanceSummaryReportSinceMidnightResponse.setInstanceSummaryReport(instanceSummaryReport); - - return getInstanceSummaryReportSinceMidnightResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetNumberRegionInfoResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetNumberRegionInfoResponseUnmarshaller.java deleted file mode 100644 index 8dedf8c8d0..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetNumberRegionInfoResponseUnmarshaller.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetNumberRegionInfoResponse; -import com.aliyuncs.ccc.model.v20170705.GetNumberRegionInfoResponse.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetNumberRegionInfoResponseUnmarshaller { - - public static GetNumberRegionInfoResponse unmarshall(GetNumberRegionInfoResponse getNumberRegionInfoResponse, UnmarshallerContext _ctx) { - - getNumberRegionInfoResponse.setRequestId(_ctx.stringValue("GetNumberRegionInfoResponse.RequestId")); - getNumberRegionInfoResponse.setCode(_ctx.stringValue("GetNumberRegionInfoResponse.Code")); - getNumberRegionInfoResponse.setMessage(_ctx.stringValue("GetNumberRegionInfoResponse.Message")); - getNumberRegionInfoResponse.setSuccess(_ctx.booleanValue("GetNumberRegionInfoResponse.Success")); - - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setNumber(_ctx.stringValue("GetNumberRegionInfoResponse.PhoneNumber.Number")); - phoneNumber.setCity(_ctx.stringValue("GetNumberRegionInfoResponse.PhoneNumber.City")); - phoneNumber.setProvince(_ctx.stringValue("GetNumberRegionInfoResponse.PhoneNumber.Province")); - getNumberRegionInfoResponse.setPhoneNumber(phoneNumber); - - return getNumberRegionInfoResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRecordOssUploadParamResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRecordOssUploadParamResponseUnmarshaller.java deleted file mode 100644 index 8782a5b1e7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRecordOssUploadParamResponseUnmarshaller.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetRecordOssUploadParamResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetRecordOssUploadParamResponseUnmarshaller { - - public static GetRecordOssUploadParamResponse unmarshall(GetRecordOssUploadParamResponse getRecordOssUploadParamResponse, UnmarshallerContext _ctx) { - - getRecordOssUploadParamResponse.setRequestId(_ctx.stringValue("GetRecordOssUploadParamResponse.RequestId")); - getRecordOssUploadParamResponse.setOssAccessKeyId(_ctx.stringValue("GetRecordOssUploadParamResponse.OssAccessKeyId")); - getRecordOssUploadParamResponse.setHost(_ctx.stringValue("GetRecordOssUploadParamResponse.Host")); - getRecordOssUploadParamResponse.setSuccess(_ctx.booleanValue("GetRecordOssUploadParamResponse.Success")); - getRecordOssUploadParamResponse.setMessage(_ctx.stringValue("GetRecordOssUploadParamResponse.Message")); - getRecordOssUploadParamResponse.setOssFileName(_ctx.stringValue("GetRecordOssUploadParamResponse.OssFileName")); - getRecordOssUploadParamResponse.setHttpStatusCode(_ctx.integerValue("GetRecordOssUploadParamResponse.HttpStatusCode")); - getRecordOssUploadParamResponse.setSignature(_ctx.stringValue("GetRecordOssUploadParamResponse.Signature")); - getRecordOssUploadParamResponse.setExpires(_ctx.stringValue("GetRecordOssUploadParamResponse.Expires")); - getRecordOssUploadParamResponse.setPolicy(_ctx.stringValue("GetRecordOssUploadParamResponse.Policy")); - getRecordOssUploadParamResponse.setCode(_ctx.stringValue("GetRecordOssUploadParamResponse.Code")); - getRecordOssUploadParamResponse.setDir(_ctx.stringValue("GetRecordOssUploadParamResponse.Dir")); - - return getRecordOssUploadParamResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRoutePointResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRoutePointResponseUnmarshaller.java deleted file mode 100644 index c2852de881..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetRoutePointResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetRoutePointResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetRoutePointResponseUnmarshaller { - - public static GetRoutePointResponse unmarshall(GetRoutePointResponse getRoutePointResponse, UnmarshallerContext _ctx) { - - getRoutePointResponse.setRequestId(_ctx.stringValue("GetRoutePointResponse.RequestId")); - getRoutePointResponse.setHttpStatusCode(_ctx.integerValue("GetRoutePointResponse.HttpStatusCode")); - getRoutePointResponse.setRoutePoint(_ctx.stringValue("GetRoutePointResponse.RoutePoint")); - getRoutePointResponse.setSuccess(_ctx.booleanValue("GetRoutePointResponse.Success")); - getRoutePointResponse.setCode(_ctx.stringValue("GetRoutePointResponse.Code")); - getRoutePointResponse.setMessage(_ctx.stringValue("GetRoutePointResponse.Message")); - - return getRoutePointResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetServiceExtensionsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetServiceExtensionsResponseUnmarshaller.java deleted file mode 100644 index 104c6e1d11..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetServiceExtensionsResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetServiceExtensionsResponse; -import com.aliyuncs.ccc.model.v20170705.GetServiceExtensionsResponse.ServiceExtension; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetServiceExtensionsResponseUnmarshaller { - - public static GetServiceExtensionsResponse unmarshall(GetServiceExtensionsResponse getServiceExtensionsResponse, UnmarshallerContext _ctx) { - - getServiceExtensionsResponse.setRequestId(_ctx.stringValue("GetServiceExtensionsResponse.RequestId")); - getServiceExtensionsResponse.setHttpStatusCode(_ctx.integerValue("GetServiceExtensionsResponse.HttpStatusCode")); - getServiceExtensionsResponse.setCode(_ctx.stringValue("GetServiceExtensionsResponse.Code")); - getServiceExtensionsResponse.setMessage(_ctx.stringValue("GetServiceExtensionsResponse.Message")); - getServiceExtensionsResponse.setSuccess(_ctx.booleanValue("GetServiceExtensionsResponse.Success")); - - List serviceExtensions = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetServiceExtensionsResponse.ServiceExtensions.Length"); i++) { - ServiceExtension serviceExtension = new ServiceExtension(); - serviceExtension.setNumber(_ctx.stringValue("GetServiceExtensionsResponse.ServiceExtensions["+ i +"].Number")); - serviceExtension.setName(_ctx.stringValue("GetServiceExtensionsResponse.ServiceExtensions["+ i +"].Name")); - - serviceExtensions.add(serviceExtension); - } - getServiceExtensionsResponse.setServiceExtensions(serviceExtensions); - - return getServiceExtensionsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetSmsConfigResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetSmsConfigResponseUnmarshaller.java deleted file mode 100644 index 46137214a5..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetSmsConfigResponseUnmarshaller.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetSmsConfigResponse; -import com.aliyuncs.ccc.model.v20170705.GetSmsConfigResponse.SmsConfig; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetSmsConfigResponseUnmarshaller { - - public static GetSmsConfigResponse unmarshall(GetSmsConfigResponse getSmsConfigResponse, UnmarshallerContext _ctx) { - - getSmsConfigResponse.setRequestId(_ctx.stringValue("GetSmsConfigResponse.RequestId")); - getSmsConfigResponse.setHttpStatusCode(_ctx.integerValue("GetSmsConfigResponse.HttpStatusCode")); - getSmsConfigResponse.setCode(_ctx.stringValue("GetSmsConfigResponse.Code")); - getSmsConfigResponse.setMessage(_ctx.stringValue("GetSmsConfigResponse.Message")); - getSmsConfigResponse.setSuccess(_ctx.booleanValue("GetSmsConfigResponse.Success")); - - List smsConfigs = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetSmsConfigResponse.SmsConfigs.Length"); i++) { - SmsConfig smsConfig = new SmsConfig(); - smsConfig.setInstance(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Instance")); - smsConfig.setDescription(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Description")); - smsConfig.setTemplateCode(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].TemplateCode")); - smsConfig.setGmtCreate(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].GmtCreate")); - smsConfig.setScenario(_ctx.integerValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Scenario")); - smsConfig.setGmtModified(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].GmtModified")); - smsConfig.setName(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Name")); - smsConfig.setExtra(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Extra")); - smsConfig.setSignName(_ctx.stringValue("GetSmsConfigResponse.SmsConfigs["+ i +"].SignName")); - smsConfig.setId(_ctx.longValue("GetSmsConfigResponse.SmsConfigs["+ i +"].Id")); - - smsConfigs.add(smsConfig); - } - getSmsConfigResponse.setSmsConfigs(smsConfigs); - - return getSmsConfigResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNCredentialsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNCredentialsResponseUnmarshaller.java deleted file mode 100644 index fbaa26c956..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNCredentialsResponseUnmarshaller.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetTURNCredentialsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetTURNCredentialsResponseUnmarshaller { - - public static GetTURNCredentialsResponse unmarshall(GetTURNCredentialsResponse getTURNCredentialsResponse, UnmarshallerContext _ctx) { - - getTURNCredentialsResponse.setRequestId(_ctx.stringValue("GetTURNCredentialsResponse.RequestId")); - getTURNCredentialsResponse.setHttpStatusCode(_ctx.integerValue("GetTURNCredentialsResponse.HttpStatusCode")); - getTURNCredentialsResponse.setPassword(_ctx.stringValue("GetTURNCredentialsResponse.Password")); - getTURNCredentialsResponse.setSuccess(_ctx.booleanValue("GetTURNCredentialsResponse.Success")); - getTURNCredentialsResponse.setCode(_ctx.stringValue("GetTURNCredentialsResponse.Code")); - getTURNCredentialsResponse.setMessage(_ctx.stringValue("GetTURNCredentialsResponse.Message")); - getTURNCredentialsResponse.setUsername(_ctx.stringValue("GetTURNCredentialsResponse.Username")); - - return getTURNCredentialsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNServerListResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNServerListResponseUnmarshaller.java deleted file mode 100644 index bcc8c78e67..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetTURNServerListResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.GetTURNServerListResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetTURNServerListResponseUnmarshaller { - - public static GetTURNServerListResponse unmarshall(GetTURNServerListResponse getTURNServerListResponse, UnmarshallerContext _ctx) { - - getTURNServerListResponse.setRequestId(_ctx.stringValue("GetTURNServerListResponse.RequestId")); - getTURNServerListResponse.setHttpStatusCode(_ctx.integerValue("GetTURNServerListResponse.HttpStatusCode")); - getTURNServerListResponse.setSuccess(_ctx.booleanValue("GetTURNServerListResponse.Success")); - getTURNServerListResponse.setCode(_ctx.stringValue("GetTURNServerListResponse.Code")); - getTURNServerListResponse.setMessage(_ctx.stringValue("GetTURNServerListResponse.Message")); - getTURNServerListResponse.setTurnServerListConfig(_ctx.stringValue("GetTURNServerListResponse.TurnServerListConfig")); - - return getTURNServerListResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserByExtensionResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserByExtensionResponseUnmarshaller.java deleted file mode 100644 index 3d68f017fd..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserByExtensionResponseUnmarshaller.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse; -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse.User; -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse.User.Detail; -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse.User.Role; -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.GetUserByExtensionResponse.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetUserByExtensionResponseUnmarshaller { - - public static GetUserByExtensionResponse unmarshall(GetUserByExtensionResponse getUserByExtensionResponse, UnmarshallerContext _ctx) { - - getUserByExtensionResponse.setRequestId(_ctx.stringValue("GetUserByExtensionResponse.RequestId")); - getUserByExtensionResponse.setHttpStatusCode(_ctx.integerValue("GetUserByExtensionResponse.HttpStatusCode")); - getUserByExtensionResponse.setCode(_ctx.stringValue("GetUserByExtensionResponse.Code")); - getUserByExtensionResponse.setMessage(_ctx.stringValue("GetUserByExtensionResponse.Message")); - getUserByExtensionResponse.setSuccess(_ctx.booleanValue("GetUserByExtensionResponse.Success")); - - User user = new User(); - user.setInstanceId(_ctx.stringValue("GetUserByExtensionResponse.User.InstanceId")); - user.setRamId(_ctx.stringValue("GetUserByExtensionResponse.User.RamId")); - user.setUserId(_ctx.stringValue("GetUserByExtensionResponse.User.UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.DisplayName")); - detail.setExtension(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.Extension")); - detail.setLoginName(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.LoginName")); - detail.setEmail(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.Email")); - detail.setDepartment(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.Department")); - detail.setPhone(_ctx.stringValue("GetUserByExtensionResponse.User.Detail.Phone")); - user.setDetail(detail); - - List roles = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetUserByExtensionResponse.User.Roles.Length"); i++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("GetUserByExtensionResponse.User.Roles["+ i +"].InstanceId")); - role.setRoleName(_ctx.stringValue("GetUserByExtensionResponse.User.Roles["+ i +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("GetUserByExtensionResponse.User.Roles["+ i +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("GetUserByExtensionResponse.User.Roles["+ i +"].RoleId")); - - roles.add(role); - } - user.setRoles(roles); - - List skillLevels = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetUserByExtensionResponse.User.SkillLevels.Length"); i++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("GetUserByExtensionResponse.User.SkillLevels["+ i +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - getUserByExtensionResponse.setUser(user); - - return getUserByExtensionResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserResponseUnmarshaller.java deleted file mode 100644 index 6655a5cb25..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/GetUserResponseUnmarshaller.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.GetUserResponse; -import com.aliyuncs.ccc.model.v20170705.GetUserResponse.User; -import com.aliyuncs.ccc.model.v20170705.GetUserResponse.User.Detail; -import com.aliyuncs.ccc.model.v20170705.GetUserResponse.User.Role; -import com.aliyuncs.ccc.model.v20170705.GetUserResponse.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.GetUserResponse.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetUserResponseUnmarshaller { - - public static GetUserResponse unmarshall(GetUserResponse getUserResponse, UnmarshallerContext _ctx) { - - getUserResponse.setRequestId(_ctx.stringValue("GetUserResponse.RequestId")); - getUserResponse.setHttpStatusCode(_ctx.integerValue("GetUserResponse.HttpStatusCode")); - getUserResponse.setCode(_ctx.stringValue("GetUserResponse.Code")); - getUserResponse.setMessage(_ctx.stringValue("GetUserResponse.Message")); - getUserResponse.setSuccess(_ctx.booleanValue("GetUserResponse.Success")); - - User user = new User(); - user.setInstanceId(_ctx.stringValue("GetUserResponse.User.InstanceId")); - user.setRamId(_ctx.stringValue("GetUserResponse.User.RamId")); - user.setUserId(_ctx.stringValue("GetUserResponse.User.UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("GetUserResponse.User.Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("GetUserResponse.User.Detail.Email")); - detail.setLoginName(_ctx.stringValue("GetUserResponse.User.Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("GetUserResponse.User.Detail.Department")); - detail.setPhone(_ctx.stringValue("GetUserResponse.User.Detail.Phone")); - user.setDetail(detail); - - List roles = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetUserResponse.User.Roles.Length"); i++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("GetUserResponse.User.Roles["+ i +"].InstanceId")); - role.setRoleName(_ctx.stringValue("GetUserResponse.User.Roles["+ i +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("GetUserResponse.User.Roles["+ i +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("GetUserResponse.User.Roles["+ i +"].RoleId")); - - roles.add(role); - } - user.setRoles(roles); - - List skillLevels = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetUserResponse.User.SkillLevels.Length"); i++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("GetUserResponse.User.SkillLevels["+ i +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("GetUserResponse.User.SkillLevels["+ i +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("GetUserResponse.User.SkillLevels["+ i +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("GetUserResponse.User.SkillLevels["+ i +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("GetUserResponse.User.SkillLevels["+ i +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("GetUserResponse.User.SkillLevels["+ i +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - getUserResponse.setUser(user); - - return getUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchAppraiseResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchAppraiseResponseUnmarshaller.java deleted file mode 100644 index a85f5b8526..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchAppraiseResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.LaunchAppraiseResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class LaunchAppraiseResponseUnmarshaller { - - public static LaunchAppraiseResponse unmarshall(LaunchAppraiseResponse launchAppraiseResponse, UnmarshallerContext _ctx) { - - launchAppraiseResponse.setRequestId(_ctx.stringValue("LaunchAppraiseResponse.RequestId")); - launchAppraiseResponse.setHttpStatusCode(_ctx.integerValue("LaunchAppraiseResponse.HttpStatusCode")); - launchAppraiseResponse.setCode(_ctx.stringValue("LaunchAppraiseResponse.Code")); - launchAppraiseResponse.setMessage(_ctx.stringValue("LaunchAppraiseResponse.Message")); - launchAppraiseResponse.setSuccess(_ctx.booleanValue("LaunchAppraiseResponse.Success")); - - return launchAppraiseResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchShortMessageAppraiseResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchShortMessageAppraiseResponseUnmarshaller.java deleted file mode 100644 index 48d06e6074..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/LaunchShortMessageAppraiseResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.LaunchShortMessageAppraiseResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class LaunchShortMessageAppraiseResponseUnmarshaller { - - public static LaunchShortMessageAppraiseResponse unmarshall(LaunchShortMessageAppraiseResponse launchShortMessageAppraiseResponse, UnmarshallerContext _ctx) { - - launchShortMessageAppraiseResponse.setRequestId(_ctx.stringValue("LaunchShortMessageAppraiseResponse.RequestId")); - launchShortMessageAppraiseResponse.setHttpStatusCode(_ctx.integerValue("LaunchShortMessageAppraiseResponse.HttpStatusCode")); - launchShortMessageAppraiseResponse.setCode(_ctx.stringValue("LaunchShortMessageAppraiseResponse.Code")); - launchShortMessageAppraiseResponse.setMessage(_ctx.stringValue("LaunchShortMessageAppraiseResponse.Message")); - launchShortMessageAppraiseResponse.setSuccess(_ctx.booleanValue("LaunchShortMessageAppraiseResponse.Success")); - - return launchShortMessageAppraiseResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentDevicesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentDevicesResponseUnmarshaller.java deleted file mode 100644 index 4a375bb213..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentDevicesResponseUnmarshaller.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentDevicesResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentDevicesResponse.AgentDevice; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentDevicesResponseUnmarshaller { - - public static ListAgentDevicesResponse unmarshall(ListAgentDevicesResponse listAgentDevicesResponse, UnmarshallerContext _ctx) { - - listAgentDevicesResponse.setRequestId(_ctx.stringValue("ListAgentDevicesResponse.RequestId")); - listAgentDevicesResponse.setHttpStatusCode(_ctx.integerValue("ListAgentDevicesResponse.HttpStatusCode")); - listAgentDevicesResponse.setCode(_ctx.stringValue("ListAgentDevicesResponse.Code")); - listAgentDevicesResponse.setMessage(_ctx.stringValue("ListAgentDevicesResponse.Message")); - listAgentDevicesResponse.setSuccess(_ctx.booleanValue("ListAgentDevicesResponse.Success")); - - List agentDeviceList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentDevicesResponse.AgentDeviceList.Length"); i++) { - AgentDevice agentDevice = new AgentDevice(); - agentDevice.setLoginTime(_ctx.longValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].LoginTime")); - agentDevice.setClientPort(_ctx.stringValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].ClientPort")); - agentDevice.setRemark(_ctx.stringValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].Remark")); - agentDevice.setBrowserVersion(_ctx.stringValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].BrowserVersion")); - agentDevice.setClientIp(_ctx.stringValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].ClientIp")); - agentDevice.setInstanceId(_ctx.stringValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].InstanceId")); - agentDevice.setIsLogin(_ctx.integerValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].IsLogin")); - agentDevice.setRamId(_ctx.longValue("ListAgentDevicesResponse.AgentDeviceList["+ i +"].RamId")); - - agentDeviceList.add(agentDevice); - } - listAgentDevicesResponse.setAgentDeviceList(agentDeviceList); - - return listAgentDevicesResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentEventsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentEventsResponseUnmarshaller.java deleted file mode 100644 index 92f75d2e35..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentEventsResponseUnmarshaller.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentEventsResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentEventsResponse.AgentEvent; -import com.aliyuncs.ccc.model.v20170705.ListAgentEventsResponse.AgentEvent.SkillGroup; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentEventsResponseUnmarshaller { - - public static ListAgentEventsResponse unmarshall(ListAgentEventsResponse listAgentEventsResponse, UnmarshallerContext _ctx) { - - listAgentEventsResponse.setRequestId(_ctx.stringValue("ListAgentEventsResponse.RequestId")); - listAgentEventsResponse.setHttpStatusCode(_ctx.integerValue("ListAgentEventsResponse.HttpStatusCode")); - listAgentEventsResponse.setCode(_ctx.stringValue("ListAgentEventsResponse.Code")); - listAgentEventsResponse.setMessage(_ctx.stringValue("ListAgentEventsResponse.Message")); - listAgentEventsResponse.setSuccess(_ctx.booleanValue("ListAgentEventsResponse.Success")); - - List agentEventList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentEventsResponse.AgentEventList.Length"); i++) { - AgentEvent agentEvent = new AgentEvent(); - agentEvent.setEvent(_ctx.stringValue("ListAgentEventsResponse.AgentEventList["+ i +"].Event")); - agentEvent.setEventTime(_ctx.longValue("ListAgentEventsResponse.AgentEventList["+ i +"].EventTime")); - agentEvent.setLoginName(_ctx.stringValue("ListAgentEventsResponse.AgentEventList["+ i +"].LoginName")); - agentEvent.setInstanceId(_ctx.stringValue("ListAgentEventsResponse.AgentEventList["+ i +"].InstanceId")); - agentEvent.setRamId(_ctx.longValue("ListAgentEventsResponse.AgentEventList["+ i +"].RamId")); - - List skillGroupIds = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListAgentEventsResponse.AgentEventList["+ i +"].SkillGroupIds.Length"); j++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setSkillGroupName(_ctx.stringValue("ListAgentEventsResponse.AgentEventList["+ i +"].SkillGroupIds["+ j +"].SkillGroupName")); - skillGroup.setSkillGroupId(_ctx.stringValue("ListAgentEventsResponse.AgentEventList["+ i +"].SkillGroupIds["+ j +"].SkillGroupId")); - - skillGroupIds.add(skillGroup); - } - agentEvent.setSkillGroupIds(skillGroupIds); - - agentEventList.add(agentEvent); - } - listAgentEventsResponse.setAgentEventList(agentEventList); - - return listAgentEventsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStateLogsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStateLogsResponseUnmarshaller.java deleted file mode 100644 index 17a2f45c19..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStateLogsResponseUnmarshaller.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentStateLogsResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentStateLogsResponse.AgentStateLogPage; -import com.aliyuncs.ccc.model.v20170705.ListAgentStateLogsResponse.AgentStateLogPage.AgentStateLog; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentStateLogsResponseUnmarshaller { - - public static ListAgentStateLogsResponse unmarshall(ListAgentStateLogsResponse listAgentStateLogsResponse, UnmarshallerContext _ctx) { - - listAgentStateLogsResponse.setRequestId(_ctx.stringValue("ListAgentStateLogsResponse.RequestId")); - listAgentStateLogsResponse.setHttpStatusCode(_ctx.integerValue("ListAgentStateLogsResponse.HttpStatusCode")); - listAgentStateLogsResponse.setCode(_ctx.stringValue("ListAgentStateLogsResponse.Code")); - listAgentStateLogsResponse.setMessage(_ctx.stringValue("ListAgentStateLogsResponse.Message")); - listAgentStateLogsResponse.setSuccess(_ctx.booleanValue("ListAgentStateLogsResponse.Success")); - - AgentStateLogPage agentStateLogPage = new AgentStateLogPage(); - agentStateLogPage.setPageNumber(_ctx.integerValue("ListAgentStateLogsResponse.AgentStateLogPage.PageNumber")); - agentStateLogPage.setPageSize(_ctx.integerValue("ListAgentStateLogsResponse.AgentStateLogPage.PageSize")); - agentStateLogPage.setTotalCount(_ctx.integerValue("ListAgentStateLogsResponse.AgentStateLogPage.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentStateLogsResponse.AgentStateLogPage.List.Length"); i++) { - AgentStateLog agentStateLog = new AgentStateLog(); - agentStateLog.setStateCode(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].StateCode")); - agentStateLog.setContactId(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].ContactId")); - agentStateLog.setState(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].State")); - agentStateLog.setConnectId(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].ConnectId")); - agentStateLog.setStateTime(_ctx.longValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].StateTime")); - agentStateLog.setInstanceId(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].InstanceId")); - agentStateLog.setRamId(_ctx.longValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].RamId")); - agentStateLog.setSkillGroupIds(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].SkillGroupIds")); - agentStateLog.setCounterParty(_ctx.stringValue("ListAgentStateLogsResponse.AgentStateLogPage.List["+ i +"].CounterParty")); - - list.add(agentStateLog); - } - agentStateLogPage.setList(list); - listAgentStateLogsResponse.setAgentStateLogPage(agentStateLogPage); - - return listAgentStateLogsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStatesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStatesResponseUnmarshaller.java deleted file mode 100644 index 7a36f76791..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentStatesResponseUnmarshaller.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentStatesResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentStatesResponse.Data; -import com.aliyuncs.ccc.model.v20170705.ListAgentStatesResponse.Data.RealTimeAgentState; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentStatesResponseUnmarshaller { - - public static ListAgentStatesResponse unmarshall(ListAgentStatesResponse listAgentStatesResponse, UnmarshallerContext _ctx) { - - listAgentStatesResponse.setRequestId(_ctx.stringValue("ListAgentStatesResponse.RequestId")); - listAgentStatesResponse.setHttpStatusCode(_ctx.integerValue("ListAgentStatesResponse.HttpStatusCode")); - listAgentStatesResponse.setCode(_ctx.stringValue("ListAgentStatesResponse.Code")); - listAgentStatesResponse.setMessage(_ctx.stringValue("ListAgentStatesResponse.Message")); - listAgentStatesResponse.setSuccess(_ctx.booleanValue("ListAgentStatesResponse.Success")); - - Data data = new Data(); - data.setPageNumber(_ctx.integerValue("ListAgentStatesResponse.Data.PageNumber")); - data.setPageSize(_ctx.integerValue("ListAgentStatesResponse.Data.PageSize")); - data.setTotalCount(_ctx.integerValue("ListAgentStatesResponse.Data.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentStatesResponse.Data.List.Length"); i++) { - RealTimeAgentState realTimeAgentState = new RealTimeAgentState(); - realTimeAgentState.setLoginName(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].LoginName")); - realTimeAgentState.setDn(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].Dn")); - realTimeAgentState.setStateDuration(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].StateDuration")); - realTimeAgentState.setState(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].State")); - realTimeAgentState.setAgentId(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].AgentId")); - realTimeAgentState.setAgentName(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].AgentName")); - realTimeAgentState.setInstanceId(_ctx.stringValue("ListAgentStatesResponse.Data.List["+ i +"].InstanceId")); - - list.add(realTimeAgentState); - } - data.setList(list); - listAgentStatesResponse.setData(data); - - return listAgentStatesResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsByIntervalResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsByIntervalResponseUnmarshaller.java deleted file mode 100644 index b1bc9138d3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsByIntervalResponseUnmarshaller.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.AgentTimeIntervalReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.AgentTimeIntervalReport.AgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.AgentTimeIntervalReport.AgentSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.AgentTimeIntervalReport.AgentSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.AgentTimeIntervalReport.AgentSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentSummaryReportsByIntervalResponseUnmarshaller { - - public static ListAgentSummaryReportsByIntervalResponse unmarshall(ListAgentSummaryReportsByIntervalResponse listAgentSummaryReportsByIntervalResponse, UnmarshallerContext _ctx) { - - listAgentSummaryReportsByIntervalResponse.setRequestId(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.RequestId")); - listAgentSummaryReportsByIntervalResponse.setHttpStatusCode(_ctx.integerValue("ListAgentSummaryReportsByIntervalResponse.HttpStatusCode")); - listAgentSummaryReportsByIntervalResponse.setCode(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.Code")); - listAgentSummaryReportsByIntervalResponse.setMessage(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.Message")); - listAgentSummaryReportsByIntervalResponse.setSuccess(_ctx.booleanValue("ListAgentSummaryReportsByIntervalResponse.Success")); - - PagedAgentSummaryReport pagedAgentSummaryReport = new PagedAgentSummaryReport(); - pagedAgentSummaryReport.setPageNumber(_ctx.integerValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.PageNumber")); - pagedAgentSummaryReport.setPageSize(_ctx.integerValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.PageSize")); - pagedAgentSummaryReport.setTotalCount(_ctx.integerValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List.Length"); i++) { - AgentTimeIntervalReport agentTimeIntervalReport = new AgentTimeIntervalReport(); - agentTimeIntervalReport.setAgentId(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].AgentId")); - - List intervalList = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList.Length"); j++) { - AgentSummaryReport agentSummaryReport = new AgentSummaryReport(); - agentSummaryReport.setLoginName(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].LoginName")); - agentSummaryReport.setAgentId(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].AgentId")); - agentSummaryReport.setAgentName(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].AgentName")); - agentSummaryReport.setSkillGroupNames(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].SkillGroupNames")); - agentSummaryReport.setTimestamp(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Timestamp")); - agentSummaryReport.setInstanceId(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].InstanceId")); - agentSummaryReport.setSkillGroupIds(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].SkillGroupIds")); - - Overall overall = new Overall(); - overall.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalTalkTime")); - overall.setTotalLoggedInTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalLoggedInTime")); - overall.setOccupancyRate(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.OccupancyRate")); - overall.setLastLogOutTime(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.LastLogOutTime")); - overall.setFirstLogInTime(_ctx.stringValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.FirstLogInTime")); - overall.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionSurveysResponded")); - overall.setAverageReadyTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageReadyTime")); - overall.setMaxReadyTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxReadyTime")); - overall.setOneTransferCalls(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.OneTransferCalls")); - overall.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxTalkTime")); - overall.setTotalReadyTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalBreakTime")); - overall.setTotalCalls(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalCalls")); - agentSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.CallsOffered")); - inbound.setAverageRingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.CallsHandled")); - inbound.setServiceLevel20(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.ServiceLevel20")); - inbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxWorkTime")); - inbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageWorkTime")); - inbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionIndex")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionSurveysResponded")); - inbound.setTotalRingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxRingTime")); - agentSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListAgentSummaryReportsByIntervalResponse.PagedAgentSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageDialingTime")); - agentSummaryReport.setOutbound(outbound); - - intervalList.add(agentSummaryReport); - } - agentTimeIntervalReport.setIntervalList(intervalList); - - list.add(agentTimeIntervalReport); - } - pagedAgentSummaryReport.setList(list); - listAgentSummaryReportsByIntervalResponse.setPagedAgentSummaryReport(pagedAgentSummaryReport); - - return listAgentSummaryReportsByIntervalResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsResponseUnmarshaller.java deleted file mode 100644 index 18f9be55fc..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsResponseUnmarshaller.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse.PagedAgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse.PagedAgentSummaryReport.AgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse.PagedAgentSummaryReport.AgentSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse.PagedAgentSummaryReport.AgentSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsResponse.PagedAgentSummaryReport.AgentSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentSummaryReportsResponseUnmarshaller { - - public static ListAgentSummaryReportsResponse unmarshall(ListAgentSummaryReportsResponse listAgentSummaryReportsResponse, UnmarshallerContext _ctx) { - - listAgentSummaryReportsResponse.setRequestId(_ctx.stringValue("ListAgentSummaryReportsResponse.RequestId")); - listAgentSummaryReportsResponse.setHttpStatusCode(_ctx.integerValue("ListAgentSummaryReportsResponse.HttpStatusCode")); - listAgentSummaryReportsResponse.setCode(_ctx.stringValue("ListAgentSummaryReportsResponse.Code")); - listAgentSummaryReportsResponse.setMessage(_ctx.stringValue("ListAgentSummaryReportsResponse.Message")); - listAgentSummaryReportsResponse.setSuccess(_ctx.booleanValue("ListAgentSummaryReportsResponse.Success")); - - PagedAgentSummaryReport pagedAgentSummaryReport = new PagedAgentSummaryReport(); - pagedAgentSummaryReport.setPageNumber(_ctx.integerValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.PageNumber")); - pagedAgentSummaryReport.setPageSize(_ctx.integerValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.PageSize")); - pagedAgentSummaryReport.setTotalCount(_ctx.integerValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List.Length"); i++) { - AgentSummaryReport agentSummaryReport = new AgentSummaryReport(); - agentSummaryReport.setLoginName(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].LoginName")); - agentSummaryReport.setAgentId(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].AgentId")); - agentSummaryReport.setAgentName(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].AgentName")); - agentSummaryReport.setInstanceId(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].InstanceId")); - agentSummaryReport.setSkillGroupNames(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].SkillGroupNames")); - agentSummaryReport.setSkillGroupIds(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].SkillGroupIds")); - - Overall overall = new Overall(); - overall.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalTalkTime")); - overall.setTotalLoggedInTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalLoggedInTime")); - overall.setOccupancyRate(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.OccupancyRate")); - overall.setLastLogOutTime(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.LastLogOutTime")); - overall.setFirstLogInTime(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.FirstLogInTime")); - overall.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setAverageReadyTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageReadyTime")); - overall.setMaxReadyTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxReadyTime")); - overall.setOneTransferCalls(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.OneTransferCalls")); - overall.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalReadyTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalBreakTime")); - overall.setTotalCalls(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalCalls")); - agentSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.CallsOffered")); - inbound.setAverageRingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.CallsHandled")); - inbound.setServiceLevel20(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.ServiceLevel20")); - inbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setTotalRingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxRingTime")); - agentSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.stringValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListAgentSummaryReportsResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageDialingTime")); - agentSummaryReport.setOutbound(outbound); - - list.add(agentSummaryReport); - } - pagedAgentSummaryReport.setList(list); - listAgentSummaryReportsResponse.setPagedAgentSummaryReport(pagedAgentSummaryReport); - - return listAgentSummaryReportsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsSinceMidnightResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsSinceMidnightResponseUnmarshaller.java deleted file mode 100644 index 5a0befedec..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListAgentSummaryReportsSinceMidnightResponseUnmarshaller.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.AgentSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.AgentSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.AgentSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.AgentSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListAgentSummaryReportsSinceMidnightResponseUnmarshaller { - - public static ListAgentSummaryReportsSinceMidnightResponse unmarshall(ListAgentSummaryReportsSinceMidnightResponse listAgentSummaryReportsSinceMidnightResponse, UnmarshallerContext _ctx) { - - listAgentSummaryReportsSinceMidnightResponse.setRequestId(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.RequestId")); - listAgentSummaryReportsSinceMidnightResponse.setHttpStatusCode(_ctx.integerValue("ListAgentSummaryReportsSinceMidnightResponse.HttpStatusCode")); - listAgentSummaryReportsSinceMidnightResponse.setCode(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.Code")); - listAgentSummaryReportsSinceMidnightResponse.setMessage(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.Message")); - listAgentSummaryReportsSinceMidnightResponse.setSuccess(_ctx.booleanValue("ListAgentSummaryReportsSinceMidnightResponse.Success")); - - PagedAgentSummaryReport pagedAgentSummaryReport = new PagedAgentSummaryReport(); - pagedAgentSummaryReport.setPageNumber(_ctx.integerValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.PageNumber")); - pagedAgentSummaryReport.setPageSize(_ctx.integerValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.PageSize")); - pagedAgentSummaryReport.setTotalCount(_ctx.integerValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List.Length"); i++) { - AgentSummaryReport agentSummaryReport = new AgentSummaryReport(); - agentSummaryReport.setLoginName(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].LoginName")); - agentSummaryReport.setAgentId(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].AgentId")); - agentSummaryReport.setAgentName(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].AgentName")); - agentSummaryReport.setSkillGroupNames(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].SkillGroupNames")); - agentSummaryReport.setTimestamp(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Timestamp")); - agentSummaryReport.setInstanceId(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].InstanceId")); - agentSummaryReport.setSkillGroupIds(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].SkillGroupIds")); - - Overall overall = new Overall(); - overall.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalTalkTime")); - overall.setTotalLoggedInTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalLoggedInTime")); - overall.setOccupancyRate(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setAverageReadyTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.AverageReadyTime")); - overall.setMaxReadyTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxReadyTime")); - overall.setOneTransferCalls(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.OneTransferCalls")); - overall.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalReadyTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalBreakTime")); - overall.setTotalCalls(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Overall.TotalCalls")); - agentSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.CallsOffered")); - inbound.setAverageRingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.CallsHandled")); - inbound.setServiceLevel20(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.ServiceLevel20")); - inbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setTotalRingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.TotalRingTime")); - inbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Inbound.MaxRingTime")); - agentSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.stringValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListAgentSummaryReportsSinceMidnightResponse.PagedAgentSummaryReport.List["+ i +"].Outbound.AverageDialingTime")); - agentSummaryReport.setOutbound(outbound); - - list.add(agentSummaryReport); - } - pagedAgentSummaryReport.setList(list); - listAgentSummaryReportsSinceMidnightResponse.setPagedAgentSummaryReport(pagedAgentSummaryReport); - - return listAgentSummaryReportsSinceMidnightResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallDetailRecordsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallDetailRecordsResponseUnmarshaller.java deleted file mode 100644 index 8f357265f9..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallDetailRecordsResponseUnmarshaller.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListCallDetailRecordsResponse; -import com.aliyuncs.ccc.model.v20170705.ListCallDetailRecordsResponse.CallDetailRecords; -import com.aliyuncs.ccc.model.v20170705.ListCallDetailRecordsResponse.CallDetailRecords.CallDetailRecord; -import com.aliyuncs.ccc.model.v20170705.ListCallDetailRecordsResponse.CallDetailRecords.CallDetailRecord.CallDetailAgent; -import com.aliyuncs.ccc.model.v20170705.ListCallDetailRecordsResponse.CallDetailRecords.CallDetailRecord.Recording; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListCallDetailRecordsResponseUnmarshaller { - - public static ListCallDetailRecordsResponse unmarshall(ListCallDetailRecordsResponse listCallDetailRecordsResponse, UnmarshallerContext _ctx) { - - listCallDetailRecordsResponse.setRequestId(_ctx.stringValue("ListCallDetailRecordsResponse.RequestId")); - listCallDetailRecordsResponse.setHttpStatusCode(_ctx.integerValue("ListCallDetailRecordsResponse.HttpStatusCode")); - listCallDetailRecordsResponse.setCode(_ctx.stringValue("ListCallDetailRecordsResponse.Code")); - listCallDetailRecordsResponse.setMessage(_ctx.stringValue("ListCallDetailRecordsResponse.Message")); - listCallDetailRecordsResponse.setSuccess(_ctx.booleanValue("ListCallDetailRecordsResponse.Success")); - - CallDetailRecords callDetailRecords = new CallDetailRecords(); - callDetailRecords.setPageNumber(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.PageNumber")); - callDetailRecords.setPageSize(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.PageSize")); - callDetailRecords.setTotalCount(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListCallDetailRecordsResponse.CallDetailRecords.List.Length"); i++) { - CallDetailRecord callDetailRecord = new CallDetailRecord(); - callDetailRecord.setContactDisposition(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].ContactDisposition")); - callDetailRecord.setContactType(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].ContactType")); - callDetailRecord.setSkillGroupIdList(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].SkillGroupIdList")); - callDetailRecord.setInstanceId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].InstanceId")); - callDetailRecord.setCalledNumber(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].CalledNumber")); - callDetailRecord.setAgentNames(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].AgentNames")); - callDetailRecord.setSatisfaction(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Satisfaction")); - callDetailRecord.setStartTime(_ctx.longValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].StartTime")); - callDetailRecord.setSatisfactionDesc(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].SatisfactionDesc")); - callDetailRecord.setContactId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].ContactId")); - callDetailRecord.setCallingNumber(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].CallingNumber")); - callDetailRecord.setDuration(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Duration")); - callDetailRecord.setSkillGroupNames(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].SkillGroupNames")); - callDetailRecord.setFeedback(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Feedback")); - - List agents = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Agents.Length"); j++) { - CallDetailAgent callDetailAgent = new CallDetailAgent(); - callDetailAgent.setSatisfaction(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].Satisfaction")); - callDetailAgent.setFeedback(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].Feedback")); - callDetailAgent.setAgentId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].AgentId")); - - agents.add(callDetailAgent); - } - callDetailRecord.setAgents(agents); - - List recordings = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings.Length"); j++) { - Recording recording = new Recording(); - recording.setStartTime(_ctx.longValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].StartTime")); - recording.setContactId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].ContactId")); - recording.setQualityCheckTaskId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].QualityCheckTaskId")); - recording.setAgentId(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].AgentId")); - recording.setFileDescription(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].FileDescription")); - recording.setDuration(_ctx.integerValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].Duration")); - recording.setAgentName(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].AgentName")); - recording.setFileName(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].FileName")); - recording.setQualityCheckTid(_ctx.stringValue("ListCallDetailRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].QualityCheckTid")); - - recordings.add(recording); - } - callDetailRecord.setRecordings(recordings); - - list.add(callDetailRecord); - } - callDetailRecords.setList(list); - listCallDetailRecordsResponse.setCallDetailRecords(callDetailRecords); - - return listCallDetailRecordsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallEventDetailByContactIdResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallEventDetailByContactIdResponseUnmarshaller.java deleted file mode 100644 index 8b1cc9683e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallEventDetailByContactIdResponseUnmarshaller.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListCallEventDetailByContactIdResponse; -import com.aliyuncs.ccc.model.v20170705.ListCallEventDetailByContactIdResponse.Data; -import com.aliyuncs.ccc.model.v20170705.ListCallEventDetailByContactIdResponse.Data.CallEventDetail; -import com.aliyuncs.ccc.model.v20170705.ListCallEventDetailByContactIdResponse.Data.CallEventDetail.DetailData; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListCallEventDetailByContactIdResponseUnmarshaller { - - public static ListCallEventDetailByContactIdResponse unmarshall(ListCallEventDetailByContactIdResponse listCallEventDetailByContactIdResponse, UnmarshallerContext _ctx) { - - listCallEventDetailByContactIdResponse.setRequestId(_ctx.stringValue("ListCallEventDetailByContactIdResponse.RequestId")); - listCallEventDetailByContactIdResponse.setHttpStatusCode(_ctx.integerValue("ListCallEventDetailByContactIdResponse.HttpStatusCode")); - listCallEventDetailByContactIdResponse.setCode(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Code")); - listCallEventDetailByContactIdResponse.setMessage(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Message")); - listCallEventDetailByContactIdResponse.setSuccess(_ctx.booleanValue("ListCallEventDetailByContactIdResponse.Success")); - - Data data = new Data(); - data.setStartTime(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.StartTime")); - data.setReleaseReason(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.ReleaseReason")); - data.setCallType(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.CallType")); - data.setReleaseAgent(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.ReleaseAgent")); - data.setCaller(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Caller")); - data.setCallee(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Callee")); - data.setPrivacyNumber(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.PrivacyNumber")); - - List events = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListCallEventDetailByContactIdResponse.Data.Events.Length"); i++) { - CallEventDetail callEventDetail = new CallEventDetail(); - callEventDetail.setStatus(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].Status")); - callEventDetail.setCallMode(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].CallMode")); - callEventDetail.setEvent(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].Event")); - callEventDetail.setTimeStamp(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].TimeStamp")); - callEventDetail.setAgentName(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].AgentName")); - callEventDetail.setDuration(_ctx.integerValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].Duration")); - - DetailData detailData = new DetailData(); - detailData.setHangUper(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].DetailData.HangUper")); - detailData.setEventType(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].DetailData.EventType")); - detailData.setSkillGroup(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].DetailData.SkillGroup")); - detailData.setSatisfactionalResearch(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].DetailData.SatisfactionalResearch")); - detailData.setHelper(_ctx.stringValue("ListCallEventDetailByContactIdResponse.Data.Events["+ i +"].DetailData.Helper")); - callEventDetail.setDetailData(detailData); - - events.add(callEventDetail); - } - data.setEvents(events); - listCallEventDetailByContactIdResponse.setData(data); - - return listCallEventDetailByContactIdResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallMeasureSummaryReportsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallMeasureSummaryReportsResponseUnmarshaller.java deleted file mode 100644 index 26cde8eaf4..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListCallMeasureSummaryReportsResponseUnmarshaller.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListCallMeasureSummaryReportsResponse; -import com.aliyuncs.ccc.model.v20170705.ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReport; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListCallMeasureSummaryReportsResponseUnmarshaller { - - public static ListCallMeasureSummaryReportsResponse unmarshall(ListCallMeasureSummaryReportsResponse listCallMeasureSummaryReportsResponse, UnmarshallerContext _ctx) { - - listCallMeasureSummaryReportsResponse.setRequestId(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.RequestId")); - listCallMeasureSummaryReportsResponse.setHttpStatusCode(_ctx.integerValue("ListCallMeasureSummaryReportsResponse.HttpStatusCode")); - listCallMeasureSummaryReportsResponse.setCode(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.Code")); - listCallMeasureSummaryReportsResponse.setMessage(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.Message")); - listCallMeasureSummaryReportsResponse.setSuccess(_ctx.booleanValue("ListCallMeasureSummaryReportsResponse.Success")); - - List callMeasureSummaryReportList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList.Length"); i++) { - CallMeasureSummaryReport callMeasureSummaryReport = new CallMeasureSummaryReport(); - callMeasureSummaryReport.setDay(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].Day")); - callMeasureSummaryReport.setYear(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].Year")); - callMeasureSummaryReport.setInboundDurationByMinute(_ctx.longValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].InboundDurationByMinute")); - callMeasureSummaryReport.setOutboundCount(_ctx.longValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].OutboundCount")); - callMeasureSummaryReport.setOutboundDurationByMinute(_ctx.longValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].OutboundDurationByMinute")); - callMeasureSummaryReport.setInboundCount(_ctx.longValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].InboundCount")); - callMeasureSummaryReport.setMonth(_ctx.stringValue("ListCallMeasureSummaryReportsResponse.CallMeasureSummaryReportList["+ i +"].Month")); - - callMeasureSummaryReportList.add(callMeasureSummaryReport); - } - listCallMeasureSummaryReportsResponse.setCallMeasureSummaryReportList(callMeasureSummaryReportList); - - return listCallMeasureSummaryReportsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListConfigResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListConfigResponseUnmarshaller.java deleted file mode 100644 index 097441614b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListConfigResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListConfigResponse; -import com.aliyuncs.ccc.model.v20170705.ListConfigResponse.ConfigItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListConfigResponseUnmarshaller { - - public static ListConfigResponse unmarshall(ListConfigResponse listConfigResponse, UnmarshallerContext _ctx) { - - listConfigResponse.setRequestId(_ctx.stringValue("ListConfigResponse.RequestId")); - listConfigResponse.setHttpStatusCode(_ctx.integerValue("ListConfigResponse.HttpStatusCode")); - listConfigResponse.setCode(_ctx.stringValue("ListConfigResponse.Code")); - listConfigResponse.setMessage(_ctx.stringValue("ListConfigResponse.Message")); - listConfigResponse.setSuccess(_ctx.booleanValue("ListConfigResponse.Success")); - - List configItems = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListConfigResponse.ConfigItems.Length"); i++) { - ConfigItem configItem = new ConfigItem(); - configItem.setName(_ctx.stringValue("ListConfigResponse.ConfigItems["+ i +"].Name")); - configItem.setValue(_ctx.stringValue("ListConfigResponse.ConfigItems["+ i +"].Value")); - - configItems.add(configItem); - } - listConfigResponse.setConfigItems(configItems); - - return listConfigResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListContactFlowsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListContactFlowsResponseUnmarshaller.java deleted file mode 100644 index 59794b2551..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListContactFlowsResponseUnmarshaller.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListContactFlowsResponse; -import com.aliyuncs.ccc.model.v20170705.ListContactFlowsResponse.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.ListContactFlowsResponse.ContactFlow.ContactFlowVersion; -import com.aliyuncs.ccc.model.v20170705.ListContactFlowsResponse.ContactFlow.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListContactFlowsResponseUnmarshaller { - - public static ListContactFlowsResponse unmarshall(ListContactFlowsResponse listContactFlowsResponse, UnmarshallerContext _ctx) { - - listContactFlowsResponse.setRequestId(_ctx.stringValue("ListContactFlowsResponse.RequestId")); - listContactFlowsResponse.setHttpStatusCode(_ctx.integerValue("ListContactFlowsResponse.HttpStatusCode")); - listContactFlowsResponse.setCode(_ctx.stringValue("ListContactFlowsResponse.Code")); - listContactFlowsResponse.setMessage(_ctx.stringValue("ListContactFlowsResponse.Message")); - listContactFlowsResponse.setSuccess(_ctx.booleanValue("ListContactFlowsResponse.Success")); - - List contactFlows = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListContactFlowsResponse.ContactFlows.Length"); i++) { - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setContactFlowDescription(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].ContactFlowDescription")); - contactFlow.setType(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Type")); - contactFlow.setContactFlowName(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].ContactFlowName")); - contactFlow.setInstanceId(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].InstanceId")); - contactFlow.setContactFlowId(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].ContactFlowId")); - contactFlow.setAppliedVersion(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].AppliedVersion")); - - List versions = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions.Length"); j++) { - ContactFlowVersion contactFlowVersion = new ContactFlowVersion(); - contactFlowVersion.setStatus(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].Status")); - contactFlowVersion.setLastModified(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].LastModified")); - contactFlowVersion.setLockedBy(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].LockedBy")); - contactFlowVersion.setVersion(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].Version")); - contactFlowVersion.setContactFlowVersionId(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].ContactFlowVersionId")); - contactFlowVersion.setContactFlowVersionDescription(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].ContactFlowVersionDescription")); - contactFlowVersion.setLastModifiedBy(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].Versions["+ j +"].LastModifiedBy")); - - versions.add(contactFlowVersion); - } - contactFlow.setVersions(versions); - - List phoneNumbers = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers.Length"); j++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListContactFlowsResponse.ContactFlows["+ i +"].PhoneNumbers["+ j +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - contactFlow.setPhoneNumbers(phoneNumbers); - - contactFlows.add(contactFlow); - } - listContactFlowsResponse.setContactFlows(contactFlows); - - return listContactFlowsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListInstancesOfUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListInstancesOfUserResponseUnmarshaller.java deleted file mode 100644 index f4677a38f0..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListInstancesOfUserResponseUnmarshaller.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListInstancesOfUserResponse; -import com.aliyuncs.ccc.model.v20170705.ListInstancesOfUserResponse.CallCenterInstance; -import com.aliyuncs.ccc.model.v20170705.ListInstancesOfUserResponse.CallCenterInstance.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.ListInstancesOfUserResponse.CallCenterInstance.User; -import com.aliyuncs.ccc.model.v20170705.ListInstancesOfUserResponse.CallCenterInstance.User.Detail; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListInstancesOfUserResponseUnmarshaller { - - public static ListInstancesOfUserResponse unmarshall(ListInstancesOfUserResponse listInstancesOfUserResponse, UnmarshallerContext _ctx) { - - listInstancesOfUserResponse.setRequestId(_ctx.stringValue("ListInstancesOfUserResponse.RequestId")); - listInstancesOfUserResponse.setHttpStatusCode(_ctx.integerValue("ListInstancesOfUserResponse.HttpStatusCode")); - listInstancesOfUserResponse.setCode(_ctx.stringValue("ListInstancesOfUserResponse.Code")); - listInstancesOfUserResponse.setMessage(_ctx.stringValue("ListInstancesOfUserResponse.Message")); - listInstancesOfUserResponse.setSuccess(_ctx.booleanValue("ListInstancesOfUserResponse.Success")); - - List instances = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListInstancesOfUserResponse.Instances.Length"); i++) { - CallCenterInstance callCenterInstance = new CallCenterInstance(); - callCenterInstance.setStatus(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Status")); - callCenterInstance.setOwner(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Owner")); - callCenterInstance.setStorageMaxDays(_ctx.integerValue("ListInstancesOfUserResponse.Instances["+ i +"].StorageMaxDays")); - callCenterInstance.setStorageMaxSize(_ctx.integerValue("ListInstancesOfUserResponse.Instances["+ i +"].StorageMaxSize")); - callCenterInstance.setMaxOnlineAgents(_ctx.integerValue("ListInstancesOfUserResponse.Instances["+ i +"].MaxOnlineAgents")); - callCenterInstance.setInstanceId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].InstanceId")); - callCenterInstance.setInstanceDescription(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].InstanceDescription")); - callCenterInstance.setDomainName(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].DomainName")); - callCenterInstance.setConsoleUrl(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].ConsoleUrl")); - callCenterInstance.setInstanceName(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].InstanceName")); - callCenterInstance.setStorageBucket(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].StorageBucket")); - callCenterInstance.setCreatedTime(_ctx.longValue("ListInstancesOfUserResponse.Instances["+ i +"].CreatedTime")); - callCenterInstance.setDirectoryId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].DirectoryId")); - callCenterInstance.setTenantId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].TenantId")); - - List admin = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin.Length"); j++) { - User user = new User(); - user.setInstanceId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].InstanceId")); - user.setRamId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].RamId")); - user.setUserId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].Admin["+ j +"].Detail.Phone")); - user.setDetail(detail); - - admin.add(user); - } - callCenterInstance.setAdmin(admin); - - List phoneNumbers = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers.Length"); j++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListInstancesOfUserResponse.Instances["+ i +"].PhoneNumbers["+ j +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - callCenterInstance.setPhoneNumbers(phoneNumbers); - - instances.add(callCenterInstance); - } - listInstancesOfUserResponse.setInstances(instances); - - return listInstancesOfUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListIvrTrackingDetailResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListIvrTrackingDetailResponseUnmarshaller.java deleted file mode 100644 index 04ab593360..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListIvrTrackingDetailResponseUnmarshaller.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListIvrTrackingDetailResponse; -import com.aliyuncs.ccc.model.v20170705.ListIvrTrackingDetailResponse.IvrTrackingDetails; -import com.aliyuncs.ccc.model.v20170705.ListIvrTrackingDetailResponse.IvrTrackingDetails.IvrTrackingDetail; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListIvrTrackingDetailResponseUnmarshaller { - - public static ListIvrTrackingDetailResponse unmarshall(ListIvrTrackingDetailResponse listIvrTrackingDetailResponse, UnmarshallerContext _ctx) { - - listIvrTrackingDetailResponse.setRequestId(_ctx.stringValue("ListIvrTrackingDetailResponse.RequestId")); - listIvrTrackingDetailResponse.setHttpStatusCode(_ctx.integerValue("ListIvrTrackingDetailResponse.HttpStatusCode")); - listIvrTrackingDetailResponse.setCode(_ctx.stringValue("ListIvrTrackingDetailResponse.Code")); - listIvrTrackingDetailResponse.setMessage(_ctx.stringValue("ListIvrTrackingDetailResponse.Message")); - listIvrTrackingDetailResponse.setSuccess(_ctx.booleanValue("ListIvrTrackingDetailResponse.Success")); - - IvrTrackingDetails ivrTrackingDetails = new IvrTrackingDetails(); - ivrTrackingDetails.setPageNumber(_ctx.integerValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.PageNumber")); - ivrTrackingDetails.setPageSize(_ctx.integerValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.PageSize")); - ivrTrackingDetails.setTotalCount(_ctx.integerValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List.Length"); i++) { - IvrTrackingDetail ivrTrackingDetail = new IvrTrackingDetail(); - ivrTrackingDetail.setStatus(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].Status")); - ivrTrackingDetail.setDeviceID(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].DeviceID")); - ivrTrackingDetail.setInputData(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].InputData")); - ivrTrackingDetail.setFlowName(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].FlowName")); - ivrTrackingDetail.setCalledNumber(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].CalledNumber")); - ivrTrackingDetail.setStopTime(_ctx.longValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].StopTime")); - ivrTrackingDetail.setStartTime(_ctx.longValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].StartTime")); - ivrTrackingDetail.setNodeType(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].NodeType")); - ivrTrackingDetail.setDescription(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].Description")); - ivrTrackingDetail.setNodeName(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].NodeName")); - ivrTrackingDetail.setContactId(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].ContactId")); - ivrTrackingDetail.setCallingNumber(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].CallingNumber")); - ivrTrackingDetail.setOutputData(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].OutputData")); - ivrTrackingDetail.setTenantId(_ctx.stringValue("ListIvrTrackingDetailResponse.IvrTrackingDetails.List["+ i +"].TenantId")); - - list.add(ivrTrackingDetail); - } - ivrTrackingDetails.setList(list); - listIvrTrackingDetailResponse.setIvrTrackingDetails(ivrTrackingDetails); - - return listIvrTrackingDetailResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListMediasResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListMediasResponseUnmarshaller.java deleted file mode 100644 index 2b506791aa..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListMediasResponseUnmarshaller.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListMediasResponse; -import com.aliyuncs.ccc.model.v20170705.ListMediasResponse.Medias; -import com.aliyuncs.ccc.model.v20170705.ListMediasResponse.Medias.Media; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListMediasResponseUnmarshaller { - - public static ListMediasResponse unmarshall(ListMediasResponse listMediasResponse, UnmarshallerContext _ctx) { - - listMediasResponse.setRequestId(_ctx.stringValue("ListMediasResponse.RequestId")); - listMediasResponse.setHttpStatusCode(_ctx.integerValue("ListMediasResponse.HttpStatusCode")); - listMediasResponse.setCode(_ctx.stringValue("ListMediasResponse.Code")); - listMediasResponse.setMessage(_ctx.stringValue("ListMediasResponse.Message")); - listMediasResponse.setSuccess(_ctx.booleanValue("ListMediasResponse.Success")); - - Medias medias = new Medias(); - medias.setPageNumber(_ctx.integerValue("ListMediasResponse.Medias.PageNumber")); - medias.setPageSize(_ctx.integerValue("ListMediasResponse.Medias.PageSize")); - medias.setTotalCount(_ctx.integerValue("ListMediasResponse.Medias.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListMediasResponse.Medias.List.Length"); i++) { - Media media = new Media(); - media.setStatus(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Status")); - media.setType(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Type")); - media.setFilePath(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].FilePath")); - media.setInstance(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Instance")); - media.setDescription(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Description")); - media.setFileName(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].FileName")); - media.setName(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Name")); - media.setContent(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].Content")); - media.setOssFileName(_ctx.stringValue("ListMediasResponse.Medias.List["+ i +"].OssFileName")); - - list.add(media); - } - medias.setList(list); - listMediasResponse.setMedias(medias); - - return listMediasResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListOutboundPhoneNumberOfUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListOutboundPhoneNumberOfUserResponseUnmarshaller.java deleted file mode 100644 index a1f9931a81..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListOutboundPhoneNumberOfUserResponseUnmarshaller.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListOutboundPhoneNumberOfUserResponse; -import com.aliyuncs.ccc.model.v20170705.ListOutboundPhoneNumberOfUserResponse.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.ListOutboundPhoneNumberOfUserResponse.PhoneNumber.PrivacyNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListOutboundPhoneNumberOfUserResponseUnmarshaller { - - public static ListOutboundPhoneNumberOfUserResponse unmarshall(ListOutboundPhoneNumberOfUserResponse listOutboundPhoneNumberOfUserResponse, UnmarshallerContext _ctx) { - - listOutboundPhoneNumberOfUserResponse.setRequestId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.RequestId")); - listOutboundPhoneNumberOfUserResponse.setHttpStatusCode(_ctx.integerValue("ListOutboundPhoneNumberOfUserResponse.HttpStatusCode")); - listOutboundPhoneNumberOfUserResponse.setCode(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.Code")); - listOutboundPhoneNumberOfUserResponse.setMessage(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.Message")); - listOutboundPhoneNumberOfUserResponse.setSuccess(_ctx.booleanValue("ListOutboundPhoneNumberOfUserResponse.Success")); - - List numberList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListOutboundPhoneNumberOfUserResponse.NumberList.Length"); i++) { - numberList.add(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.NumberList["+ i +"]")); - } - listOutboundPhoneNumberOfUserResponse.setNumberList(numberList); - - List outboundPhoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setPrivateFlag(_ctx.booleanValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivateFlag")); - phoneNumber.setTestOnly(_ctx.booleanValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setSipTelX(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].SipTelX")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setCity(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].City")); - phoneNumber.setInstanceId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setUsage(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].Usage")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PhoneNumberId")); - phoneNumber.setTrunks(_ctx.integerValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].Trunks")); - phoneNumber.setNumber(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].Number")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setProvince(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].Province")); - - PrivacyNumber privacyNumber = new PrivacyNumber(); - privacyNumber.setType(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.Type")); - privacyNumber.setPoolId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.PoolId")); - privacyNumber.setSubId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.SubId")); - privacyNumber.setPhoneNumber(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.PhoneNumber")); - privacyNumber.setPoolName(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.PoolName")); - privacyNumber.setBizId(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.BizId")); - privacyNumber.setRegionNameCity(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.RegionNameCity")); - privacyNumber.setExtra(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.Extra")); - privacyNumber.setTelX(_ctx.stringValue("ListOutboundPhoneNumberOfUserResponse.OutboundPhoneNumbers["+ i +"].PrivacyNumber.TelX")); - phoneNumber.setPrivacyNumber(privacyNumber); - - outboundPhoneNumbers.add(phoneNumber); - } - listOutboundPhoneNumberOfUserResponse.setOutboundPhoneNumbers(outboundPhoneNumbers); - - return listOutboundPhoneNumberOfUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneNumbersResponseUnmarshaller.java deleted file mode 100644 index c87e60c542..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneNumbersResponseUnmarshaller.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListPhoneNumbersResponse; -import com.aliyuncs.ccc.model.v20170705.ListPhoneNumbersResponse.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.ListPhoneNumbersResponse.PhoneNumber.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.ListPhoneNumbersResponse.PhoneNumber.PrivacyNumber; -import com.aliyuncs.ccc.model.v20170705.ListPhoneNumbersResponse.PhoneNumber.SkillGroup; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListPhoneNumbersResponseUnmarshaller { - - public static ListPhoneNumbersResponse unmarshall(ListPhoneNumbersResponse listPhoneNumbersResponse, UnmarshallerContext _ctx) { - - listPhoneNumbersResponse.setRequestId(_ctx.stringValue("ListPhoneNumbersResponse.RequestId")); - listPhoneNumbersResponse.setHttpStatusCode(_ctx.integerValue("ListPhoneNumbersResponse.HttpStatusCode")); - listPhoneNumbersResponse.setCode(_ctx.stringValue("ListPhoneNumbersResponse.Code")); - listPhoneNumbersResponse.setMessage(_ctx.stringValue("ListPhoneNumbersResponse.Message")); - listPhoneNumbersResponse.setSuccess(_ctx.booleanValue("ListPhoneNumbersResponse.Success")); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListPhoneNumbersResponse.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].TestOnly")); - phoneNumber.setSipTelX(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].SipTelX")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setCity(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].City")); - phoneNumber.setInstanceId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].AllowOutbound")); - phoneNumber.setUsage(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].Usage")); - phoneNumber.setAssignee(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].Assignee")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PhoneNumberId")); - phoneNumber.setTrunks(_ctx.integerValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setNumber(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].Number")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setNumberCommodityStatus(_ctx.integerValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].NumberCommodityStatus")); - phoneNumber.setProvince(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].Province")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setType(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.Type")); - contactFlow.setContactFlowDescription(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowDescription")); - contactFlow.setInstanceId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.InstanceId")); - contactFlow.setContactFlowName(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowName")); - contactFlow.setContactFlowId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].ContactFlow.ContactFlowId")); - phoneNumber.setContactFlow(contactFlow); - - PrivacyNumber privacyNumber = new PrivacyNumber(); - privacyNumber.setType(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.Type")); - privacyNumber.setPoolId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.PoolId")); - privacyNumber.setSubId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.SubId")); - privacyNumber.setPhoneNumber(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.PhoneNumber")); - privacyNumber.setPoolName(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.PoolName")); - privacyNumber.setBizId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.BizId")); - privacyNumber.setRegionNameCity(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.RegionNameCity")); - privacyNumber.setExtra(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.Extra")); - privacyNumber.setTelX(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].PrivacyNumber.TelX")); - phoneNumber.setPrivacyNumber(privacyNumber); - - List skillGroups = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups.Length"); j++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setSkillGroupName(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups["+ j +"].SkillGroupName")); - skillGroup.setSkillGroupId(_ctx.stringValue("ListPhoneNumbersResponse.PhoneNumbers["+ i +"].SkillGroups["+ j +"].SkillGroupId")); - - skillGroups.add(skillGroup); - } - phoneNumber.setSkillGroups(skillGroups); - - phoneNumbers.add(phoneNumber); - } - listPhoneNumbersResponse.setPhoneNumbers(phoneNumbers); - - return listPhoneNumbersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneTagsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneTagsResponseUnmarshaller.java deleted file mode 100644 index 1fce0c47be..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListPhoneTagsResponseUnmarshaller.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListPhoneTagsResponse; -import com.aliyuncs.ccc.model.v20170705.ListPhoneTagsResponse.PhoneNumbers; -import com.aliyuncs.ccc.model.v20170705.ListPhoneTagsResponse.PhoneNumbers.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListPhoneTagsResponseUnmarshaller { - - public static ListPhoneTagsResponse unmarshall(ListPhoneTagsResponse listPhoneTagsResponse, UnmarshallerContext _ctx) { - - listPhoneTagsResponse.setRequestId(_ctx.stringValue("ListPhoneTagsResponse.RequestId")); - listPhoneTagsResponse.setHttpStatusCode(_ctx.integerValue("ListPhoneTagsResponse.HttpStatusCode")); - listPhoneTagsResponse.setCode(_ctx.stringValue("ListPhoneTagsResponse.Code")); - listPhoneTagsResponse.setMessage(_ctx.stringValue("ListPhoneTagsResponse.Message")); - listPhoneTagsResponse.setSuccess(_ctx.booleanValue("ListPhoneTagsResponse.Success")); - - PhoneNumbers phoneNumbers = new PhoneNumbers(); - phoneNumbers.setPageNumber(_ctx.integerValue("ListPhoneTagsResponse.PhoneNumbers.PageNumber")); - phoneNumbers.setPageSize(_ctx.integerValue("ListPhoneTagsResponse.PhoneNumbers.PageSize")); - phoneNumbers.setTotalCount(_ctx.integerValue("ListPhoneTagsResponse.PhoneNumbers.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListPhoneTagsResponse.PhoneNumbers.List.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setType(_ctx.integerValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Type")); - phoneNumber.setServiceTag(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].ServiceTag")); - phoneNumber.setCreateTime(_ctx.longValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].CreateTime")); - phoneNumber.setCity(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].City")); - phoneNumber.setInstanceId(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Usage")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].PhoneNumberId")); - phoneNumber.setProvider(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Provider")); - phoneNumber.setNumber(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Number")); - phoneNumber.setContactFlowId(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].ContactFlowId")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].PhoneNumberDescription")); - phoneNumber.setProvince(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Province")); - phoneNumber.setConcurrency(_ctx.integerValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].Concurrency")); - - List skillGroupIdList = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].SkillGroupIdList.Length"); j++) { - skillGroupIdList.add(_ctx.stringValue("ListPhoneTagsResponse.PhoneNumbers.List["+ i +"].SkillGroupIdList["+ j +"]")); - } - phoneNumber.setSkillGroupIdList(skillGroupIdList); - - list.add(phoneNumber); - } - phoneNumbers.setList(list); - listPhoneTagsResponse.setPhoneNumbers(phoneNumbers); - - return listPhoneTagsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRealTimeAgentResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRealTimeAgentResponseUnmarshaller.java deleted file mode 100644 index e5b28fccb0..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRealTimeAgentResponseUnmarshaller.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRealTimeAgentResponse; -import com.aliyuncs.ccc.model.v20170705.ListRealTimeAgentResponse.User; -import com.aliyuncs.ccc.model.v20170705.ListRealTimeAgentResponse.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.ListRealTimeAgentResponse.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRealTimeAgentResponseUnmarshaller { - - public static ListRealTimeAgentResponse unmarshall(ListRealTimeAgentResponse listRealTimeAgentResponse, UnmarshallerContext _ctx) { - - listRealTimeAgentResponse.setRequestId(_ctx.stringValue("ListRealTimeAgentResponse.RequestId")); - listRealTimeAgentResponse.setHttpStatusCode(_ctx.integerValue("ListRealTimeAgentResponse.HttpStatusCode")); - listRealTimeAgentResponse.setCode(_ctx.stringValue("ListRealTimeAgentResponse.Code")); - listRealTimeAgentResponse.setMessage(_ctx.stringValue("ListRealTimeAgentResponse.Message")); - listRealTimeAgentResponse.setSuccess(_ctx.booleanValue("ListRealTimeAgentResponse.Success")); - - List data = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRealTimeAgentResponse.Data.Length"); i++) { - User user = new User(); - user.setDisplayName(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].DisplayName")); - user.setStateDesc(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].StateDesc")); - user.setDn(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].Dn")); - user.setState(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].State")); - user.setRamId(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].RamId")); - user.setPhone(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].Phone")); - - List skillLevels = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels.Length"); j++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("ListRealTimeAgentResponse.Data["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - - data.add(user); - } - listRealTimeAgentResponse.setData(data); - - return listRealTimeAgentResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecentCallRecordsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecentCallRecordsResponseUnmarshaller.java deleted file mode 100644 index 870b2e973b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecentCallRecordsResponseUnmarshaller.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRecentCallRecordsResponse; -import com.aliyuncs.ccc.model.v20170705.ListRecentCallRecordsResponse.CallDetailRecords; -import com.aliyuncs.ccc.model.v20170705.ListRecentCallRecordsResponse.CallDetailRecords.CallDetailRecord; -import com.aliyuncs.ccc.model.v20170705.ListRecentCallRecordsResponse.CallDetailRecords.CallDetailRecord.CallDetailAgent; -import com.aliyuncs.ccc.model.v20170705.ListRecentCallRecordsResponse.CallDetailRecords.CallDetailRecord.Recording; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRecentCallRecordsResponseUnmarshaller { - - public static ListRecentCallRecordsResponse unmarshall(ListRecentCallRecordsResponse listRecentCallRecordsResponse, UnmarshallerContext _ctx) { - - listRecentCallRecordsResponse.setRequestId(_ctx.stringValue("ListRecentCallRecordsResponse.RequestId")); - listRecentCallRecordsResponse.setHttpStatusCode(_ctx.integerValue("ListRecentCallRecordsResponse.HttpStatusCode")); - listRecentCallRecordsResponse.setCode(_ctx.stringValue("ListRecentCallRecordsResponse.Code")); - listRecentCallRecordsResponse.setMessage(_ctx.stringValue("ListRecentCallRecordsResponse.Message")); - listRecentCallRecordsResponse.setSuccess(_ctx.booleanValue("ListRecentCallRecordsResponse.Success")); - - CallDetailRecords callDetailRecords = new CallDetailRecords(); - callDetailRecords.setPageNumber(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.PageNumber")); - callDetailRecords.setPageSize(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.PageSize")); - callDetailRecords.setTotalCount(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRecentCallRecordsResponse.CallDetailRecords.List.Length"); i++) { - CallDetailRecord callDetailRecord = new CallDetailRecord(); - callDetailRecord.setContactDisposition(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].ContactDisposition")); - callDetailRecord.setContactType(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].ContactType")); - callDetailRecord.setInstanceId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].InstanceId")); - callDetailRecord.setCalledNumber(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].CalledNumber")); - callDetailRecord.setAgentNames(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].AgentNames")); - callDetailRecord.setSatisfaction(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Satisfaction")); - callDetailRecord.setStartTime(_ctx.longValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].StartTime")); - callDetailRecord.setExtraAttr(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].ExtraAttr")); - callDetailRecord.setSatisfactionDesc(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].SatisfactionDesc")); - callDetailRecord.setContactId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].ContactId")); - callDetailRecord.setCallingNumber(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].CallingNumber")); - callDetailRecord.setDuration(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Duration")); - callDetailRecord.setSkillGroupNames(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].SkillGroupNames")); - callDetailRecord.setFeedback(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Feedback")); - - List agents = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents.Length"); j++) { - CallDetailAgent callDetailAgent = new CallDetailAgent(); - callDetailAgent.setAgentId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].AgentId")); - callDetailAgent.setTalkTime(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].TalkTime")); - callDetailAgent.setWorkTime(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].WorkTime")); - callDetailAgent.setAgentName(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].AgentName")); - callDetailAgent.setRingTime(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].RingTime")); - callDetailAgent.setSatisfaction(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].Satisfaction")); - callDetailAgent.setStartTime(_ctx.longValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].StartTime")); - callDetailAgent.setContactId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].ContactId")); - callDetailAgent.setSkillGroupName(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].SkillGroupName")); - callDetailAgent.setHoldTime(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].HoldTime")); - callDetailAgent.setQueueTime(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].QueueTime")); - callDetailAgent.setFeedback(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Agents["+ j +"].Feedback")); - - agents.add(callDetailAgent); - } - callDetailRecord.setAgents(agents); - - List recordings = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings.Length"); j++) { - Recording recording = new Recording(); - recording.setContactType(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].ContactType")); - recording.setAgentId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].AgentId")); - recording.setAgentName(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].AgentName")); - recording.setInstanceId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].InstanceId")); - recording.setFileName(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].FileName")); - recording.setCalledNumber(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].CalledNumber")); - recording.setStartTime(_ctx.longValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].StartTime")); - recording.setFilePath(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].FilePath")); - recording.setContactId(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].ContactId")); - recording.setCallingNumber(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].CallingNumber")); - recording.setDuration(_ctx.integerValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].Duration")); - recording.setFileDescription(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].FileDescription")); - recording.setChannel(_ctx.stringValue("ListRecentCallRecordsResponse.CallDetailRecords.List["+ i +"].Recordings["+ j +"].Channel")); - - recordings.add(recording); - } - callDetailRecord.setRecordings(recordings); - - list.add(callDetailRecord); - } - callDetailRecords.setList(list); - listRecentCallRecordsResponse.setCallDetailRecords(callDetailRecords); - - return listRecentCallRecordsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingOfDualTrackResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingOfDualTrackResponseUnmarshaller.java deleted file mode 100644 index c4e0da06bc..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingOfDualTrackResponseUnmarshaller.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRecordingOfDualTrackResponse; -import com.aliyuncs.ccc.model.v20170705.ListRecordingOfDualTrackResponse.Recordings; -import com.aliyuncs.ccc.model.v20170705.ListRecordingOfDualTrackResponse.Recordings.Recording; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRecordingOfDualTrackResponseUnmarshaller { - - public static ListRecordingOfDualTrackResponse unmarshall(ListRecordingOfDualTrackResponse listRecordingOfDualTrackResponse, UnmarshallerContext _ctx) { - - listRecordingOfDualTrackResponse.setRequestId(_ctx.stringValue("ListRecordingOfDualTrackResponse.RequestId")); - listRecordingOfDualTrackResponse.setHttpStatusCode(_ctx.integerValue("ListRecordingOfDualTrackResponse.HttpStatusCode")); - listRecordingOfDualTrackResponse.setCode(_ctx.stringValue("ListRecordingOfDualTrackResponse.Code")); - listRecordingOfDualTrackResponse.setMessage(_ctx.stringValue("ListRecordingOfDualTrackResponse.Message")); - listRecordingOfDualTrackResponse.setSuccess(_ctx.booleanValue("ListRecordingOfDualTrackResponse.Success")); - - Recordings recordings = new Recordings(); - recordings.setPageNumber(_ctx.integerValue("ListRecordingOfDualTrackResponse.Recordings.PageNumber")); - recordings.setPageSize(_ctx.integerValue("ListRecordingOfDualTrackResponse.Recordings.PageSize")); - recordings.setTotalCount(_ctx.integerValue("ListRecordingOfDualTrackResponse.Recordings.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRecordingOfDualTrackResponse.Recordings.List.Length"); i++) { - Recording recording = new Recording(); - recording.setContactType(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].ContactType")); - recording.setAgentId(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].AgentId")); - recording.setAgentName(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].AgentName")); - recording.setInstanceId(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].InstanceId")); - recording.setFileName(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].FileName")); - recording.setCalledNumber(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].CalledNumber")); - recording.setStartTime(_ctx.longValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].StartTime")); - recording.setFilePath(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].FilePath")); - recording.setContactId(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].ContactId")); - recording.setCallingNumber(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].CallingNumber")); - recording.setDuration(_ctx.integerValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].Duration")); - recording.setFileDescription(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].FileDescription")); - recording.setChannel(_ctx.stringValue("ListRecordingOfDualTrackResponse.Recordings.List["+ i +"].Channel")); - - list.add(recording); - } - recordings.setList(list); - listRecordingOfDualTrackResponse.setRecordings(recordings); - - return listRecordingOfDualTrackResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsByContactIdResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsByContactIdResponseUnmarshaller.java deleted file mode 100644 index 4044d08499..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsByContactIdResponseUnmarshaller.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRecordingsByContactIdResponse; -import com.aliyuncs.ccc.model.v20170705.ListRecordingsByContactIdResponse.Recording; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRecordingsByContactIdResponseUnmarshaller { - - public static ListRecordingsByContactIdResponse unmarshall(ListRecordingsByContactIdResponse listRecordingsByContactIdResponse, UnmarshallerContext _ctx) { - - listRecordingsByContactIdResponse.setRequestId(_ctx.stringValue("ListRecordingsByContactIdResponse.RequestId")); - listRecordingsByContactIdResponse.setHttpStatusCode(_ctx.integerValue("ListRecordingsByContactIdResponse.HttpStatusCode")); - listRecordingsByContactIdResponse.setCode(_ctx.stringValue("ListRecordingsByContactIdResponse.Code")); - listRecordingsByContactIdResponse.setMessage(_ctx.stringValue("ListRecordingsByContactIdResponse.Message")); - listRecordingsByContactIdResponse.setSuccess(_ctx.booleanValue("ListRecordingsByContactIdResponse.Success")); - - List recordings = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRecordingsByContactIdResponse.Recordings.Length"); i++) { - Recording recording = new Recording(); - recording.setContactType(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].ContactType")); - recording.setAgentId(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].AgentId")); - recording.setAgentName(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].AgentName")); - recording.setInstanceId(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].InstanceId")); - recording.setFileName(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].FileName")); - recording.setQualityCheckTid(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].QualityCheckTid")); - recording.setCalledNumber(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].CalledNumber")); - recording.setStartTime(_ctx.longValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].StartTime")); - recording.setFilePath(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].FilePath")); - recording.setContactId(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].ContactId")); - recording.setQualityCheckTaskId(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].QualityCheckTaskId")); - recording.setCallingNumber(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].CallingNumber")); - recording.setDuration(_ctx.integerValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].Duration")); - recording.setFileDescription(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].FileDescription")); - recording.setChannel(_ctx.stringValue("ListRecordingsByContactIdResponse.Recordings["+ i +"].Channel")); - - recordings.add(recording); - } - listRecordingsByContactIdResponse.setRecordings(recordings); - - return listRecordingsByContactIdResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsResponseUnmarshaller.java deleted file mode 100644 index 1f2b6cf983..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRecordingsResponseUnmarshaller.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRecordingsResponse; -import com.aliyuncs.ccc.model.v20170705.ListRecordingsResponse.Recordings; -import com.aliyuncs.ccc.model.v20170705.ListRecordingsResponse.Recordings.Recording; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRecordingsResponseUnmarshaller { - - public static ListRecordingsResponse unmarshall(ListRecordingsResponse listRecordingsResponse, UnmarshallerContext _ctx) { - - listRecordingsResponse.setRequestId(_ctx.stringValue("ListRecordingsResponse.RequestId")); - listRecordingsResponse.setHttpStatusCode(_ctx.integerValue("ListRecordingsResponse.HttpStatusCode")); - listRecordingsResponse.setCode(_ctx.stringValue("ListRecordingsResponse.Code")); - listRecordingsResponse.setMessage(_ctx.stringValue("ListRecordingsResponse.Message")); - listRecordingsResponse.setSuccess(_ctx.booleanValue("ListRecordingsResponse.Success")); - - Recordings recordings = new Recordings(); - recordings.setPageNumber(_ctx.integerValue("ListRecordingsResponse.Recordings.PageNumber")); - recordings.setPageSize(_ctx.integerValue("ListRecordingsResponse.Recordings.PageSize")); - recordings.setTotalCount(_ctx.integerValue("ListRecordingsResponse.Recordings.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRecordingsResponse.Recordings.List.Length"); i++) { - Recording recording = new Recording(); - recording.setContactType(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].ContactType")); - recording.setAgentId(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].AgentId")); - recording.setAgentName(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].AgentName")); - recording.setInstanceId(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].InstanceId")); - recording.setFileName(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].FileName")); - recording.setCalledNumber(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].CalledNumber")); - recording.setStartTime(_ctx.longValue("ListRecordingsResponse.Recordings.List["+ i +"].StartTime")); - recording.setFilePath(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].FilePath")); - recording.setContactId(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].ContactId")); - recording.setCallingNumber(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].CallingNumber")); - recording.setDuration(_ctx.integerValue("ListRecordingsResponse.Recordings.List["+ i +"].Duration")); - recording.setFileDescription(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].FileDescription")); - recording.setChannel(_ctx.stringValue("ListRecordingsResponse.Recordings.List["+ i +"].Channel")); - - list.add(recording); - } - recordings.setList(list); - listRecordingsResponse.setRecordings(recordings); - - return listRecordingsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRolesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRolesResponseUnmarshaller.java deleted file mode 100644 index efd8687d5b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListRolesResponseUnmarshaller.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListRolesResponse; -import com.aliyuncs.ccc.model.v20170705.ListRolesResponse.Role; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListRolesResponseUnmarshaller { - - public static ListRolesResponse unmarshall(ListRolesResponse listRolesResponse, UnmarshallerContext _ctx) { - - listRolesResponse.setRequestId(_ctx.stringValue("ListRolesResponse.RequestId")); - listRolesResponse.setHttpStatusCode(_ctx.integerValue("ListRolesResponse.HttpStatusCode")); - listRolesResponse.setCode(_ctx.stringValue("ListRolesResponse.Code")); - listRolesResponse.setMessage(_ctx.stringValue("ListRolesResponse.Message")); - listRolesResponse.setSuccess(_ctx.booleanValue("ListRolesResponse.Success")); - - List roles = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListRolesResponse.Roles.Length"); i++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("ListRolesResponse.Roles["+ i +"].InstanceId")); - role.setRoleName(_ctx.stringValue("ListRolesResponse.Roles["+ i +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("ListRolesResponse.Roles["+ i +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("ListRolesResponse.Roles["+ i +"].RoleId")); - - roles.add(role); - } - listRolesResponse.setRoles(roles); - - return listRolesResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupStatesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupStatesResponseUnmarshaller.java deleted file mode 100644 index 401d8a8261..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupStatesResponseUnmarshaller.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupStatesResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupStatesResponse.Data; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupStatesResponse.Data.RealTimeSkillGroupState; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupStatesResponseUnmarshaller { - - public static ListSkillGroupStatesResponse unmarshall(ListSkillGroupStatesResponse listSkillGroupStatesResponse, UnmarshallerContext _ctx) { - - listSkillGroupStatesResponse.setRequestId(_ctx.stringValue("ListSkillGroupStatesResponse.RequestId")); - listSkillGroupStatesResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupStatesResponse.HttpStatusCode")); - listSkillGroupStatesResponse.setCode(_ctx.stringValue("ListSkillGroupStatesResponse.Code")); - listSkillGroupStatesResponse.setMessage(_ctx.stringValue("ListSkillGroupStatesResponse.Message")); - listSkillGroupStatesResponse.setSuccess(_ctx.booleanValue("ListSkillGroupStatesResponse.Success")); - - Data data = new Data(); - data.setPageNumber(_ctx.integerValue("ListSkillGroupStatesResponse.Data.PageNumber")); - data.setPageSize(_ctx.integerValue("ListSkillGroupStatesResponse.Data.PageSize")); - data.setTotalCount(_ctx.integerValue("ListSkillGroupStatesResponse.Data.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupStatesResponse.Data.List.Length"); i++) { - RealTimeSkillGroupState realTimeSkillGroupState = new RealTimeSkillGroupState(); - realTimeSkillGroupState.setWorkingAgents(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].WorkingAgents")); - realTimeSkillGroupState.setLoggedInAgents(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].LoggedInAgents")); - realTimeSkillGroupState.setBreakingAgents(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].BreakingAgents")); - realTimeSkillGroupState.setLongestCall(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].LongestCall")); - realTimeSkillGroupState.setWaitingCalls(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].WaitingCalls")); - realTimeSkillGroupState.setTalkingAgents(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].TalkingAgents")); - realTimeSkillGroupState.setSkillGroupName(_ctx.stringValue("ListSkillGroupStatesResponse.Data.List["+ i +"].SkillGroupName")); - realTimeSkillGroupState.setSkillGroupId(_ctx.stringValue("ListSkillGroupStatesResponse.Data.List["+ i +"].SkillGroupId")); - realTimeSkillGroupState.setReadyAgents(_ctx.longValue("ListSkillGroupStatesResponse.Data.List["+ i +"].ReadyAgents")); - realTimeSkillGroupState.setInstanceId(_ctx.stringValue("ListSkillGroupStatesResponse.Data.List["+ i +"].InstanceId")); - - list.add(realTimeSkillGroupState); - } - data.setList(list); - listSkillGroupStatesResponse.setData(data); - - return listSkillGroupStatesResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller.java deleted file mode 100644 index 3f2391ab73..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.SkillGroupTimeIntervalReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.SkillGroupTimeIntervalReport.SkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.SkillGroupTimeIntervalReport.SkillGroupSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.SkillGroupTimeIntervalReport.SkillGroupSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.SkillGroupTimeIntervalReport.SkillGroupSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupSummaryReportsByIntervalResponseUnmarshaller { - - public static ListSkillGroupSummaryReportsByIntervalResponse unmarshall(ListSkillGroupSummaryReportsByIntervalResponse listSkillGroupSummaryReportsByIntervalResponse, UnmarshallerContext _ctx) { - - listSkillGroupSummaryReportsByIntervalResponse.setRequestId(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.RequestId")); - listSkillGroupSummaryReportsByIntervalResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupSummaryReportsByIntervalResponse.HttpStatusCode")); - listSkillGroupSummaryReportsByIntervalResponse.setCode(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.Code")); - listSkillGroupSummaryReportsByIntervalResponse.setMessage(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.Message")); - listSkillGroupSummaryReportsByIntervalResponse.setSuccess(_ctx.booleanValue("ListSkillGroupSummaryReportsByIntervalResponse.Success")); - - PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport = new PagedSkillGroupSummaryReport(); - pagedSkillGroupSummaryReport.setPageNumber(_ctx.integerValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.PageNumber")); - pagedSkillGroupSummaryReport.setPageSize(_ctx.integerValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.PageSize")); - pagedSkillGroupSummaryReport.setTotalCount(_ctx.integerValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List.Length"); i++) { - SkillGroupTimeIntervalReport skillGroupTimeIntervalReport = new SkillGroupTimeIntervalReport(); - skillGroupTimeIntervalReport.setSkillGroupId(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].SkillGroupId")); - - List intervalList = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList.Length"); j++) { - SkillGroupSummaryReport skillGroupSummaryReport = new SkillGroupSummaryReport(); - skillGroupSummaryReport.setTimestamp(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Timestamp")); - skillGroupSummaryReport.setInstanceId(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].InstanceId")); - skillGroupSummaryReport.setSkillGroupName(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].SkillGroupName")); - skillGroupSummaryReport.setSkillGroupId(_ctx.stringValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].SkillGroupId")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Overall.TotalCalls")); - skillGroupSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setAverageRingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxWorkTime")); - inbound.setQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.QueueMaxWaitTimeDuration")); - inbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionIndex")); - inbound.setAnsweredByAgentOfQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AnsweredByAgentOfQueueWaitTimeDuration")); - inbound.setTotalRingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalRingTime")); - inbound.setInComingQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.InComingQueueOfQueueCount")); - inbound.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.MaxRingTime")); - inbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.CallsOffered")); - inbound.setAbandonedInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AbandonedInQueueOfQueueCount")); - inbound.setOverFlowInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.OverFlowInQueueOfQueueCount")); - inbound.setAnsweredByAgentOfQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AnsweredByAgentOfQueueMaxWaitTimeDuration")); - inbound.setServiceLevel20(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AverageTalkTime")); - inbound.setAnsweredByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.AnsweredByAgentOfQueueCount")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.SatisfactionSurveysResponded")); - inbound.setGiveUpByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.GiveUpByAgentOfQueueCount")); - inbound.setQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Inbound.QueueWaitTimeDuration")); - skillGroupSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsByIntervalResponse.PagedSkillGroupSummaryReport.List["+ i +"].IntervalList["+ j +"].Outbound.AverageDialingTime")); - skillGroupSummaryReport.setOutbound(outbound); - - intervalList.add(skillGroupSummaryReport); - } - skillGroupTimeIntervalReport.setIntervalList(intervalList); - - list.add(skillGroupTimeIntervalReport); - } - pagedSkillGroupSummaryReport.setList(list); - listSkillGroupSummaryReportsByIntervalResponse.setPagedSkillGroupSummaryReport(pagedSkillGroupSummaryReport); - - return listSkillGroupSummaryReportsByIntervalResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsResponseUnmarshaller.java deleted file mode 100644 index 4f7d713810..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsResponseUnmarshaller.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupSummaryReportsResponseUnmarshaller { - - public static ListSkillGroupSummaryReportsResponse unmarshall(ListSkillGroupSummaryReportsResponse listSkillGroupSummaryReportsResponse, UnmarshallerContext _ctx) { - - listSkillGroupSummaryReportsResponse.setRequestId(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.RequestId")); - listSkillGroupSummaryReportsResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupSummaryReportsResponse.HttpStatusCode")); - listSkillGroupSummaryReportsResponse.setCode(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.Code")); - listSkillGroupSummaryReportsResponse.setMessage(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.Message")); - listSkillGroupSummaryReportsResponse.setSuccess(_ctx.booleanValue("ListSkillGroupSummaryReportsResponse.Success")); - - PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport = new PagedSkillGroupSummaryReport(); - pagedSkillGroupSummaryReport.setPageNumber(_ctx.integerValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.PageNumber")); - pagedSkillGroupSummaryReport.setPageSize(_ctx.integerValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.PageSize")); - pagedSkillGroupSummaryReport.setTotalCount(_ctx.integerValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List.Length"); i++) { - SkillGroupSummaryReport skillGroupSummaryReport = new SkillGroupSummaryReport(); - skillGroupSummaryReport.setInstanceId(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].InstanceId")); - skillGroupSummaryReport.setSkillGroupId(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].SkillGroupId")); - skillGroupSummaryReport.setSkillGroupName(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].SkillGroupName")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalCalls")); - skillGroupSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setAverageRingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.QueueMaxWaitTimeDuration")); - inbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setAnsweredByAgentOfQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueWaitTimeDuration")); - inbound.setTotalRingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalRingTime")); - inbound.setInComingQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.InComingQueueOfQueueCount")); - inbound.setMaxTalkTime(_ctx.stringValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxRingTime")); - inbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsOffered")); - inbound.setAbandonedInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AbandonedInQueueOfQueueCount")); - inbound.setOverFlowInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.OverFlowInQueueOfQueueCount")); - inbound.setAnsweredByAgentOfQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueMaxWaitTimeDuration")); - inbound.setServiceLevel20(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setAnsweredByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueCount")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setGiveUpByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.GiveUpByAgentOfQueueCount")); - inbound.setQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.QueueWaitTimeDuration")); - skillGroupSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageDialingTime")); - skillGroupSummaryReport.setOutbound(outbound); - - list.add(skillGroupSummaryReport); - } - pagedSkillGroupSummaryReport.setList(list); - listSkillGroupSummaryReportsResponse.setPagedSkillGroupSummaryReport(pagedSkillGroupSummaryReport); - - return listSkillGroupSummaryReportsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java deleted file mode 100644 index 322329b25a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Inbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Outbound; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.SkillGroupSummaryReport.Overall; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller { - - public static ListSkillGroupSummaryReportsSinceMidnightResponse unmarshall(ListSkillGroupSummaryReportsSinceMidnightResponse listSkillGroupSummaryReportsSinceMidnightResponse, UnmarshallerContext _ctx) { - - listSkillGroupSummaryReportsSinceMidnightResponse.setRequestId(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.RequestId")); - listSkillGroupSummaryReportsSinceMidnightResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupSummaryReportsSinceMidnightResponse.HttpStatusCode")); - listSkillGroupSummaryReportsSinceMidnightResponse.setCode(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.Code")); - listSkillGroupSummaryReportsSinceMidnightResponse.setMessage(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.Message")); - listSkillGroupSummaryReportsSinceMidnightResponse.setSuccess(_ctx.booleanValue("ListSkillGroupSummaryReportsSinceMidnightResponse.Success")); - - PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport = new PagedSkillGroupSummaryReport(); - pagedSkillGroupSummaryReport.setPageNumber(_ctx.integerValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.PageNumber")); - pagedSkillGroupSummaryReport.setPageSize(_ctx.integerValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.PageSize")); - pagedSkillGroupSummaryReport.setTotalCount(_ctx.integerValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List.Length"); i++) { - SkillGroupSummaryReport skillGroupSummaryReport = new SkillGroupSummaryReport(); - skillGroupSummaryReport.setTimestamp(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Timestamp")); - skillGroupSummaryReport.setInstanceId(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].InstanceId")); - skillGroupSummaryReport.setSkillGroupName(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].SkillGroupName")); - skillGroupSummaryReport.setSkillGroupId(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].SkillGroupId")); - - Overall overall = new Overall(); - overall.setTotalLoggedInTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalLoggedInTime")); - overall.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalTalkTime")); - overall.setOccupancyRate(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.OccupancyRate")); - overall.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalWorkTime")); - overall.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxWorkTime")); - overall.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageWorkTime")); - overall.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageTalkTime")); - overall.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionIndex")); - overall.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionSurveysOffered")); - overall.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.SatisfactionSurveysResponded")); - overall.setMaxReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxReadyTime")); - overall.setAverageReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.AverageReadyTime")); - overall.setTotalBreakTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalBreakTime")); - overall.setTotalReadyTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalReadyTime")); - overall.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.MaxTalkTime")); - overall.setTotalCalls(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Overall.TotalCalls")); - skillGroupSummaryReport.setOverall(overall); - - Inbound inbound = new Inbound(); - inbound.setAverageRingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageRingTime")); - inbound.setCallsHandled(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsHandled")); - inbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalWorkTime")); - inbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxWorkTime")); - inbound.setQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.QueueMaxWaitTimeDuration")); - inbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageWorkTime")); - inbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionIndex")); - inbound.setAnsweredByAgentOfQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueWaitTimeDuration")); - inbound.setTotalRingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalRingTime")); - inbound.setInComingQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.InComingQueueOfQueueCount")); - inbound.setMaxTalkTime(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxTalkTime")); - inbound.setMaxRingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.MaxRingTime")); - inbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.TotalTalkTime")); - inbound.setCallsOffered(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsOffered")); - inbound.setAbandonedInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AbandonedInQueueOfQueueCount")); - inbound.setOverFlowInQueueOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.OverFlowInQueueOfQueueCount")); - inbound.setAnsweredByAgentOfQueueMaxWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueMaxWaitTimeDuration")); - inbound.setServiceLevel20(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.ServiceLevel20")); - inbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AverageTalkTime")); - inbound.setAnsweredByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.AnsweredByAgentOfQueueCount")); - inbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysOffered")); - inbound.setHandleRate(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.HandleRate")); - inbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.SatisfactionSurveysResponded")); - inbound.setGiveUpByAgentOfQueueCount(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.GiveUpByAgentOfQueueCount")); - inbound.setQueueWaitTimeDuration(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.QueueWaitTimeDuration")); - inbound.setCallsServiceLevel20(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsServiceLevel20")); - inbound.setCallsServiceLevel30(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsServiceLevel30")); - skillGroupSummaryReport.setInbound(inbound); - - Outbound outbound = new Outbound(); - outbound.setTotalTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalTalkTime")); - outbound.setMaxDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxDialingTime")); - outbound.setCallsDialed(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.CallsDialed")); - outbound.setCallsAnswered(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.CallsAnswered")); - outbound.setAnswerRate(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AnswerRate")); - outbound.setTotalWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalWorkTime")); - outbound.setMaxWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxWorkTime")); - outbound.setTotalDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.TotalDialingTime")); - outbound.setAverageTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageTalkTime")); - outbound.setAverageWorkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageWorkTime")); - outbound.setSatisfactionIndex(_ctx.floatValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionIndex")); - outbound.setSatisfactionSurveysOffered(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysOffered")); - outbound.setSatisfactionSurveysResponded(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.SatisfactionSurveysResponded")); - outbound.setMaxTalkTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.MaxTalkTime")); - outbound.setAverageDialingTime(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Outbound.AverageDialingTime")); - skillGroupSummaryReport.setOutbound(outbound); - - list.add(skillGroupSummaryReport); - } - pagedSkillGroupSummaryReport.setList(list); - listSkillGroupSummaryReportsSinceMidnightResponse.setPagedSkillGroupSummaryReport(pagedSkillGroupSummaryReport); - - return listSkillGroupSummaryReportsSinceMidnightResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsOfUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsOfUserResponseUnmarshaller.java deleted file mode 100644 index 8b884a03d7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsOfUserResponseUnmarshaller.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsOfUserResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsOfUserResponse.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsOfUserResponse.SkillLevel.Skill; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsOfUserResponse.SkillLevel.Skill.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupsOfUserResponseUnmarshaller { - - public static ListSkillGroupsOfUserResponse unmarshall(ListSkillGroupsOfUserResponse listSkillGroupsOfUserResponse, UnmarshallerContext _ctx) { - - listSkillGroupsOfUserResponse.setRequestId(_ctx.stringValue("ListSkillGroupsOfUserResponse.RequestId")); - listSkillGroupsOfUserResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupsOfUserResponse.HttpStatusCode")); - listSkillGroupsOfUserResponse.setCode(_ctx.stringValue("ListSkillGroupsOfUserResponse.Code")); - listSkillGroupsOfUserResponse.setMessage(_ctx.stringValue("ListSkillGroupsOfUserResponse.Message")); - listSkillGroupsOfUserResponse.setSuccess(_ctx.booleanValue("ListSkillGroupsOfUserResponse.Success")); - - List skillLevels = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupsOfUserResponse.SkillLevels.Length"); i++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.InstanceId")); - skill.setRoutingStrategy(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.RoutingStrategy")); - skill.setSkillGroupDescription(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.SkillGroupDescription")); - skill.setSkillGroupName(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.SkillGroupName")); - skill.setSkillGroupId(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.SkillGroupId")); - - List outboundPhoneNumbers = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers.Length"); j++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].Number")); - phoneNumber.setCity(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].City")); - phoneNumber.setInstanceId(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].PhoneNumberDescription")); - phoneNumber.setProvince(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].Province")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListSkillGroupsOfUserResponse.SkillLevels["+ i +"].Skill.OutboundPhoneNumbers["+ j +"].PhoneNumberId")); - - outboundPhoneNumbers.add(phoneNumber); - } - skill.setOutboundPhoneNumbers(outboundPhoneNumbers); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - listSkillGroupsOfUserResponse.setSkillLevels(skillLevels); - - return listSkillGroupsOfUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsResponseUnmarshaller.java deleted file mode 100644 index 0669ca79bb..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListSkillGroupsResponseUnmarshaller.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsResponse; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsResponse.SkillGroup; -import com.aliyuncs.ccc.model.v20170705.ListSkillGroupsResponse.SkillGroup.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListSkillGroupsResponseUnmarshaller { - - public static ListSkillGroupsResponse unmarshall(ListSkillGroupsResponse listSkillGroupsResponse, UnmarshallerContext _ctx) { - - listSkillGroupsResponse.setRequestId(_ctx.stringValue("ListSkillGroupsResponse.RequestId")); - listSkillGroupsResponse.setHttpStatusCode(_ctx.integerValue("ListSkillGroupsResponse.HttpStatusCode")); - listSkillGroupsResponse.setCode(_ctx.stringValue("ListSkillGroupsResponse.Code")); - listSkillGroupsResponse.setMessage(_ctx.stringValue("ListSkillGroupsResponse.Message")); - listSkillGroupsResponse.setSuccess(_ctx.booleanValue("ListSkillGroupsResponse.Success")); - - List skillGroups = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListSkillGroupsResponse.SkillGroups.Length"); i++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setRoutingStrategy(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].RoutingStrategy")); - skillGroup.setSkillGroupId(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupId")); - skillGroup.setSkillGroupName(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupName")); - skillGroup.setUserCount(_ctx.integerValue("ListSkillGroupsResponse.SkillGroups["+ i +"].UserCount")); - skillGroup.setInstanceId(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].InstanceId")); - skillGroup.setAccQueueName(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].AccQueueName")); - skillGroup.setAccSkillGroupName(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].AccSkillGroupName")); - skillGroup.setSkillGroupDescription(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupDescription")); - - List outboundPhoneNumbers = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers.Length"); j++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].Number")); - phoneNumber.setInstanceId(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListSkillGroupsResponse.SkillGroups["+ i +"].OutboundPhoneNumbers["+ j +"].PhoneNumberId")); - - outboundPhoneNumbers.add(phoneNumber); - } - skillGroup.setOutboundPhoneNumbers(outboundPhoneNumbers); - - skillGroups.add(skillGroup); - } - listSkillGroupsResponse.setSkillGroups(skillGroups); - - return listSkillGroupsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTransferableSkillGroupsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTransferableSkillGroupsResponseUnmarshaller.java deleted file mode 100644 index 34ec66f307..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTransferableSkillGroupsResponseUnmarshaller.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListTransferableSkillGroupsResponse; -import com.aliyuncs.ccc.model.v20170705.ListTransferableSkillGroupsResponse.SkillGroup; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListTransferableSkillGroupsResponseUnmarshaller { - - public static ListTransferableSkillGroupsResponse unmarshall(ListTransferableSkillGroupsResponse listTransferableSkillGroupsResponse, UnmarshallerContext _ctx) { - - listTransferableSkillGroupsResponse.setRequestId(_ctx.stringValue("ListTransferableSkillGroupsResponse.RequestId")); - listTransferableSkillGroupsResponse.setHttpStatusCode(_ctx.integerValue("ListTransferableSkillGroupsResponse.HttpStatusCode")); - listTransferableSkillGroupsResponse.setCode(_ctx.stringValue("ListTransferableSkillGroupsResponse.Code")); - listTransferableSkillGroupsResponse.setMessage(_ctx.stringValue("ListTransferableSkillGroupsResponse.Message")); - listTransferableSkillGroupsResponse.setSuccess(_ctx.booleanValue("ListTransferableSkillGroupsResponse.Success")); - - List skillGroups = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListTransferableSkillGroupsResponse.SkillGroups.Length"); i++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setAllowPrivateOutboundNumber(_ctx.booleanValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].AllowPrivateOutboundNumber")); - skillGroup.setRoutingStrategy(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].RoutingStrategy")); - skillGroup.setSkillGroupName(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupName")); - skillGroup.setSkillGroupId(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupId")); - skillGroup.setUserCount(_ctx.integerValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].UserCount")); - skillGroup.setAccQueueName(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].AccQueueName")); - skillGroup.setInstanceId(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].InstanceId")); - skillGroup.setSkillGroupDescription(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].SkillGroupDescription")); - skillGroup.setAccSkillGroupName(_ctx.stringValue("ListTransferableSkillGroupsResponse.SkillGroups["+ i +"].AccSkillGroupName")); - - skillGroups.add(skillGroup); - } - listTransferableSkillGroupsResponse.setSkillGroups(skillGroups); - - return listTransferableSkillGroupsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunkProvidersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunkProvidersResponseUnmarshaller.java deleted file mode 100644 index 500c95e156..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunkProvidersResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListTrunkProvidersResponse; -import com.aliyuncs.ccc.model.v20170705.ListTrunkProvidersResponse.TrunkProvider; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListTrunkProvidersResponseUnmarshaller { - - public static ListTrunkProvidersResponse unmarshall(ListTrunkProvidersResponse listTrunkProvidersResponse, UnmarshallerContext _ctx) { - - listTrunkProvidersResponse.setRequestId(_ctx.stringValue("ListTrunkProvidersResponse.RequestId")); - listTrunkProvidersResponse.setHttpStatusCode(_ctx.integerValue("ListTrunkProvidersResponse.HttpStatusCode")); - listTrunkProvidersResponse.setCode(_ctx.stringValue("ListTrunkProvidersResponse.Code")); - listTrunkProvidersResponse.setMessage(_ctx.stringValue("ListTrunkProvidersResponse.Message")); - listTrunkProvidersResponse.setSuccess(_ctx.booleanValue("ListTrunkProvidersResponse.Success")); - - List trunkProviders = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListTrunkProvidersResponse.TrunkProviders.Length"); i++) { - TrunkProvider trunkProvider = new TrunkProvider(); - trunkProvider.setStatus(_ctx.stringValue("ListTrunkProvidersResponse.TrunkProviders["+ i +"].Status")); - trunkProvider.setProviderName(_ctx.stringValue("ListTrunkProvidersResponse.TrunkProviders["+ i +"].ProviderName")); - - trunkProviders.add(trunkProvider); - } - listTrunkProvidersResponse.setTrunkProviders(trunkProviders); - - return listTrunkProvidersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunksOfSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunksOfSkillGroupResponseUnmarshaller.java deleted file mode 100644 index b45ec4d67a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListTrunksOfSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListTrunksOfSkillGroupResponse; -import com.aliyuncs.ccc.model.v20170705.ListTrunksOfSkillGroupResponse.TrunkConfig; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListTrunksOfSkillGroupResponseUnmarshaller { - - public static ListTrunksOfSkillGroupResponse unmarshall(ListTrunksOfSkillGroupResponse listTrunksOfSkillGroupResponse, UnmarshallerContext _ctx) { - - listTrunksOfSkillGroupResponse.setRequestId(_ctx.stringValue("ListTrunksOfSkillGroupResponse.RequestId")); - listTrunksOfSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("ListTrunksOfSkillGroupResponse.HttpStatusCode")); - listTrunksOfSkillGroupResponse.setCode(_ctx.stringValue("ListTrunksOfSkillGroupResponse.Code")); - listTrunksOfSkillGroupResponse.setMessage(_ctx.stringValue("ListTrunksOfSkillGroupResponse.Message")); - listTrunksOfSkillGroupResponse.setSuccess(_ctx.booleanValue("ListTrunksOfSkillGroupResponse.Success")); - - List trunkConfigs = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListTrunksOfSkillGroupResponse.TrunkConfigs.Length"); i++) { - TrunkConfig trunkConfig = new TrunkConfig(); - trunkConfig.setProviderName(_ctx.stringValue("ListTrunksOfSkillGroupResponse.TrunkConfigs["+ i +"].ProviderName")); - trunkConfig.setPrimary(_ctx.booleanValue("ListTrunksOfSkillGroupResponse.TrunkConfigs["+ i +"].Primary")); - - trunkConfigs.add(trunkConfig); - } - listTrunksOfSkillGroupResponse.setTrunkConfigs(trunkConfigs); - - return listTrunksOfSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersOfSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersOfSkillGroupResponseUnmarshaller.java deleted file mode 100644 index 5d09a8ae51..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersOfSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User.Detail; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User.Role; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User.Role.Privilege; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.ListUsersOfSkillGroupResponse.Users.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListUsersOfSkillGroupResponseUnmarshaller { - - public static ListUsersOfSkillGroupResponse unmarshall(ListUsersOfSkillGroupResponse listUsersOfSkillGroupResponse, UnmarshallerContext _ctx) { - - listUsersOfSkillGroupResponse.setRequestId(_ctx.stringValue("ListUsersOfSkillGroupResponse.RequestId")); - listUsersOfSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("ListUsersOfSkillGroupResponse.HttpStatusCode")); - listUsersOfSkillGroupResponse.setCode(_ctx.stringValue("ListUsersOfSkillGroupResponse.Code")); - listUsersOfSkillGroupResponse.setMessage(_ctx.stringValue("ListUsersOfSkillGroupResponse.Message")); - listUsersOfSkillGroupResponse.setSuccess(_ctx.booleanValue("ListUsersOfSkillGroupResponse.Success")); - - Users users = new Users(); - users.setPageNumber(_ctx.integerValue("ListUsersOfSkillGroupResponse.Users.PageNumber")); - users.setPageSize(_ctx.integerValue("ListUsersOfSkillGroupResponse.Users.PageSize")); - users.setTotalCount(_ctx.integerValue("ListUsersOfSkillGroupResponse.Users.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListUsersOfSkillGroupResponse.Users.List.Length"); i++) { - User user = new User(); - user.setInstanceId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].InstanceId")); - user.setRamId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].RamId")); - user.setUserId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Detail.Phone")); - user.setDetail(detail); - - List roles = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles.Length"); j++) { - Role role = new Role(); - role.setUserCount(_ctx.integerValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].UserCount")); - role.setRoleName(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].RoleName")); - role.setInstanceId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].InstanceId")); - role.setRoleDescription(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].RoleId")); - - List privileges = new ArrayList(); - for (int k = 0; k < _ctx.lengthValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].Privileges.Length"); k++) { - Privilege privilege = new Privilege(); - privilege.setPrivilegeName(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].Privileges["+ k +"].PrivilegeName")); - privilege.setPrivilegeId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].Privileges["+ k +"].PrivilegeId")); - privilege.setPrivilegeDescription(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].Roles["+ j +"].Privileges["+ k +"].PrivilegeDescription")); - - privileges.add(privilege); - } - role.setPrivileges(privileges); - - roles.add(role); - } - user.setRoles(roles); - - List skillLevels = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels.Length"); j++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("ListUsersOfSkillGroupResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - - list.add(user); - } - users.setList(list); - listUsersOfSkillGroupResponse.setUsers(users); - - return listUsersOfSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersResponseUnmarshaller.java deleted file mode 100644 index 96f31f5036..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListUsersResponseUnmarshaller.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users.User; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users.User.Detail; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users.User.Role; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users.User.SkillLevel; -import com.aliyuncs.ccc.model.v20170705.ListUsersResponse.Users.User.SkillLevel.Skill; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListUsersResponseUnmarshaller { - - public static ListUsersResponse unmarshall(ListUsersResponse listUsersResponse, UnmarshallerContext _ctx) { - - listUsersResponse.setRequestId(_ctx.stringValue("ListUsersResponse.RequestId")); - listUsersResponse.setHttpStatusCode(_ctx.integerValue("ListUsersResponse.HttpStatusCode")); - listUsersResponse.setCode(_ctx.stringValue("ListUsersResponse.Code")); - listUsersResponse.setMessage(_ctx.stringValue("ListUsersResponse.Message")); - listUsersResponse.setSuccess(_ctx.booleanValue("ListUsersResponse.Success")); - - Users users = new Users(); - users.setPageNumber(_ctx.integerValue("ListUsersResponse.Users.PageNumber")); - users.setPageSize(_ctx.integerValue("ListUsersResponse.Users.PageSize")); - users.setTotalCount(_ctx.integerValue("ListUsersResponse.Users.TotalCount")); - - List list = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListUsersResponse.Users.List.Length"); i++) { - User user = new User(); - user.setPrivateOutboundNumberId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].PrivateOutboundNumberId")); - user.setPrimary(_ctx.booleanValue("ListUsersResponse.Users.List["+ i +"].Primary")); - user.setInstanceId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].InstanceId")); - user.setRamId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].RamId")); - user.setUserId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].UserId")); - - Detail detail = new Detail(); - detail.setDisplayName(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Detail.DisplayName")); - detail.setEmail(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Detail.Email")); - detail.setLoginName(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Detail.LoginName")); - detail.setDepartment(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Detail.Department")); - detail.setPhone(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Detail.Phone")); - user.setDetail(detail); - - List roles = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListUsersResponse.Users.List["+ i +"].Roles.Length"); j++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Roles["+ j +"].InstanceId")); - role.setRoleName(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].Roles["+ j +"].RoleId")); - - roles.add(role); - } - user.setRoles(roles); - - List skillLevels = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("ListUsersResponse.Users.List["+ i +"].SkillLevels.Length"); j++) { - SkillLevel skillLevel = new SkillLevel(); - skillLevel.setSkillLevelId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].SkillLevelId")); - skillLevel.setLevel(_ctx.integerValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Level")); - - Skill skill = new Skill(); - skill.setInstanceId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.InstanceId")); - skill.setSkillGroupDescription(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupDescription")); - skill.setSkillGroupId(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupId")); - skill.setSkillGroupName(_ctx.stringValue("ListUsersResponse.Users.List["+ i +"].SkillLevels["+ j +"].Skill.SkillGroupName")); - skillLevel.setSkill(skill); - - skillLevels.add(skillLevel); - } - user.setSkillLevels(skillLevels); - - list.add(user); - } - users.setList(list); - listUsersResponse.setUsers(users); - - return listUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListVoiceAppraiseResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListVoiceAppraiseResponseUnmarshaller.java deleted file mode 100644 index f479dfc0c7..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ListVoiceAppraiseResponseUnmarshaller.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ListVoiceAppraiseResponse; -import com.aliyuncs.ccc.model.v20170705.ListVoiceAppraiseResponse.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.ListVoiceAppraiseResponse.ContactFlow.ContactFlowVersion; -import com.aliyuncs.ccc.model.v20170705.ListVoiceAppraiseResponse.ContactFlow.PhoneNumber; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListVoiceAppraiseResponseUnmarshaller { - - public static ListVoiceAppraiseResponse unmarshall(ListVoiceAppraiseResponse listVoiceAppraiseResponse, UnmarshallerContext _ctx) { - - listVoiceAppraiseResponse.setRequestId(_ctx.stringValue("ListVoiceAppraiseResponse.RequestId")); - listVoiceAppraiseResponse.setHttpStatusCode(_ctx.integerValue("ListVoiceAppraiseResponse.HttpStatusCode")); - listVoiceAppraiseResponse.setSuccess(_ctx.booleanValue("ListVoiceAppraiseResponse.Success")); - listVoiceAppraiseResponse.setNotice(_ctx.stringValue("ListVoiceAppraiseResponse.Notice")); - listVoiceAppraiseResponse.setCode(_ctx.stringValue("ListVoiceAppraiseResponse.Code")); - listVoiceAppraiseResponse.setMessage(_ctx.stringValue("ListVoiceAppraiseResponse.Message")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setContactFlowDescription(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.ContactFlowDescription")); - contactFlow.setType(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Type")); - contactFlow.setContactFlowName(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.ContactFlowName")); - contactFlow.setInstanceId(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.InstanceId")); - contactFlow.setContactFlowId(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.ContactFlowId")); - contactFlow.setAppliedVersion(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.AppliedVersion")); - - List versions = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListVoiceAppraiseResponse.ContactFlow.Versions.Length"); i++) { - ContactFlowVersion contactFlowVersion = new ContactFlowVersion(); - contactFlowVersion.setStatus(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].Status")); - contactFlowVersion.setLastModified(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].LastModified")); - contactFlowVersion.setVersion(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].Version")); - contactFlowVersion.setContactFlowVersionId(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].ContactFlowVersionId")); - contactFlowVersion.setContactFlowVersionDescription(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].ContactFlowVersionDescription")); - contactFlowVersion.setLastModifiedBy(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].LastModifiedBy")); - contactFlowVersion.setContent(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.Versions["+ i +"].Content")); - - versions.add(contactFlowVersion); - } - contactFlow.setVersions(versions); - - List phoneNumbers = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers.Length"); i++) { - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTrunks(_ctx.integerValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].Trunks")); - phoneNumber.setNumber(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].Number")); - phoneNumber.setRemainingTime(_ctx.integerValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].RemainingTime")); - phoneNumber.setInstanceId(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].InstanceId")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ListVoiceAppraiseResponse.ContactFlow.PhoneNumbers["+ i +"].PhoneNumberId")); - - phoneNumbers.add(phoneNumber); - } - contactFlow.setPhoneNumbers(phoneNumbers); - listVoiceAppraiseResponse.setContactFlow(contactFlow); - - return listVoiceAppraiseResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyAgentDeviceResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyAgentDeviceResponseUnmarshaller.java deleted file mode 100644 index c91478f242..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyAgentDeviceResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifyAgentDeviceResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifyAgentDeviceResponseUnmarshaller { - - public static ModifyAgentDeviceResponse unmarshall(ModifyAgentDeviceResponse modifyAgentDeviceResponse, UnmarshallerContext _ctx) { - - modifyAgentDeviceResponse.setRequestId(_ctx.stringValue("ModifyAgentDeviceResponse.RequestId")); - modifyAgentDeviceResponse.setHttpStatusCode(_ctx.integerValue("ModifyAgentDeviceResponse.HttpStatusCode")); - modifyAgentDeviceResponse.setCode(_ctx.stringValue("ModifyAgentDeviceResponse.Code")); - modifyAgentDeviceResponse.setMessage(_ctx.stringValue("ModifyAgentDeviceResponse.Message")); - modifyAgentDeviceResponse.setSuccess(_ctx.booleanValue("ModifyAgentDeviceResponse.Success")); - - return modifyAgentDeviceResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneNumberResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneNumberResponseUnmarshaller.java deleted file mode 100644 index 9bd158fbef..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneNumberResponseUnmarshaller.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.ModifyPhoneNumberResponse; -import com.aliyuncs.ccc.model.v20170705.ModifyPhoneNumberResponse.PhoneNumber; -import com.aliyuncs.ccc.model.v20170705.ModifyPhoneNumberResponse.PhoneNumber.ContactFlow; -import com.aliyuncs.ccc.model.v20170705.ModifyPhoneNumberResponse.PhoneNumber.SkillGroup; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifyPhoneNumberResponseUnmarshaller { - - public static ModifyPhoneNumberResponse unmarshall(ModifyPhoneNumberResponse modifyPhoneNumberResponse, UnmarshallerContext _ctx) { - - modifyPhoneNumberResponse.setRequestId(_ctx.stringValue("ModifyPhoneNumberResponse.RequestId")); - modifyPhoneNumberResponse.setHttpStatusCode(_ctx.integerValue("ModifyPhoneNumberResponse.HttpStatusCode")); - modifyPhoneNumberResponse.setCode(_ctx.stringValue("ModifyPhoneNumberResponse.Code")); - modifyPhoneNumberResponse.setMessage(_ctx.stringValue("ModifyPhoneNumberResponse.Message")); - modifyPhoneNumberResponse.setSuccess(_ctx.booleanValue("ModifyPhoneNumberResponse.Success")); - - PhoneNumber phoneNumber = new PhoneNumber(); - phoneNumber.setTestOnly(_ctx.booleanValue("ModifyPhoneNumberResponse.PhoneNumber.TestOnly")); - phoneNumber.setTrunks(_ctx.integerValue("ModifyPhoneNumberResponse.PhoneNumber.Trunks")); - phoneNumber.setRemainingTime(_ctx.integerValue("ModifyPhoneNumberResponse.PhoneNumber.RemainingTime")); - phoneNumber.setNumber(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.Number")); - phoneNumber.setInstanceId(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.InstanceId")); - phoneNumber.setUsage(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.Usage")); - phoneNumber.setAllowOutbound(_ctx.booleanValue("ModifyPhoneNumberResponse.PhoneNumber.AllowOutbound")); - phoneNumber.setPhoneNumberDescription(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.PhoneNumberDescription")); - phoneNumber.setPhoneNumberId(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.PhoneNumberId")); - - ContactFlow contactFlow = new ContactFlow(); - contactFlow.setType(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.ContactFlow.Type")); - contactFlow.setContactFlowDescription(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowDescription")); - contactFlow.setInstanceId(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.ContactFlow.InstanceId")); - contactFlow.setContactFlowName(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowName")); - contactFlow.setContactFlowId(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.ContactFlow.ContactFlowId")); - phoneNumber.setContactFlow(contactFlow); - - List skillGroups = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ModifyPhoneNumberResponse.PhoneNumber.SkillGroups.Length"); i++) { - SkillGroup skillGroup = new SkillGroup(); - skillGroup.setSkillGroupName(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.SkillGroups["+ i +"].SkillGroupName")); - skillGroup.setSkillGroupId(_ctx.stringValue("ModifyPhoneNumberResponse.PhoneNumber.SkillGroups["+ i +"].SkillGroupId")); - - skillGroups.add(skillGroup); - } - phoneNumber.setSkillGroups(skillGroups); - modifyPhoneNumberResponse.setPhoneNumber(phoneNumber); - - return modifyPhoneNumberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneTagsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneTagsResponseUnmarshaller.java deleted file mode 100644 index a1a733a2fe..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPhoneTagsResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifyPhoneTagsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifyPhoneTagsResponseUnmarshaller { - - public static ModifyPhoneTagsResponse unmarshall(ModifyPhoneTagsResponse modifyPhoneTagsResponse, UnmarshallerContext _ctx) { - - modifyPhoneTagsResponse.setRequestId(_ctx.stringValue("ModifyPhoneTagsResponse.RequestId")); - modifyPhoneTagsResponse.setHttpStatusCode(_ctx.integerValue("ModifyPhoneTagsResponse.HttpStatusCode")); - modifyPhoneTagsResponse.setCode(_ctx.stringValue("ModifyPhoneTagsResponse.Code")); - modifyPhoneTagsResponse.setMessage(_ctx.stringValue("ModifyPhoneTagsResponse.Message")); - modifyPhoneTagsResponse.setSuccess(_ctx.booleanValue("ModifyPhoneTagsResponse.Success")); - - return modifyPhoneTagsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller.java deleted file mode 100644 index 492911d836..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifyPrimaryTrunksOfSkillGroupResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifyPrimaryTrunksOfSkillGroupResponseUnmarshaller { - - public static ModifyPrimaryTrunksOfSkillGroupResponse unmarshall(ModifyPrimaryTrunksOfSkillGroupResponse modifyPrimaryTrunksOfSkillGroupResponse, UnmarshallerContext _ctx) { - - modifyPrimaryTrunksOfSkillGroupResponse.setRequestId(_ctx.stringValue("ModifyPrimaryTrunksOfSkillGroupResponse.RequestId")); - modifyPrimaryTrunksOfSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("ModifyPrimaryTrunksOfSkillGroupResponse.HttpStatusCode")); - modifyPrimaryTrunksOfSkillGroupResponse.setCode(_ctx.stringValue("ModifyPrimaryTrunksOfSkillGroupResponse.Code")); - modifyPrimaryTrunksOfSkillGroupResponse.setMessage(_ctx.stringValue("ModifyPrimaryTrunksOfSkillGroupResponse.Message")); - modifyPrimaryTrunksOfSkillGroupResponse.setSuccess(_ctx.booleanValue("ModifyPrimaryTrunksOfSkillGroupResponse.Success")); - - return modifyPrimaryTrunksOfSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrivacyNumberCallDetailResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrivacyNumberCallDetailResponseUnmarshaller.java deleted file mode 100644 index 06763d5d31..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyPrivacyNumberCallDetailResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifyPrivacyNumberCallDetailResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifyPrivacyNumberCallDetailResponseUnmarshaller { - - public static ModifyPrivacyNumberCallDetailResponse unmarshall(ModifyPrivacyNumberCallDetailResponse modifyPrivacyNumberCallDetailResponse, UnmarshallerContext _ctx) { - - modifyPrivacyNumberCallDetailResponse.setRequestId(_ctx.stringValue("ModifyPrivacyNumberCallDetailResponse.RequestId")); - modifyPrivacyNumberCallDetailResponse.setHttpStatusCode(_ctx.integerValue("ModifyPrivacyNumberCallDetailResponse.HttpStatusCode")); - modifyPrivacyNumberCallDetailResponse.setCode(_ctx.stringValue("ModifyPrivacyNumberCallDetailResponse.Code")); - modifyPrivacyNumberCallDetailResponse.setMessage(_ctx.stringValue("ModifyPrivacyNumberCallDetailResponse.Message")); - modifyPrivacyNumberCallDetailResponse.setSuccess(_ctx.booleanValue("ModifyPrivacyNumberCallDetailResponse.Success")); - - return modifyPrivacyNumberCallDetailResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupBasicInfoResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupBasicInfoResponseUnmarshaller.java deleted file mode 100644 index 0dd2f4d4f6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupBasicInfoResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifySkillGroupBasicInfoResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifySkillGroupBasicInfoResponseUnmarshaller { - - public static ModifySkillGroupBasicInfoResponse unmarshall(ModifySkillGroupBasicInfoResponse modifySkillGroupBasicInfoResponse, UnmarshallerContext _ctx) { - - modifySkillGroupBasicInfoResponse.setRequestId(_ctx.stringValue("ModifySkillGroupBasicInfoResponse.RequestId")); - modifySkillGroupBasicInfoResponse.setHttpStatusCode(_ctx.integerValue("ModifySkillGroupBasicInfoResponse.HttpStatusCode")); - modifySkillGroupBasicInfoResponse.setCode(_ctx.stringValue("ModifySkillGroupBasicInfoResponse.Code")); - modifySkillGroupBasicInfoResponse.setMessage(_ctx.stringValue("ModifySkillGroupBasicInfoResponse.Message")); - modifySkillGroupBasicInfoResponse.setSuccess(_ctx.booleanValue("ModifySkillGroupBasicInfoResponse.Success")); - - return modifySkillGroupBasicInfoResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOfUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOfUserResponseUnmarshaller.java deleted file mode 100644 index eb014db3c4..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOfUserResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifySkillGroupOfUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifySkillGroupOfUserResponseUnmarshaller { - - public static ModifySkillGroupOfUserResponse unmarshall(ModifySkillGroupOfUserResponse modifySkillGroupOfUserResponse, UnmarshallerContext _ctx) { - - modifySkillGroupOfUserResponse.setRequestId(_ctx.stringValue("ModifySkillGroupOfUserResponse.RequestId")); - modifySkillGroupOfUserResponse.setHttpStatusCode(_ctx.integerValue("ModifySkillGroupOfUserResponse.HttpStatusCode")); - modifySkillGroupOfUserResponse.setCode(_ctx.stringValue("ModifySkillGroupOfUserResponse.Code")); - modifySkillGroupOfUserResponse.setMessage(_ctx.stringValue("ModifySkillGroupOfUserResponse.Message")); - modifySkillGroupOfUserResponse.setSuccess(_ctx.booleanValue("ModifySkillGroupOfUserResponse.Success")); - - return modifySkillGroupOfUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOutboundNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOutboundNumbersResponseUnmarshaller.java deleted file mode 100644 index 6342dc86cd..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupOutboundNumbersResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifySkillGroupOutboundNumbersResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifySkillGroupOutboundNumbersResponseUnmarshaller { - - public static ModifySkillGroupOutboundNumbersResponse unmarshall(ModifySkillGroupOutboundNumbersResponse modifySkillGroupOutboundNumbersResponse, UnmarshallerContext _ctx) { - - modifySkillGroupOutboundNumbersResponse.setRequestId(_ctx.stringValue("ModifySkillGroupOutboundNumbersResponse.RequestId")); - modifySkillGroupOutboundNumbersResponse.setHttpStatusCode(_ctx.integerValue("ModifySkillGroupOutboundNumbersResponse.HttpStatusCode")); - modifySkillGroupOutboundNumbersResponse.setCode(_ctx.stringValue("ModifySkillGroupOutboundNumbersResponse.Code")); - modifySkillGroupOutboundNumbersResponse.setMessage(_ctx.stringValue("ModifySkillGroupOutboundNumbersResponse.Message")); - modifySkillGroupOutboundNumbersResponse.setSuccess(_ctx.booleanValue("ModifySkillGroupOutboundNumbersResponse.Success")); - - return modifySkillGroupOutboundNumbersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupResponseUnmarshaller.java deleted file mode 100644 index 4800cb5a8a..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifySkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ModifySkillGroupResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ModifySkillGroupResponseUnmarshaller { - - public static ModifySkillGroupResponse unmarshall(ModifySkillGroupResponse modifySkillGroupResponse, UnmarshallerContext _ctx) { - - modifySkillGroupResponse.setRequestId(_ctx.stringValue("ModifySkillGroupResponse.RequestId")); - modifySkillGroupResponse.setHttpStatusCode(_ctx.integerValue("ModifySkillGroupResponse.HttpStatusCode")); - modifySkillGroupResponse.setCode(_ctx.stringValue("ModifySkillGroupResponse.Code")); - modifySkillGroupResponse.setMessage(_ctx.stringValue("ModifySkillGroupResponse.Message")); - modifySkillGroupResponse.setSuccess(_ctx.booleanValue("ModifySkillGroupResponse.Success")); - - return modifySkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickGlobalOutboundNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickGlobalOutboundNumbersResponseUnmarshaller.java deleted file mode 100644 index a1c13003a3..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickGlobalOutboundNumbersResponseUnmarshaller.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.PickGlobalOutboundNumbersResponse; -import com.aliyuncs.ccc.model.v20170705.PickGlobalOutboundNumbersResponse.DialNumberPair; -import com.aliyuncs.ccc.model.v20170705.PickGlobalOutboundNumbersResponse.DialNumberPair.Callee; -import com.aliyuncs.ccc.model.v20170705.PickGlobalOutboundNumbersResponse.DialNumberPair.Caller; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class PickGlobalOutboundNumbersResponseUnmarshaller { - - public static PickGlobalOutboundNumbersResponse unmarshall(PickGlobalOutboundNumbersResponse pickGlobalOutboundNumbersResponse, UnmarshallerContext _ctx) { - - pickGlobalOutboundNumbersResponse.setRequestId(_ctx.stringValue("PickGlobalOutboundNumbersResponse.RequestId")); - pickGlobalOutboundNumbersResponse.setHttpStatusCode(_ctx.integerValue("PickGlobalOutboundNumbersResponse.HttpStatusCode")); - pickGlobalOutboundNumbersResponse.setCode(_ctx.stringValue("PickGlobalOutboundNumbersResponse.Code")); - pickGlobalOutboundNumbersResponse.setMessage(_ctx.stringValue("PickGlobalOutboundNumbersResponse.Message")); - pickGlobalOutboundNumbersResponse.setSuccess(_ctx.booleanValue("PickGlobalOutboundNumbersResponse.Success")); - - List dialNumberPairs = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("PickGlobalOutboundNumbersResponse.DialNumberPairs.Length"); i++) { - DialNumberPair dialNumberPair = new DialNumberPair(); - - Callee callee = new Callee(); - callee.setNumber(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.Number")); - callee.setCity(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.City")); - callee.setProvince(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.Province")); - dialNumberPair.setCallee(callee); - - Caller caller = new Caller(); - caller.setNumber(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.Number")); - caller.setCity(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.City")); - caller.setProvince(_ctx.stringValue("PickGlobalOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.Province")); - dialNumberPair.setCaller(caller); - - dialNumberPairs.add(dialNumberPair); - } - pickGlobalOutboundNumbersResponse.setDialNumberPairs(dialNumberPairs); - - return pickGlobalOutboundNumbersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickLocalNumberResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickLocalNumberResponseUnmarshaller.java deleted file mode 100644 index f5b0afef6e..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickLocalNumberResponseUnmarshaller.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.PickLocalNumberResponse; -import com.aliyuncs.ccc.model.v20170705.PickLocalNumberResponse.Data; -import com.aliyuncs.ccc.model.v20170705.PickLocalNumberResponse.Data.Callee; -import com.aliyuncs.ccc.model.v20170705.PickLocalNumberResponse.Data.Caller; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class PickLocalNumberResponseUnmarshaller { - - public static PickLocalNumberResponse unmarshall(PickLocalNumberResponse pickLocalNumberResponse, UnmarshallerContext _ctx) { - - pickLocalNumberResponse.setRequestId(_ctx.stringValue("PickLocalNumberResponse.RequestId")); - pickLocalNumberResponse.setCode(_ctx.stringValue("PickLocalNumberResponse.Code")); - pickLocalNumberResponse.setMessage(_ctx.stringValue("PickLocalNumberResponse.Message")); - pickLocalNumberResponse.setSuccess(_ctx.booleanValue("PickLocalNumberResponse.Success")); - - Data data = new Data(); - - Callee callee = new Callee(); - callee.setNumber(_ctx.stringValue("PickLocalNumberResponse.Data.Callee.Number")); - callee.setCity(_ctx.stringValue("PickLocalNumberResponse.Data.Callee.City")); - callee.setProvince(_ctx.stringValue("PickLocalNumberResponse.Data.Callee.Province")); - data.setCallee(callee); - - Caller caller = new Caller(); - caller.setNumber(_ctx.stringValue("PickLocalNumberResponse.Data.Caller.Number")); - caller.setCity(_ctx.stringValue("PickLocalNumberResponse.Data.Caller.City")); - caller.setProvince(_ctx.stringValue("PickLocalNumberResponse.Data.Caller.Province")); - data.setCaller(caller); - pickLocalNumberResponse.setData(data); - - return pickLocalNumberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickOutboundNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickOutboundNumbersResponseUnmarshaller.java deleted file mode 100644 index ee5f1d833d..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PickOutboundNumbersResponseUnmarshaller.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.PickOutboundNumbersResponse; -import com.aliyuncs.ccc.model.v20170705.PickOutboundNumbersResponse.DialNumberPair; -import com.aliyuncs.ccc.model.v20170705.PickOutboundNumbersResponse.DialNumberPair.Callee; -import com.aliyuncs.ccc.model.v20170705.PickOutboundNumbersResponse.DialNumberPair.Caller; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class PickOutboundNumbersResponseUnmarshaller { - - public static PickOutboundNumbersResponse unmarshall(PickOutboundNumbersResponse pickOutboundNumbersResponse, UnmarshallerContext _ctx) { - - pickOutboundNumbersResponse.setRequestId(_ctx.stringValue("PickOutboundNumbersResponse.RequestId")); - pickOutboundNumbersResponse.setHttpStatusCode(_ctx.integerValue("PickOutboundNumbersResponse.HttpStatusCode")); - pickOutboundNumbersResponse.setCode(_ctx.stringValue("PickOutboundNumbersResponse.Code")); - pickOutboundNumbersResponse.setMessage(_ctx.stringValue("PickOutboundNumbersResponse.Message")); - pickOutboundNumbersResponse.setSuccess(_ctx.booleanValue("PickOutboundNumbersResponse.Success")); - - List dialNumberPairs = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("PickOutboundNumbersResponse.DialNumberPairs.Length"); i++) { - DialNumberPair dialNumberPair = new DialNumberPair(); - - Callee callee = new Callee(); - callee.setNumber(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.Number")); - callee.setCity(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.City")); - callee.setProvince(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Callee.Province")); - dialNumberPair.setCallee(callee); - - Caller caller = new Caller(); - caller.setNumber(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.Number")); - caller.setCity(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.City")); - caller.setProvince(_ctx.stringValue("PickOutboundNumbersResponse.DialNumberPairs["+ i +"].Caller.Province")); - dialNumberPair.setCaller(caller); - - dialNumberPairs.add(dialNumberPair); - } - pickOutboundNumbersResponse.setDialNumberPairs(dialNumberPairs); - - return pickOutboundNumbersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PublishContactFlowVersionResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PublishContactFlowVersionResponseUnmarshaller.java deleted file mode 100644 index 7b76e72223..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/PublishContactFlowVersionResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.PublishContactFlowVersionResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class PublishContactFlowVersionResponseUnmarshaller { - - public static PublishContactFlowVersionResponse unmarshall(PublishContactFlowVersionResponse publishContactFlowVersionResponse, UnmarshallerContext _ctx) { - - publishContactFlowVersionResponse.setRequestId(_ctx.stringValue("PublishContactFlowVersionResponse.RequestId")); - publishContactFlowVersionResponse.setHttpStatusCode(_ctx.integerValue("PublishContactFlowVersionResponse.HttpStatusCode")); - publishContactFlowVersionResponse.setCode(_ctx.stringValue("PublishContactFlowVersionResponse.Code")); - publishContactFlowVersionResponse.setMessage(_ctx.stringValue("PublishContactFlowVersionResponse.Message")); - publishContactFlowVersionResponse.setSuccess(_ctx.booleanValue("PublishContactFlowVersionResponse.Success")); - - return publishContactFlowVersionResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RefreshTokenResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RefreshTokenResponseUnmarshaller.java deleted file mode 100644 index e6b46a54d6..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RefreshTokenResponseUnmarshaller.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.RefreshTokenResponse; -import com.aliyuncs.ccc.model.v20170705.RefreshTokenResponse.Token; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class RefreshTokenResponseUnmarshaller { - - public static RefreshTokenResponse unmarshall(RefreshTokenResponse refreshTokenResponse, UnmarshallerContext _ctx) { - - refreshTokenResponse.setRequestId(_ctx.stringValue("RefreshTokenResponse.RequestId")); - refreshTokenResponse.setHttpStatusCode(_ctx.integerValue("RefreshTokenResponse.HttpStatusCode")); - refreshTokenResponse.setCode(_ctx.stringValue("RefreshTokenResponse.Code")); - refreshTokenResponse.setMessage(_ctx.stringValue("RefreshTokenResponse.Message")); - refreshTokenResponse.setSuccess(_ctx.booleanValue("RefreshTokenResponse.Success")); - - Token token = new Token(); - token.setSignData(_ctx.stringValue("RefreshTokenResponse.Token.SignData")); - token.setSignature(_ctx.stringValue("RefreshTokenResponse.Token.Signature")); - refreshTokenResponse.setToken(token); - - return refreshTokenResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemovePhoneNumberResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemovePhoneNumberResponseUnmarshaller.java deleted file mode 100644 index 04477e549f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemovePhoneNumberResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.RemovePhoneNumberResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class RemovePhoneNumberResponseUnmarshaller { - - public static RemovePhoneNumberResponse unmarshall(RemovePhoneNumberResponse removePhoneNumberResponse, UnmarshallerContext _ctx) { - - removePhoneNumberResponse.setRequestId(_ctx.stringValue("RemovePhoneNumberResponse.RequestId")); - removePhoneNumberResponse.setHttpStatusCode(_ctx.integerValue("RemovePhoneNumberResponse.HttpStatusCode")); - removePhoneNumberResponse.setCode(_ctx.stringValue("RemovePhoneNumberResponse.Code")); - removePhoneNumberResponse.setMessage(_ctx.stringValue("RemovePhoneNumberResponse.Message")); - removePhoneNumberResponse.setSuccess(_ctx.booleanValue("RemovePhoneNumberResponse.Success")); - - return removePhoneNumberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersFromSkillGroupResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersFromSkillGroupResponseUnmarshaller.java deleted file mode 100644 index 90c6ec3dce..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersFromSkillGroupResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.RemoveUsersFromSkillGroupResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class RemoveUsersFromSkillGroupResponseUnmarshaller { - - public static RemoveUsersFromSkillGroupResponse unmarshall(RemoveUsersFromSkillGroupResponse removeUsersFromSkillGroupResponse, UnmarshallerContext _ctx) { - - removeUsersFromSkillGroupResponse.setRequestId(_ctx.stringValue("RemoveUsersFromSkillGroupResponse.RequestId")); - removeUsersFromSkillGroupResponse.setHttpStatusCode(_ctx.integerValue("RemoveUsersFromSkillGroupResponse.HttpStatusCode")); - removeUsersFromSkillGroupResponse.setCode(_ctx.stringValue("RemoveUsersFromSkillGroupResponse.Code")); - removeUsersFromSkillGroupResponse.setMessage(_ctx.stringValue("RemoveUsersFromSkillGroupResponse.Message")); - removeUsersFromSkillGroupResponse.setSuccess(_ctx.booleanValue("RemoveUsersFromSkillGroupResponse.Success")); - - return removeUsersFromSkillGroupResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RequestLoginInfoResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RequestLoginInfoResponseUnmarshaller.java deleted file mode 100644 index b502a42c9c..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RequestLoginInfoResponseUnmarshaller.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.ccc.model.v20170705.RequestLoginInfoResponse; -import com.aliyuncs.ccc.model.v20170705.RequestLoginInfoResponse.LoginInfo; -import com.aliyuncs.ccc.model.v20170705.RequestLoginInfoResponse.LoginInfo.Role; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class RequestLoginInfoResponseUnmarshaller { - - public static RequestLoginInfoResponse unmarshall(RequestLoginInfoResponse requestLoginInfoResponse, UnmarshallerContext _ctx) { - - requestLoginInfoResponse.setRequestId(_ctx.stringValue("RequestLoginInfoResponse.RequestId")); - requestLoginInfoResponse.setHttpStatusCode(_ctx.integerValue("RequestLoginInfoResponse.HttpStatusCode")); - requestLoginInfoResponse.setCode(_ctx.stringValue("RequestLoginInfoResponse.Code")); - requestLoginInfoResponse.setMessage(_ctx.stringValue("RequestLoginInfoResponse.Message")); - requestLoginInfoResponse.setSuccess(_ctx.booleanValue("RequestLoginInfoResponse.Success")); - - LoginInfo loginInfo = new LoginInfo(); - loginInfo.setDisplayName(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.DisplayName")); - loginInfo.setSignature(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Signature")); - loginInfo.setExtension(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Extension")); - loginInfo.setSignData(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.SignData")); - loginInfo.setPhoneNumber(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.PhoneNumber")); - loginInfo.setRegion(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Region")); - loginInfo.setAgentServerUrl(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.AgentServerUrl")); - loginInfo.setUserName(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.UserName")); - loginInfo.setWebRtcUrl(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.WebRtcUrl")); - loginInfo.setTenantId(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.TenantId")); - - List roles = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("RequestLoginInfoResponse.LoginInfo.Roles.Length"); i++) { - Role role = new Role(); - role.setInstanceId(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Roles["+ i +"].InstanceId")); - role.setRoleName(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Roles["+ i +"].RoleName")); - role.setRoleDescription(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Roles["+ i +"].RoleDescription")); - role.setRoleId(_ctx.stringValue("RequestLoginInfoResponse.LoginInfo.Roles["+ i +"].RoleId")); - - roles.add(role); - } - loginInfo.setRoles(roles); - requestLoginInfoResponse.setLoginInfo(loginInfo); - - return requestLoginInfoResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ResetUserStatusResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ResetUserStatusResponseUnmarshaller.java deleted file mode 100644 index 6e038edd07..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ResetUserStatusResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.ResetUserStatusResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ResetUserStatusResponseUnmarshaller { - - public static ResetUserStatusResponse unmarshall(ResetUserStatusResponse resetUserStatusResponse, UnmarshallerContext _ctx) { - - resetUserStatusResponse.setRequestId(_ctx.stringValue("ResetUserStatusResponse.RequestId")); - resetUserStatusResponse.setHttpStatusCode(_ctx.integerValue("ResetUserStatusResponse.HttpStatusCode")); - resetUserStatusResponse.setCode(_ctx.stringValue("ResetUserStatusResponse.Code")); - resetUserStatusResponse.setMessage(_ctx.stringValue("ResetUserStatusResponse.Message")); - resetUserStatusResponse.setSuccess(_ctx.booleanValue("ResetUserStatusResponse.Success")); - - return resetUserStatusResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SaveWebRTCStatsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SaveWebRTCStatsResponseUnmarshaller.java deleted file mode 100644 index f0c7d13289..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SaveWebRTCStatsResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.SaveWebRTCStatsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class SaveWebRTCStatsResponseUnmarshaller { - - public static SaveWebRTCStatsResponse unmarshall(SaveWebRTCStatsResponse saveWebRTCStatsResponse, UnmarshallerContext _ctx) { - - saveWebRTCStatsResponse.setRequestId(_ctx.stringValue("SaveWebRTCStatsResponse.RequestId")); - saveWebRTCStatsResponse.setHttpStatusCode(_ctx.integerValue("SaveWebRTCStatsResponse.HttpStatusCode")); - saveWebRTCStatsResponse.setSuccess(_ctx.booleanValue("SaveWebRTCStatsResponse.Success")); - saveWebRTCStatsResponse.setCode(_ctx.stringValue("SaveWebRTCStatsResponse.Code")); - saveWebRTCStatsResponse.setMessage(_ctx.stringValue("SaveWebRTCStatsResponse.Message")); - saveWebRTCStatsResponse.setRowCount(_ctx.longValue("SaveWebRTCStatsResponse.RowCount")); - - return saveWebRTCStatsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SendPredefinedShortMessageResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SendPredefinedShortMessageResponseUnmarshaller.java deleted file mode 100644 index 9f67eb005b..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/SendPredefinedShortMessageResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.SendPredefinedShortMessageResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class SendPredefinedShortMessageResponseUnmarshaller { - - public static SendPredefinedShortMessageResponse unmarshall(SendPredefinedShortMessageResponse sendPredefinedShortMessageResponse, UnmarshallerContext _ctx) { - - sendPredefinedShortMessageResponse.setRequestId(_ctx.stringValue("SendPredefinedShortMessageResponse.RequestId")); - sendPredefinedShortMessageResponse.setHttpStatusCode(_ctx.integerValue("SendPredefinedShortMessageResponse.HttpStatusCode")); - sendPredefinedShortMessageResponse.setSuccess(_ctx.booleanValue("SendPredefinedShortMessageResponse.Success")); - sendPredefinedShortMessageResponse.setCode(_ctx.stringValue("SendPredefinedShortMessageResponse.Code")); - sendPredefinedShortMessageResponse.setMessage(_ctx.stringValue("SendPredefinedShortMessageResponse.Message")); - sendPredefinedShortMessageResponse.setBizId(_ctx.stringValue("SendPredefinedShortMessageResponse.BizId")); - - return sendPredefinedShortMessageResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/StartBack2BackCallResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/StartBack2BackCallResponseUnmarshaller.java deleted file mode 100644 index c3b4bdde7f..0000000000 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/StartBack2BackCallResponseUnmarshaller.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 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.ccc.transform.v20170705; - -import com.aliyuncs.ccc.model.v20170705.StartBack2BackCallResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class StartBack2BackCallResponseUnmarshaller { - - public static StartBack2BackCallResponse unmarshall(StartBack2BackCallResponse startBack2BackCallResponse, UnmarshallerContext _ctx) { - - startBack2BackCallResponse.setRequestId(_ctx.stringValue("StartBack2BackCallResponse.RequestId")); - startBack2BackCallResponse.setHttpStatusCode(_ctx.integerValue("StartBack2BackCallResponse.HttpStatusCode")); - startBack2BackCallResponse.setSuccess(_ctx.booleanValue("StartBack2BackCallResponse.Success")); - startBack2BackCallResponse.setStatusCode(_ctx.stringValue("StartBack2BackCallResponse.StatusCode")); - startBack2BackCallResponse.setCode(_ctx.stringValue("StartBack2BackCallResponse.Code")); - startBack2BackCallResponse.setMessage(_ctx.stringValue("StartBack2BackCallResponse.Message")); - startBack2BackCallResponse.setTimeStamp(_ctx.stringValue("StartBack2BackCallResponse.TimeStamp")); - startBack2BackCallResponse.setTaskId(_ctx.stringValue("StartBack2BackCallResponse.TaskId")); - startBack2BackCallResponse.setStatusDesc(_ctx.stringValue("StartBack2BackCallResponse.StatusDesc")); - - return startBack2BackCallResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyUserResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AcceptChatResponseUnmarshaller.java similarity index 50% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyUserResponseUnmarshaller.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AcceptChatResponseUnmarshaller.java index 178e4358f4..ea21a3f7f5 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/ModifyUserResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AcceptChatResponseUnmarshaller.java @@ -12,22 +12,21 @@ * limitations under the License. */ -package com.aliyuncs.ccc.transform.v20170705; +package com.aliyuncs.ccc.transform.v20200701; -import com.aliyuncs.ccc.model.v20170705.ModifyUserResponse; +import com.aliyuncs.ccc.model.v20200701.AcceptChatResponse; import com.aliyuncs.transform.UnmarshallerContext; -public class ModifyUserResponseUnmarshaller { +public class AcceptChatResponseUnmarshaller { - public static ModifyUserResponse unmarshall(ModifyUserResponse modifyUserResponse, UnmarshallerContext _ctx) { + public static AcceptChatResponse unmarshall(AcceptChatResponse acceptChatResponse, UnmarshallerContext _ctx) { - modifyUserResponse.setRequestId(_ctx.stringValue("ModifyUserResponse.RequestId")); - modifyUserResponse.setHttpStatusCode(_ctx.integerValue("ModifyUserResponse.HttpStatusCode")); - modifyUserResponse.setCode(_ctx.stringValue("ModifyUserResponse.Code")); - modifyUserResponse.setMessage(_ctx.stringValue("ModifyUserResponse.Message")); - modifyUserResponse.setSuccess(_ctx.booleanValue("ModifyUserResponse.Success")); + acceptChatResponse.setRequestId(_ctx.stringValue("AcceptChatResponse.RequestId")); + acceptChatResponse.setCode(_ctx.stringValue("AcceptChatResponse.Code")); + acceptChatResponse.setHttpStatusCode(_ctx.integerValue("AcceptChatResponse.HttpStatusCode")); + acceptChatResponse.setMessage(_ctx.stringValue("AcceptChatResponse.Message")); - return modifyUserResponse; + return acceptChatResponse; } } \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AddTicketTaskResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AddTicketTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..4ff2d771e9 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/AddTicketTaskResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.AddTicketTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddTicketTaskResponseUnmarshaller { + + public static AddTicketTaskResponse unmarshall(AddTicketTaskResponse addTicketTaskResponse, UnmarshallerContext _ctx) { + + + return addTicketTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ClaimChatResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ClaimChatResponseUnmarshaller.java new file mode 100644 index 0000000000..f9399ba280 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ClaimChatResponseUnmarshaller.java @@ -0,0 +1,86 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ClaimChatResponse; +import com.aliyuncs.ccc.model.v20200701.ClaimChatResponse.Data; +import com.aliyuncs.ccc.model.v20200701.ClaimChatResponse.Data.ChatContext; +import com.aliyuncs.ccc.model.v20200701.ClaimChatResponse.Data.UserContext; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ClaimChatResponseUnmarshaller { + + public static ClaimChatResponse unmarshall(ClaimChatResponse claimChatResponse, UnmarshallerContext _ctx) { + + claimChatResponse.setRequestId(_ctx.stringValue("ClaimChatResponse.RequestId")); + claimChatResponse.setCode(_ctx.stringValue("ClaimChatResponse.Code")); + claimChatResponse.setHttpStatusCode(_ctx.integerValue("ClaimChatResponse.HttpStatusCode")); + claimChatResponse.setMessage(_ctx.stringValue("ClaimChatResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ClaimChatResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ClaimChatResponse.Params["+ i +"]")); + } + claimChatResponse.setParams(params); + + Data data = new Data(); + data.setContextId(_ctx.longValue("ClaimChatResponse.Data.ContextId")); + + UserContext userContext = new UserContext(); + userContext.setHeartbeat(_ctx.longValue("ClaimChatResponse.Data.UserContext.Heartbeat")); + userContext.setExtension(_ctx.stringValue("ClaimChatResponse.Data.UserContext.Extension")); + userContext.setWorkMode(_ctx.stringValue("ClaimChatResponse.Data.UserContext.WorkMode")); + userContext.setDeviceId(_ctx.stringValue("ClaimChatResponse.Data.UserContext.DeviceId")); + userContext.setUserId(_ctx.stringValue("ClaimChatResponse.Data.UserContext.UserId")); + userContext.setReserved(_ctx.longValue("ClaimChatResponse.Data.UserContext.Reserved")); + userContext.setBreakCode(_ctx.stringValue("ClaimChatResponse.Data.UserContext.BreakCode")); + userContext.setInstanceId(_ctx.stringValue("ClaimChatResponse.Data.UserContext.InstanceId")); + userContext.setOutboundScenario(_ctx.booleanValue("ClaimChatResponse.Data.UserContext.OutboundScenario")); + userContext.setDeviceState(_ctx.stringValue("ClaimChatResponse.Data.UserContext.DeviceState")); + userContext.setMobile(_ctx.stringValue("ClaimChatResponse.Data.UserContext.Mobile")); + userContext.setJobId(_ctx.stringValue("ClaimChatResponse.Data.UserContext.JobId")); + userContext.setUserState(_ctx.stringValue("ClaimChatResponse.Data.UserContext.UserState")); + + List signedSkillGroupIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ClaimChatResponse.Data.UserContext.SignedSkillGroupIdList.Length"); i++) { + signedSkillGroupIdList.add(_ctx.stringValue("ClaimChatResponse.Data.UserContext.SignedSkillGroupIdList["+ i +"]")); + } + userContext.setSignedSkillGroupIdList(signedSkillGroupIdList); + data.setUserContext(userContext); + + List chatContexts = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ClaimChatResponse.Data.ChatContexts.Length"); i++) { + ChatContext chatContext = new ChatContext(); + chatContext.setInstanceId(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].InstanceId")); + chatContext.setJobId(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].JobId")); + chatContext.setChatType(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].ChatType")); + chatContext.setCallVariables(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].CallVariables")); + chatContext.setAccessChannelId(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].AccessChannelId")); + chatContext.setAccessChannelType(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].AccessChannelType")); + chatContext.setAccessChannelName(_ctx.stringValue("ClaimChatResponse.Data.ChatContexts["+ i +"].AccessChannelName")); + chatContext.setBeingAssigned(_ctx.booleanValue("ClaimChatResponse.Data.ChatContexts["+ i +"].BeingAssigned")); + + chatContexts.add(chatContext); + } + data.setChatContexts(chatContexts); + claimChatResponse.setData(data); + + return claimChatResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/CreateTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/CreateTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..87b5e42aa6 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/CreateTicketResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.CreateTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateTicketResponseUnmarshaller { + + public static CreateTicketResponse unmarshall(CreateTicketResponse createTicketResponse, UnmarshallerContext _ctx) { + + createTicketResponse.setRequestId(_ctx.stringValue("CreateTicketResponse.RequestId")); + createTicketResponse.setHttpStatusCode(_ctx.integerValue("CreateTicketResponse.HttpStatusCode")); + createTicketResponse.setCode(_ctx.stringValue("CreateTicketResponse.Code")); + createTicketResponse.setMessage(_ctx.stringValue("CreateTicketResponse.Message")); + createTicketResponse.setData(_ctx.stringValue("CreateTicketResponse.Data")); + + return createTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..b0e76f0265 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.DeleteTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteTicketResponseUnmarshaller { + + public static DeleteTicketResponse unmarshall(DeleteTicketResponse deleteTicketResponse, UnmarshallerContext _ctx) { + + + return deleteTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketTemplateResponseUnmarshaller.java similarity index 50% rename from aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersResponseUnmarshaller.java rename to aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketTemplateResponseUnmarshaller.java index 6f2983732a..9190650961 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20170705/RemoveUsersResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DeleteTicketTemplateResponseUnmarshaller.java @@ -12,22 +12,17 @@ * limitations under the License. */ -package com.aliyuncs.ccc.transform.v20170705; +package com.aliyuncs.ccc.transform.v20200701; -import com.aliyuncs.ccc.model.v20170705.RemoveUsersResponse; +import com.aliyuncs.ccc.model.v20200701.DeleteTicketTemplateResponse; import com.aliyuncs.transform.UnmarshallerContext; -public class RemoveUsersResponseUnmarshaller { +public class DeleteTicketTemplateResponseUnmarshaller { - public static RemoveUsersResponse unmarshall(RemoveUsersResponse removeUsersResponse, UnmarshallerContext _ctx) { - - removeUsersResponse.setRequestId(_ctx.stringValue("RemoveUsersResponse.RequestId")); - removeUsersResponse.setHttpStatusCode(_ctx.integerValue("RemoveUsersResponse.HttpStatusCode")); - removeUsersResponse.setCode(_ctx.stringValue("RemoveUsersResponse.Code")); - removeUsersResponse.setMessage(_ctx.stringValue("RemoveUsersResponse.Message")); - removeUsersResponse.setSuccess(_ctx.booleanValue("RemoveUsersResponse.Success")); + public static DeleteTicketTemplateResponse unmarshall(DeleteTicketTemplateResponse deleteTicketTemplateResponse, UnmarshallerContext _ctx) { + - return removeUsersResponse; + return deleteTicketTemplateResponse; } } \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DisableTicketTemplateResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DisableTicketTemplateResponseUnmarshaller.java new file mode 100644 index 0000000000..231efb530b --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/DisableTicketTemplateResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.DisableTicketTemplateResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DisableTicketTemplateResponseUnmarshaller { + + public static DisableTicketTemplateResponse unmarshall(DisableTicketTemplateResponse disableTicketTemplateResponse, UnmarshallerContext _ctx) { + + + return disableTicketTemplateResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/EnableTicketTemplateResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/EnableTicketTemplateResponseUnmarshaller.java new file mode 100644 index 0000000000..5ec86da0f4 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/EnableTicketTemplateResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.EnableTicketTemplateResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class EnableTicketTemplateResponseUnmarshaller { + + public static EnableTicketTemplateResponse unmarshall(EnableTicketTemplateResponse enableTicketTemplateResponse, UnmarshallerContext _ctx) { + + + return enableTicketTemplateResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/FinishTicketTaskResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/FinishTicketTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..151c429b42 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/FinishTicketTaskResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.FinishTicketTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class FinishTicketTaskResponseUnmarshaller { + + public static FinishTicketTaskResponse unmarshall(FinishTicketTaskResponse finishTicketTaskResponse, UnmarshallerContext _ctx) { + + + return finishTicketTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetCampaignResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetCampaignResponseUnmarshaller.java index 4cba3ca1ca..4bae408617 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetCampaignResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetCampaignResponseUnmarshaller.java @@ -50,6 +50,7 @@ public static GetCampaignResponse unmarshall(GetCampaignResponse getCampaignResp data.setCasesUncompletedAfterAttempted(_ctx.longValue("GetCampaignResponse.Data.CasesUncompletedAfterAttempted")); data.setCasesUncompletedAfterAttempt(_ctx.stringValue("GetCampaignResponse.Data.CasesUncompletedAfterAttempt")); data.setCompletionRate(_ctx.floatValue("GetCampaignResponse.Data.CompletionRate")); + data.setContactFlowId(_ctx.stringValue("GetCampaignResponse.Data.ContactFlowId")); getCampaignResponse.setData(data); return getCampaignResponse; diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetChatMediaUrlResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetChatMediaUrlResponseUnmarshaller.java new file mode 100644 index 0000000000..cc99616ac5 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetChatMediaUrlResponseUnmarshaller.java @@ -0,0 +1,42 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.GetChatMediaUrlResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetChatMediaUrlResponseUnmarshaller { + + public static GetChatMediaUrlResponse unmarshall(GetChatMediaUrlResponse getChatMediaUrlResponse, UnmarshallerContext _ctx) { + + getChatMediaUrlResponse.setRequestId(_ctx.stringValue("GetChatMediaUrlResponse.RequestId")); + getChatMediaUrlResponse.setData(_ctx.stringValue("GetChatMediaUrlResponse.Data")); + getChatMediaUrlResponse.setHttpStatusCode(_ctx.integerValue("GetChatMediaUrlResponse.HttpStatusCode")); + getChatMediaUrlResponse.setCode(_ctx.stringValue("GetChatMediaUrlResponse.Code")); + getChatMediaUrlResponse.setMessage(_ctx.stringValue("GetChatMediaUrlResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetChatMediaUrlResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("GetChatMediaUrlResponse.Params["+ i +"]")); + } + getChatMediaUrlResponse.setParams(params); + + return getChatMediaUrlResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..8e38d106cc --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketResponseUnmarshaller.java @@ -0,0 +1,70 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.GetTicketResponse; +import com.aliyuncs.ccc.model.v20200701.GetTicketResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTicketResponseUnmarshaller { + + public static GetTicketResponse unmarshall(GetTicketResponse getTicketResponse, UnmarshallerContext _ctx) { + + getTicketResponse.setRequestId(_ctx.stringValue("GetTicketResponse.RequestId")); + getTicketResponse.setHttpStatusCode(_ctx.integerValue("GetTicketResponse.HttpStatusCode")); + getTicketResponse.setCode(_ctx.stringValue("GetTicketResponse.Code")); + getTicketResponse.setMessage(_ctx.stringValue("GetTicketResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTicketResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("GetTicketResponse.Params["+ i +"]")); + } + getTicketResponse.setParams(params); + + Data data = new Data(); + data.setInstanceId(_ctx.stringValue("GetTicketResponse.Data.InstanceId")); + data.setTicketId(_ctx.stringValue("GetTicketResponse.Data.TicketId")); + data.setTemplateId(_ctx.stringValue("GetTicketResponse.Data.TemplateId")); + data.setTemplateVersion(_ctx.stringValue("GetTicketResponse.Data.TemplateVersion")); + data.setTitle(_ctx.stringValue("GetTicketResponse.Data.Title")); + data.setContext(_ctx.stringValue("GetTicketResponse.Data.Context")); + data.setAssignee(_ctx.stringValue("GetTicketResponse.Data.Assignee")); + data.setAssigneeName(_ctx.stringValue("GetTicketResponse.Data.AssigneeName")); + data.setCreator(_ctx.stringValue("GetTicketResponse.Data.Creator")); + data.setCreatorName(_ctx.stringValue("GetTicketResponse.Data.CreatorName")); + data.setCategoryId(_ctx.stringValue("GetTicketResponse.Data.CategoryId")); + data.setCategoryName(_ctx.stringValue("GetTicketResponse.Data.CategoryName")); + data.setJobId(_ctx.stringValue("GetTicketResponse.Data.JobId")); + data.setStartTime(_ctx.longValue("GetTicketResponse.Data.StartTime")); + data.setEndTime(_ctx.longValue("GetTicketResponse.Data.EndTime")); + data.setCreatedTime(_ctx.longValue("GetTicketResponse.Data.CreatedTime")); + data.setUpdatedTime(_ctx.longValue("GetTicketResponse.Data.UpdatedTime")); + data.setCurrentTaskId(_ctx.stringValue("GetTicketResponse.Data.CurrentTaskId")); + data.setCurrentTaskName(_ctx.stringValue("GetTicketResponse.Data.CurrentTaskName")); + data.setCurrentTaskStartTime(_ctx.longValue("GetTicketResponse.Data.CurrentTaskStartTime")); + data.setSource(_ctx.stringValue("GetTicketResponse.Data.Source")); + data.setCustomerId(_ctx.stringValue("GetTicketResponse.Data.CustomerId")); + data.setState(_ctx.stringValue("GetTicketResponse.Data.State")); + data.setCloseCode(_ctx.stringValue("GetTicketResponse.Data.CloseCode")); + data.setComment(_ctx.stringValue("GetTicketResponse.Data.Comment")); + getTicketResponse.setData(data); + + return getTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketSummaryReportResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketSummaryReportResponseUnmarshaller.java new file mode 100644 index 0000000000..74d65f5766 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketSummaryReportResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.GetTicketSummaryReportResponse; +import com.aliyuncs.ccc.model.v20200701.GetTicketSummaryReportResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTicketSummaryReportResponseUnmarshaller { + + public static GetTicketSummaryReportResponse unmarshall(GetTicketSummaryReportResponse getTicketSummaryReportResponse, UnmarshallerContext _ctx) { + + getTicketSummaryReportResponse.setRequestId(_ctx.stringValue("GetTicketSummaryReportResponse.RequestId")); + getTicketSummaryReportResponse.setMessage(_ctx.stringValue("GetTicketSummaryReportResponse.Message")); + getTicketSummaryReportResponse.setHttpStatusCode(_ctx.longValue("GetTicketSummaryReportResponse.HttpStatusCode")); + getTicketSummaryReportResponse.setCode(_ctx.stringValue("GetTicketSummaryReportResponse.Code")); + + Data data = new Data(); + data.setTicketsCreated(_ctx.stringValue("GetTicketSummaryReportResponse.Data.TicketsCreated")); + data.setTicketsParticipated(_ctx.stringValue("GetTicketSummaryReportResponse.Data.TicketsParticipated")); + data.setTicketsAssigned(_ctx.stringValue("GetTicketSummaryReportResponse.Data.TicketsAssigned")); + getTicketSummaryReportResponse.setData(data); + + return getTicketSummaryReportResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketTemplateResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketTemplateResponseUnmarshaller.java new file mode 100644 index 0000000000..5e195e54fb --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetTicketTemplateResponseUnmarshaller.java @@ -0,0 +1,83 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.GetTicketTemplateResponse; +import com.aliyuncs.ccc.model.v20200701.GetTicketTemplateResponse.Data; +import com.aliyuncs.ccc.model.v20200701.GetTicketTemplateResponse.Data.TicketField; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTicketTemplateResponseUnmarshaller { + + public static GetTicketTemplateResponse unmarshall(GetTicketTemplateResponse getTicketTemplateResponse, UnmarshallerContext _ctx) { + + getTicketTemplateResponse.setRequestId(_ctx.stringValue("GetTicketTemplateResponse.RequestId")); + getTicketTemplateResponse.setHttpStatusCode(_ctx.integerValue("GetTicketTemplateResponse.HttpStatusCode")); + getTicketTemplateResponse.setCode(_ctx.stringValue("GetTicketTemplateResponse.Code")); + getTicketTemplateResponse.setMessage(_ctx.stringValue("GetTicketTemplateResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTicketTemplateResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("GetTicketTemplateResponse.Params["+ i +"]")); + } + getTicketTemplateResponse.setParams(params); + + Data data = new Data(); + data.setInstanceId(_ctx.stringValue("GetTicketTemplateResponse.Data.InstanceId")); + data.setTemplateId(_ctx.stringValue("GetTicketTemplateResponse.Data.TemplateId")); + data.setName(_ctx.stringValue("GetTicketTemplateResponse.Data.Name")); + data.setState(_ctx.stringValue("GetTicketTemplateResponse.Data.State")); + data.setEditor(_ctx.stringValue("GetTicketTemplateResponse.Data.Editor")); + data.setCategoryId(_ctx.stringValue("GetTicketTemplateResponse.Data.CategoryId")); + data.setProcessDefinition(_ctx.stringValue("GetTicketTemplateResponse.Data.ProcessDefinition")); + data.setUpdatedTime(_ctx.longValue("GetTicketTemplateResponse.Data.UpdatedTime")); + + List ticketFields = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTicketTemplateResponse.Data.TicketFields.Length"); i++) { + TicketField ticketField = new TicketField(); + ticketField.setDisplayName(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].DisplayName")); + ticketField.setDescription(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Description")); + ticketField.setName(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Name")); + ticketField.setDataType(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].DataType")); + ticketField.setPattern(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Pattern")); + ticketField.setPatternErrorMessage(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].PatternErrorMessage")); + ticketField.setMinLength(_ctx.integerValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].MinLength")); + ticketField.setMaxLength(_ctx.integerValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].MaxLength")); + ticketField.setMinimum(_ctx.doubleValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Minimum")); + ticketField.setMaximum(_ctx.doubleValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Maximum")); + ticketField.setRequired(_ctx.booleanValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Required")); + ticketField.setSystem(_ctx.booleanValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].System")); + ticketField.setDisabled(_ctx.booleanValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Disabled")); + ticketField.setArray(_ctx.booleanValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Array")); + ticketField.setReadOnly(_ctx.booleanValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].ReadOnly")); + ticketField.setEditorType(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].EditorType")); + ticketField.setAttributes(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Attributes")); + ticketField.setDisplayOrder(_ctx.integerValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].DisplayOrder")); + ticketField.setCreatedTime(_ctx.longValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].CreatedTime")); + ticketField.setUpdatedTime(_ctx.longValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].UpdatedTime")); + ticketField.setCreator(_ctx.stringValue("GetTicketTemplateResponse.Data.TicketFields["+ i +"].Creator")); + + ticketFields.add(ticketField); + } + data.setTicketFields(ticketFields); + getTicketTemplateResponse.setData(data); + + return getTicketTemplateResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetVisitorLoginDetailsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetVisitorLoginDetailsResponseUnmarshaller.java new file mode 100644 index 0000000000..5d2b9b0c75 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/GetVisitorLoginDetailsResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.GetVisitorLoginDetailsResponse; +import com.aliyuncs.ccc.model.v20200701.GetVisitorLoginDetailsResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetVisitorLoginDetailsResponseUnmarshaller { + + public static GetVisitorLoginDetailsResponse unmarshall(GetVisitorLoginDetailsResponse getVisitorLoginDetailsResponse, UnmarshallerContext _ctx) { + + getVisitorLoginDetailsResponse.setRequestId(_ctx.stringValue("GetVisitorLoginDetailsResponse.RequestId")); + getVisitorLoginDetailsResponse.setCode(_ctx.stringValue("GetVisitorLoginDetailsResponse.Code")); + getVisitorLoginDetailsResponse.setHttpStatusCode(_ctx.integerValue("GetVisitorLoginDetailsResponse.HttpStatusCode")); + getVisitorLoginDetailsResponse.setMessage(_ctx.stringValue("GetVisitorLoginDetailsResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetVisitorLoginDetailsResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("GetVisitorLoginDetailsResponse.Params["+ i +"]")); + } + getVisitorLoginDetailsResponse.setParams(params); + + Data data = new Data(); + data.setChatLoginToken(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatLoginToken")); + data.setChatUserId(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatUserId")); + data.setChatDeviceId(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatDeviceId")); + data.setChatServerUrl(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatServerUrl")); + data.setChatAppKey(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatAppKey")); + data.setChatAppId(_ctx.stringValue("GetVisitorLoginDetailsResponse.Data.ChatAppId")); + getVisitorLoginDetailsResponse.setData(data); + + return getVisitorLoginDetailsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ImportCorpNumbersResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ImportCorpNumbersResponseUnmarshaller.java new file mode 100644 index 0000000000..07e0cde8fb --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ImportCorpNumbersResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.ImportCorpNumbersResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ImportCorpNumbersResponseUnmarshaller { + + public static ImportCorpNumbersResponse unmarshall(ImportCorpNumbersResponse importCorpNumbersResponse, UnmarshallerContext _ctx) { + + importCorpNumbersResponse.setRequestId(_ctx.stringValue("ImportCorpNumbersResponse.RequestId")); + importCorpNumbersResponse.setCode(_ctx.stringValue("ImportCorpNumbersResponse.Code")); + importCorpNumbersResponse.setHttpStatusCode(_ctx.integerValue("ImportCorpNumbersResponse.HttpStatusCode")); + importCorpNumbersResponse.setMessage(_ctx.stringValue("ImportCorpNumbersResponse.Message")); + + return importCorpNumbersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsResponseUnmarshaller.java index 9d6fd94712..c21217dc3b 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsResponseUnmarshaller.java @@ -74,6 +74,7 @@ public static ListCallDetailRecordsResponse unmarshall(ListCallDetailRecordsResp callDetailRecord.setDialingTime(_ctx.longValue("ListCallDetailRecordsResponse.Data.List["+ i +"].DialingTime")); callDetailRecord.setTalkTime(_ctx.longValue("ListCallDetailRecordsResponse.Data.List["+ i +"].TalkTime")); callDetailRecord.setHeldTime(_ctx.longValue("ListCallDetailRecordsResponse.Data.List["+ i +"].HeldTime")); + callDetailRecord.setCallIds(_ctx.stringValue("ListCallDetailRecordsResponse.Data.List["+ i +"].CallIds")); list.add(callDetailRecord); } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsV2ResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsV2ResponseUnmarshaller.java new file mode 100644 index 0000000000..489be0e0e5 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallDetailRecordsV2ResponseUnmarshaller.java @@ -0,0 +1,103 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListCallDetailRecordsV2Response; +import com.aliyuncs.ccc.model.v20200701.ListCallDetailRecordsV2Response.Data; +import com.aliyuncs.ccc.model.v20200701.ListCallDetailRecordsV2Response.Data.CallDetailRecord; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCallDetailRecordsV2ResponseUnmarshaller { + + public static ListCallDetailRecordsV2Response unmarshall(ListCallDetailRecordsV2Response listCallDetailRecordsV2Response, UnmarshallerContext _ctx) { + + listCallDetailRecordsV2Response.setRequestId(_ctx.stringValue("ListCallDetailRecordsV2Response.RequestId")); + listCallDetailRecordsV2Response.setCode(_ctx.stringValue("ListCallDetailRecordsV2Response.Code")); + listCallDetailRecordsV2Response.setHttpStatusCode(_ctx.integerValue("ListCallDetailRecordsV2Response.HttpStatusCode")); + listCallDetailRecordsV2Response.setMessage(_ctx.stringValue("ListCallDetailRecordsV2Response.Message")); + + Data data = new Data(); + data.setPageNumber(_ctx.integerValue("ListCallDetailRecordsV2Response.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListCallDetailRecordsV2Response.Data.PageSize")); + data.setTotalCount(_ctx.integerValue("ListCallDetailRecordsV2Response.Data.TotalCount")); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCallDetailRecordsV2Response.Data.List.Length"); i++) { + CallDetailRecord callDetailRecord = new CallDetailRecord(); + callDetailRecord.setContactDisposition(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ContactDisposition")); + callDetailRecord.setContactType(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ContactType")); + callDetailRecord.setEstablishedTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].EstablishedTime")); + callDetailRecord.setCalledNumber(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].CalledNumber")); + callDetailRecord.setAdditionalBroker(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AdditionalBroker")); + callDetailRecord.setSatisfactionIndex(_ctx.integerValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SatisfactionIndex")); + callDetailRecord.setSatisfactionSurveyChannel(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SatisfactionSurveyChannel")); + callDetailRecord.setReleaseTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ReleaseTime")); + callDetailRecord.setWaitTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].WaitTime")); + callDetailRecord.setSkillGroupNames(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SkillGroupNames")); + callDetailRecord.setIvrTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].IvrTime")); + callDetailRecord.setSatisfactionDescription(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SatisfactionDescription")); + callDetailRecord.setReleaseInitiator(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ReleaseInitiator")); + callDetailRecord.setAgentIds(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AgentIds")); + callDetailRecord.setCallDuration(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].CallDuration")); + callDetailRecord.setRecordingReady(_ctx.booleanValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].RecordingReady")); + callDetailRecord.setInstanceId(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].InstanceId")); + callDetailRecord.setRingTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].RingTime")); + callDetailRecord.setSatisfactionSurveyOffered(_ctx.booleanValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SatisfactionSurveyOffered")); + callDetailRecord.setAgentNames(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AgentNames")); + callDetailRecord.setStartTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].StartTime")); + callDetailRecord.setContactId(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ContactId")); + callDetailRecord.setRecordingDuration(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].RecordingDuration")); + callDetailRecord.setCallingNumber(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].CallingNumber")); + callDetailRecord.setQueueTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].QueueTime")); + callDetailRecord.setBroker(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].Broker")); + callDetailRecord.setSkillGroupIds(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].SkillGroupIds")); + callDetailRecord.setCallerLocation(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].CallerLocation")); + callDetailRecord.setCalleeLocation(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].CalleeLocation")); + callDetailRecord.setEarlyMediaState(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].EarlyMediaState")); + callDetailRecord.setReleaseReason(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ReleaseReason")); + callDetailRecord.setDialingTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].DialingTime")); + callDetailRecord.setTalkTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].TalkTime")); + callDetailRecord.setHeldTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].HeldTime")); + callDetailRecord.setEarlyMediaText(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].EarlyMediaText")); + callDetailRecord.setOffSiteAgentIds(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].OffSiteAgentIds")); + callDetailRecord.setOffsiteAgentDestinationNumbers(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].OffsiteAgentDestinationNumbers")); + callDetailRecord.setMessagesSent(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].MessagesSent")); + callDetailRecord.setMessagesSentByCustomer(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].MessagesSentByCustomer")); + callDetailRecord.setMessagesSentByAgent(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].MessagesSentByAgent")); + callDetailRecord.setFirstResponseTime(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].FirstResponseTime")); + callDetailRecord.setMediaType(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].MediaType")); + callDetailRecord.setTransferCount(_ctx.longValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].TransferCount")); + callDetailRecord.setAccessChannelType(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AccessChannelType")); + callDetailRecord.setAccessChannelName(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AccessChannelName")); + callDetailRecord.setAccessChannelUserId(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AccessChannelUserId")); + callDetailRecord.setAccessChannelUserName(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].AccessChannelUserName")); + callDetailRecord.setClientIpAddress(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ClientIpAddress")); + callDetailRecord.setClientLocation(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ClientLocation")); + callDetailRecord.setClientUserAgent(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ClientUserAgent")); + callDetailRecord.setClientAppName(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].ClientAppName")); + callDetailRecord.setOffsiteAgentOriginatorNumbers(_ctx.stringValue("ListCallDetailRecordsV2Response.Data.List["+ i +"].OffsiteAgentOriginatorNumbers")); + + list.add(callDetailRecord); + } + data.setList(list); + listCallDetailRecordsV2Response.setData(data); + + return listCallDetailRecordsV2Response; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallSummariesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallSummariesResponseUnmarshaller.java new file mode 100644 index 0000000000..56833cdfaa --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCallSummariesResponseUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListCallSummariesResponse; +import com.aliyuncs.ccc.model.v20200701.ListCallSummariesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCallSummariesResponseUnmarshaller { + + public static ListCallSummariesResponse unmarshall(ListCallSummariesResponse listCallSummariesResponse, UnmarshallerContext _ctx) { + + listCallSummariesResponse.setRequestId(_ctx.stringValue("ListCallSummariesResponse.RequestId")); + listCallSummariesResponse.setHttpStatusCode(_ctx.integerValue("ListCallSummariesResponse.HttpStatusCode")); + listCallSummariesResponse.setCode(_ctx.stringValue("ListCallSummariesResponse.Code")); + listCallSummariesResponse.setMessage(_ctx.stringValue("ListCallSummariesResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCallSummariesResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListCallSummariesResponse.Params["+ i +"]")); + } + listCallSummariesResponse.setParams(params); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCallSummariesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setTicketId(_ctx.stringValue("ListCallSummariesResponse.Data["+ i +"].TicketId")); + dataItem.setContactId(_ctx.stringValue("ListCallSummariesResponse.Data["+ i +"].ContactId")); + dataItem.setContext(_ctx.stringValue("ListCallSummariesResponse.Data["+ i +"].Context")); + dataItem.setCreatedTime(_ctx.longValue("ListCallSummariesResponse.Data["+ i +"].CreatedTime")); + dataItem.setCreator(_ctx.stringValue("ListCallSummariesResponse.Data["+ i +"].Creator")); + dataItem.setEditor(_ctx.stringValue("ListCallSummariesResponse.Data["+ i +"].Editor")); + + data.add(dataItem); + } + listCallSummariesResponse.setData(data); + + return listCallSummariesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCampaignsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCampaignsResponseUnmarshaller.java index 3568bbac17..f32d4a86a6 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCampaignsResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCampaignsResponseUnmarshaller.java @@ -60,6 +60,7 @@ public static ListCampaignsResponse unmarshall(ListCampaignsResponse listCampaig listItem.setQueueId(_ctx.stringValue("ListCampaignsResponse.Data.List["+ i +"].QueueId")); listItem.setSimulation(_ctx.booleanValue("ListCampaignsResponse.Data.List["+ i +"].Simulation")); listItem.setCompletionRate(_ctx.floatValue("ListCampaignsResponse.Data.List["+ i +"].CompletionRate")); + listItem.setContactFlowId(_ctx.stringValue("ListCampaignsResponse.Data.List["+ i +"].ContactFlowId")); list.add(listItem); } diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCategoriesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCategoriesResponseUnmarshaller.java new file mode 100644 index 0000000000..76a43a5449 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCategoriesResponseUnmarshaller.java @@ -0,0 +1,42 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListCategoriesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCategoriesResponseUnmarshaller { + + public static ListCategoriesResponse unmarshall(ListCategoriesResponse listCategoriesResponse, UnmarshallerContext _ctx) { + + listCategoriesResponse.setRequestId(_ctx.stringValue("ListCategoriesResponse.RequestId")); + listCategoriesResponse.setData(_ctx.stringValue("ListCategoriesResponse.Data")); + listCategoriesResponse.setHttpStatusCode(_ctx.integerValue("ListCategoriesResponse.HttpStatusCode")); + listCategoriesResponse.setCode(_ctx.stringValue("ListCategoriesResponse.Code")); + listCategoriesResponse.setMessage(_ctx.stringValue("ListCategoriesResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCategoriesResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListCategoriesResponse.Params["+ i +"]")); + } + listCategoriesResponse.setParams(params); + + return listCategoriesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCommonTicketFieldsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCommonTicketFieldsResponseUnmarshaller.java new file mode 100644 index 0000000000..174c16ac60 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListCommonTicketFieldsResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.ListCommonTicketFieldsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCommonTicketFieldsResponseUnmarshaller { + + public static ListCommonTicketFieldsResponse unmarshall(ListCommonTicketFieldsResponse listCommonTicketFieldsResponse, UnmarshallerContext _ctx) { + + + return listCommonTicketFieldsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsApplicationsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsApplicationsResponseUnmarshaller.java new file mode 100644 index 0000000000..10de3dc192 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsApplicationsResponseUnmarshaller.java @@ -0,0 +1,62 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListFlashSmsApplicationsResponse; +import com.aliyuncs.ccc.model.v20200701.ListFlashSmsApplicationsResponse.Data; +import com.aliyuncs.ccc.model.v20200701.ListFlashSmsApplicationsResponse.Data.ListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListFlashSmsApplicationsResponseUnmarshaller { + + public static ListFlashSmsApplicationsResponse unmarshall(ListFlashSmsApplicationsResponse listFlashSmsApplicationsResponse, UnmarshallerContext _ctx) { + + listFlashSmsApplicationsResponse.setRequestId(_ctx.stringValue("ListFlashSmsApplicationsResponse.RequestId")); + listFlashSmsApplicationsResponse.setHttpStatusCode(_ctx.integerValue("ListFlashSmsApplicationsResponse.HttpStatusCode")); + listFlashSmsApplicationsResponse.setCode(_ctx.stringValue("ListFlashSmsApplicationsResponse.Code")); + listFlashSmsApplicationsResponse.setMessage(_ctx.stringValue("ListFlashSmsApplicationsResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFlashSmsApplicationsResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListFlashSmsApplicationsResponse.Params["+ i +"]")); + } + listFlashSmsApplicationsResponse.setParams(params); + + Data data = new Data(); + data.setTotalCount(_ctx.integerValue("ListFlashSmsApplicationsResponse.Data.TotalCount")); + data.setPageNumber(_ctx.integerValue("ListFlashSmsApplicationsResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListFlashSmsApplicationsResponse.Data.PageSize")); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFlashSmsApplicationsResponse.Data.List.Length"); i++) { + ListItem listItem = new ListItem(); + listItem.setInstanceId(_ctx.stringValue("ListFlashSmsApplicationsResponse.Data.List["+ i +"].InstanceId")); + listItem.setProviderId(_ctx.stringValue("ListFlashSmsApplicationsResponse.Data.List["+ i +"].ProviderId")); + listItem.setApplicationId(_ctx.stringValue("ListFlashSmsApplicationsResponse.Data.List["+ i +"].ApplicationId")); + listItem.setName(_ctx.stringValue("ListFlashSmsApplicationsResponse.Data.List["+ i +"].Name")); + listItem.setValue(_ctx.stringValue("ListFlashSmsApplicationsResponse.Data.List["+ i +"].Value")); + + list.add(listItem); + } + data.setList(list); + listFlashSmsApplicationsResponse.setData(data); + + return listFlashSmsApplicationsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsTemplatesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsTemplatesResponseUnmarshaller.java new file mode 100644 index 0000000000..62cd0997b8 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListFlashSmsTemplatesResponseUnmarshaller.java @@ -0,0 +1,52 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListFlashSmsTemplatesResponse; +import com.aliyuncs.ccc.model.v20200701.ListFlashSmsTemplatesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListFlashSmsTemplatesResponseUnmarshaller { + + public static ListFlashSmsTemplatesResponse unmarshall(ListFlashSmsTemplatesResponse listFlashSmsTemplatesResponse, UnmarshallerContext _ctx) { + + listFlashSmsTemplatesResponse.setRequestId(_ctx.stringValue("ListFlashSmsTemplatesResponse.RequestId")); + listFlashSmsTemplatesResponse.setHttpStatusCode(_ctx.integerValue("ListFlashSmsTemplatesResponse.HttpStatusCode")); + listFlashSmsTemplatesResponse.setCode(_ctx.stringValue("ListFlashSmsTemplatesResponse.Code")); + listFlashSmsTemplatesResponse.setMessage(_ctx.stringValue("ListFlashSmsTemplatesResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFlashSmsTemplatesResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListFlashSmsTemplatesResponse.Params["+ i +"]")); + } + listFlashSmsTemplatesResponse.setParams(params); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFlashSmsTemplatesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setTemplateId(_ctx.stringValue("ListFlashSmsTemplatesResponse.Data["+ i +"].TemplateId")); + dataItem.setTemplateName(_ctx.stringValue("ListFlashSmsTemplatesResponse.Data["+ i +"].TemplateName")); + + data.add(dataItem); + } + listFlashSmsTemplatesResponse.setData(data); + + return listFlashSmsTemplatesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListGroupChatMessagesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListGroupChatMessagesResponseUnmarshaller.java new file mode 100644 index 0000000000..c6cd7074ec --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListGroupChatMessagesResponseUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListGroupChatMessagesResponse; +import com.aliyuncs.ccc.model.v20200701.ListGroupChatMessagesResponse.Data; +import com.aliyuncs.ccc.model.v20200701.ListGroupChatMessagesResponse.Data.GroupChatMessage; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListGroupChatMessagesResponseUnmarshaller { + + public static ListGroupChatMessagesResponse unmarshall(ListGroupChatMessagesResponse listGroupChatMessagesResponse, UnmarshallerContext _ctx) { + + listGroupChatMessagesResponse.setRequestId(_ctx.stringValue("ListGroupChatMessagesResponse.RequestId")); + listGroupChatMessagesResponse.setHttpStatusCode(_ctx.integerValue("ListGroupChatMessagesResponse.HttpStatusCode")); + listGroupChatMessagesResponse.setMessage(_ctx.stringValue("ListGroupChatMessagesResponse.Message")); + listGroupChatMessagesResponse.setCode(_ctx.stringValue("ListGroupChatMessagesResponse.Code")); + + Data data = new Data(); + data.setNextPageToken(_ctx.stringValue("ListGroupChatMessagesResponse.Data.NextPageToken")); + + List messages = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListGroupChatMessagesResponse.Data.Messages.Length"); i++) { + GroupChatMessage groupChatMessage = new GroupChatMessage(); + groupChatMessage.setJobId(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].JobId")); + groupChatMessage.setSenderId(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].SenderId")); + groupChatMessage.setSenderType(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].SenderType")); + groupChatMessage.setTimestamp(_ctx.longValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].Timestamp")); + groupChatMessage.setContent(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].Content")); + groupChatMessage.setSenderName(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].SenderName")); + groupChatMessage.setSenderAvatarUrl(_ctx.stringValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].SenderAvatarUrl")); + groupChatMessage.setRecalled(_ctx.booleanValue("ListGroupChatMessagesResponse.Data.Messages["+ i +"].Recalled")); + + messages.add(groupChatMessage); + } + data.setMessages(messages); + listGroupChatMessagesResponse.setData(data); + + return listGroupChatMessagesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java index 1b715d491f..ad82a84025 100644 --- a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListSkillGroupSummaryReportsSinceMidnightResponseUnmarshaller.java @@ -101,6 +101,11 @@ public static ListSkillGroupSummaryReportsSinceMidnightResponse unmarshall(ListS inbound.setCallsBlindTransferOut(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsBlindTransferOut")); inbound.setCallsQueuingTimeout(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsQueuingTimeout")); inbound.setCallsTimeout(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsTimeout")); + inbound.setCallsQueuingCanceled(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsQueuingCanceled")); + inbound.setCallsQueuingFailure(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsQueuingFailure")); + inbound.setCallsQueuingRerouted(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsQueuingRerouted")); + inbound.setCallsAbandoned(_ctx.longValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsAbandoned")); + inbound.setCallsOverflow(_ctx.stringValue("ListSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport.List["+ i +"].Inbound.CallsOverflow")); skillGroupSummaryReport.setInbound(inbound); Outbound outbound = new Outbound(); diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTasksResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTasksResponseUnmarshaller.java new file mode 100644 index 0000000000..f1f997cb97 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTasksResponseUnmarshaller.java @@ -0,0 +1,74 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListTicketTasksResponse; +import com.aliyuncs.ccc.model.v20200701.ListTicketTasksResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTicketTasksResponseUnmarshaller { + + public static ListTicketTasksResponse unmarshall(ListTicketTasksResponse listTicketTasksResponse, UnmarshallerContext _ctx) { + + listTicketTasksResponse.setRequestId(_ctx.stringValue("ListTicketTasksResponse.RequestId")); + listTicketTasksResponse.setHttpStatusCode(_ctx.integerValue("ListTicketTasksResponse.HttpStatusCode")); + listTicketTasksResponse.setCode(_ctx.stringValue("ListTicketTasksResponse.Code")); + listTicketTasksResponse.setMessage(_ctx.stringValue("ListTicketTasksResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTicketTasksResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListTicketTasksResponse.Params["+ i +"]")); + } + listTicketTasksResponse.setParams(params); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTicketTasksResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setTaskName(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].TaskName")); + dataItem.setAssignee(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].Assignee")); + dataItem.setComment(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].Comment")); + dataItem.setStartTime(_ctx.longValue("ListTicketTasksResponse.Data["+ i +"].StartTime")); + dataItem.setEndTime(_ctx.longValue("ListTicketTasksResponse.Data["+ i +"].EndTime")); + dataItem.setAssigneeName(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].AssigneeName")); + dataItem.setTaskId(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].TaskId")); + dataItem.setTicketId(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].TicketId")); + dataItem.setInstanceId(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].InstanceId")); + dataItem.setTaskDefinitionNodeId(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].TaskDefinitionNodeId")); + dataItem.setTaskDefinitionNodeType(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].TaskDefinitionNodeType")); + dataItem.setAction(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].Action")); + + List fileKeys = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTicketTasksResponse.Data["+ i +"].FileKeys.Length"); j++) { + fileKeys.add(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].FileKeys["+ j +"]")); + } + dataItem.setFileKeys(fileKeys); + + List fileUrls = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTicketTasksResponse.Data["+ i +"].FileUrls.Length"); j++) { + fileUrls.add(_ctx.stringValue("ListTicketTasksResponse.Data["+ i +"].FileUrls["+ j +"]")); + } + dataItem.setFileUrls(fileUrls); + + data.add(dataItem); + } + listTicketTasksResponse.setData(data); + + return listTicketTasksResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTemplatesResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTemplatesResponseUnmarshaller.java new file mode 100644 index 0000000000..3b408f9f18 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketTemplatesResponseUnmarshaller.java @@ -0,0 +1,97 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListTicketTemplatesResponse; +import com.aliyuncs.ccc.model.v20200701.ListTicketTemplatesResponse.Data; +import com.aliyuncs.ccc.model.v20200701.ListTicketTemplatesResponse.Data.ListItem; +import com.aliyuncs.ccc.model.v20200701.ListTicketTemplatesResponse.Data.ListItem.TicketField; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTicketTemplatesResponseUnmarshaller { + + public static ListTicketTemplatesResponse unmarshall(ListTicketTemplatesResponse listTicketTemplatesResponse, UnmarshallerContext _ctx) { + + listTicketTemplatesResponse.setRequestId(_ctx.stringValue("ListTicketTemplatesResponse.RequestId")); + listTicketTemplatesResponse.setHttpStatusCode(_ctx.integerValue("ListTicketTemplatesResponse.HttpStatusCode")); + listTicketTemplatesResponse.setCode(_ctx.stringValue("ListTicketTemplatesResponse.Code")); + listTicketTemplatesResponse.setMessage(_ctx.stringValue("ListTicketTemplatesResponse.Message")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTicketTemplatesResponse.Params.Length"); i++) { + params.add(_ctx.stringValue("ListTicketTemplatesResponse.Params["+ i +"]")); + } + listTicketTemplatesResponse.setParams(params); + + Data data = new Data(); + data.setTotalCount(_ctx.integerValue("ListTicketTemplatesResponse.Data.TotalCount")); + data.setPageNumber(_ctx.integerValue("ListTicketTemplatesResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListTicketTemplatesResponse.Data.PageSize")); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTicketTemplatesResponse.Data.List.Length"); i++) { + ListItem listItem = new ListItem(); + listItem.setInstanceId(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].InstanceId")); + listItem.setTemplateId(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TemplateId")); + listItem.setName(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].Name")); + listItem.setState(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].State")); + listItem.setEditor(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].Editor")); + listItem.setProcessDefinition(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].ProcessDefinition")); + listItem.setUpdatedTime(_ctx.longValue("ListTicketTemplatesResponse.Data.List["+ i +"].UpdatedTime")); + listItem.setCategoryId(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].CategoryId")); + listItem.setAppliedVersion(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].AppliedVersion")); + listItem.setLatestVersion(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].LatestVersion")); + + List ticketFields = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields.Length"); j++) { + TicketField ticketField = new TicketField(); + ticketField.setDisplayName(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].DisplayName")); + ticketField.setDescription(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Description")); + ticketField.setName(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Name")); + ticketField.setDataType(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].DataType")); + ticketField.setPattern(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Pattern")); + ticketField.setPatternErrorMessage(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].PatternErrorMessage")); + ticketField.setMinLength(_ctx.integerValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].MinLength")); + ticketField.setMaxLength(_ctx.integerValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].MaxLength")); + ticketField.setMinimum(_ctx.doubleValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Minimum")); + ticketField.setMaximum(_ctx.doubleValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Maximum")); + ticketField.setRequired(_ctx.booleanValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Required")); + ticketField.setSystem(_ctx.booleanValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].System")); + ticketField.setDisabled(_ctx.booleanValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Disabled")); + ticketField.setArray(_ctx.booleanValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Array")); + ticketField.setReadOnly(_ctx.booleanValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].ReadOnly")); + ticketField.setEditorType(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].EditorType")); + ticketField.setAttribute(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Attribute")); + ticketField.setDisplayOrder(_ctx.integerValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].DisplayOrder")); + ticketField.setCreatedTime(_ctx.longValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].CreatedTime")); + ticketField.setUpdatedTime(_ctx.longValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].UpdatedTime")); + ticketField.setCreator(_ctx.stringValue("ListTicketTemplatesResponse.Data.List["+ i +"].TicketFields["+ j +"].Creator")); + + ticketFields.add(ticketField); + } + listItem.setTicketFields(ticketFields); + + list.add(listItem); + } + data.setList(list); + listTicketTemplatesResponse.setData(data); + + return listTicketTemplatesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketsResponseUnmarshaller.java new file mode 100644 index 0000000000..7763180194 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListTicketsResponseUnmarshaller.java @@ -0,0 +1,76 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListTicketsResponse; +import com.aliyuncs.ccc.model.v20200701.ListTicketsResponse.Data; +import com.aliyuncs.ccc.model.v20200701.ListTicketsResponse.Data.ListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTicketsResponseUnmarshaller { + + public static ListTicketsResponse unmarshall(ListTicketsResponse listTicketsResponse, UnmarshallerContext _ctx) { + + listTicketsResponse.setRequestId(_ctx.stringValue("ListTicketsResponse.RequestId")); + listTicketsResponse.setMessage(_ctx.stringValue("ListTicketsResponse.Message")); + listTicketsResponse.setHttpStatusCode(_ctx.longValue("ListTicketsResponse.HttpStatusCode")); + listTicketsResponse.setCode(_ctx.stringValue("ListTicketsResponse.Code")); + + Data data = new Data(); + data.setTotalCount(_ctx.longValue("ListTicketsResponse.Data.TotalCount")); + data.setPageNumber(_ctx.longValue("ListTicketsResponse.Data.PageNumber")); + data.setPageSize(_ctx.longValue("ListTicketsResponse.Data.PageSize")); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTicketsResponse.Data.List.Length"); i++) { + ListItem listItem = new ListItem(); + listItem.setInstanceId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].InstanceId")); + listItem.setTicketId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].TicketId")); + listItem.setTitle(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Title")); + listItem.setTemplateId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].TemplateId")); + listItem.setTemplateVersion(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].TemplateVersion")); + listItem.setCategoryId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CategoryId")); + listItem.setCategoryName(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CategoryName")); + listItem.setStartTime(_ctx.longValue("ListTicketsResponse.Data.List["+ i +"].StartTime")); + listItem.setEndTime(_ctx.longValue("ListTicketsResponse.Data.List["+ i +"].EndTime")); + listItem.setState(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].State")); + listItem.setCloseCode(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CloseCode")); + listItem.setAssignee(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Assignee")); + listItem.setComment(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Comment")); + listItem.setAssigneeName(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].AssigneeName")); + listItem.setCreator(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Creator")); + listItem.setCreatorName(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CreatorName")); + listItem.setContext(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Context")); + listItem.setCreatedTime(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CreatedTime")); + listItem.setUpdatedTime(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].UpdatedTime")); + listItem.setCurrentTaskId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CurrentTaskId")); + listItem.setCurrentTaskName(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CurrentTaskName")); + listItem.setCurrentTaskStartTime(_ctx.longValue("ListTicketsResponse.Data.List["+ i +"].CurrentTaskStartTime")); + listItem.setCustomerId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].CustomerId")); + listItem.setJobId(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].JobId")); + listItem.setSource(_ctx.stringValue("ListTicketsResponse.Data.List["+ i +"].Source")); + + list.add(listItem); + } + data.setList(list); + listTicketsResponse.setData(data); + + return listTicketsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListWaitingChatsResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListWaitingChatsResponseUnmarshaller.java new file mode 100644 index 0000000000..f13bdd985e --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ListWaitingChatsResponseUnmarshaller.java @@ -0,0 +1,76 @@ +/* + * 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.ccc.transform.v20200701; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ccc.model.v20200701.ListWaitingChatsResponse; +import com.aliyuncs.ccc.model.v20200701.ListWaitingChatsResponse.Chat; +import com.aliyuncs.ccc.model.v20200701.ListWaitingChatsResponse.Chat.Message; +import com.aliyuncs.ccc.model.v20200701.ListWaitingChatsResponse.Chat.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListWaitingChatsResponseUnmarshaller { + + public static ListWaitingChatsResponse unmarshall(ListWaitingChatsResponse listWaitingChatsResponse, UnmarshallerContext _ctx) { + + listWaitingChatsResponse.setRequestId(_ctx.stringValue("ListWaitingChatsResponse.RequestId")); + listWaitingChatsResponse.setCode(_ctx.stringValue("ListWaitingChatsResponse.Code")); + listWaitingChatsResponse.setHttpStatusCode(_ctx.integerValue("ListWaitingChatsResponse.HttpStatusCode")); + listWaitingChatsResponse.setMessage(_ctx.stringValue("ListWaitingChatsResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListWaitingChatsResponse.Data.Length"); i++) { + Chat chat = new Chat(); + chat.setChatConversationId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].ChatConversationId")); + chat.setBeingAssigned(_ctx.booleanValue("ListWaitingChatsResponse.Data["+ i +"].BeingAssigned")); + chat.setJobId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].JobId")); + chat.setEnqueueTime(_ctx.longValue("ListWaitingChatsResponse.Data["+ i +"].EnqueueTime")); + chat.setAccessChannelId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].AccessChannelId")); + chat.setAccessChannelType(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].AccessChannelType")); + chat.setSkillGroupId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].SkillGroupId")); + + List userList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListWaitingChatsResponse.Data["+ i +"].UserList.Length"); j++) { + User user = new User(); + user.setUserName(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].UserList["+ j +"].UserName")); + user.setUserId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].UserList["+ j +"].UserId")); + user.setUserType(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].UserList["+ j +"].UserType")); + user.setAvatarUrl(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].UserList["+ j +"].AvatarUrl")); + + userList.add(user); + } + chat.setUserList(userList); + + List messages = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListWaitingChatsResponse.Data["+ i +"].Messages.Length"); j++) { + Message message = new Message(); + message.setSenderId(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].Messages["+ j +"].SenderId")); + message.setContent(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].Messages["+ j +"].Content")); + message.setSenderType(_ctx.stringValue("ListWaitingChatsResponse.Data["+ i +"].Messages["+ j +"].SenderType")); + + messages.add(message); + } + chat.setMessages(messages); + + data.add(chat); + } + listWaitingChatsResponse.setData(data); + + return listWaitingChatsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectChatResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectChatResponseUnmarshaller.java new file mode 100644 index 0000000000..2b847398e6 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectChatResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.RejectChatResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RejectChatResponseUnmarshaller { + + public static RejectChatResponse unmarshall(RejectChatResponse rejectChatResponse, UnmarshallerContext _ctx) { + + rejectChatResponse.setRequestId(_ctx.stringValue("RejectChatResponse.RequestId")); + rejectChatResponse.setCode(_ctx.stringValue("RejectChatResponse.Code")); + rejectChatResponse.setHttpStatusCode(_ctx.integerValue("RejectChatResponse.HttpStatusCode")); + rejectChatResponse.setMessage(_ctx.stringValue("RejectChatResponse.Message")); + + return rejectChatResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..b31a1a4f39 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/RejectTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.RejectTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RejectTicketResponseUnmarshaller { + + public static RejectTicketResponse unmarshall(RejectTicketResponse rejectTicketResponse, UnmarshallerContext _ctx) { + + + return rejectTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ReleaseChatResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ReleaseChatResponseUnmarshaller.java new file mode 100644 index 0000000000..396151fe8c --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ReleaseChatResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.ReleaseChatResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ReleaseChatResponseUnmarshaller { + + public static ReleaseChatResponse unmarshall(ReleaseChatResponse releaseChatResponse, UnmarshallerContext _ctx) { + + releaseChatResponse.setRequestId(_ctx.stringValue("ReleaseChatResponse.RequestId")); + releaseChatResponse.setCode(_ctx.stringValue("ReleaseChatResponse.Code")); + releaseChatResponse.setHttpStatusCode(_ctx.integerValue("ReleaseChatResponse.HttpStatusCode")); + releaseChatResponse.setMessage(_ctx.stringValue("ReleaseChatResponse.Message")); + + return releaseChatResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ResubmitTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ResubmitTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..dfcf7ac8d3 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/ResubmitTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.ResubmitTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ResubmitTicketResponseUnmarshaller { + + public static ResubmitTicketResponse unmarshall(ResubmitTicketResponse resubmitTicketResponse, UnmarshallerContext _ctx) { + + + return resubmitTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/StartChatResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/StartChatResponseUnmarshaller.java new file mode 100644 index 0000000000..2b4053627b --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/StartChatResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.StartChatResponse; +import com.aliyuncs.ccc.model.v20200701.StartChatResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StartChatResponseUnmarshaller { + + public static StartChatResponse unmarshall(StartChatResponse startChatResponse, UnmarshallerContext _ctx) { + + startChatResponse.setRequestId(_ctx.stringValue("StartChatResponse.RequestId")); + startChatResponse.setCode(_ctx.stringValue("StartChatResponse.Code")); + startChatResponse.setHttpStatusCode(_ctx.integerValue("StartChatResponse.HttpStatusCode")); + startChatResponse.setMessage(_ctx.stringValue("StartChatResponse.Message")); + + Data data = new Data(); + data.setChatConversationId(_ctx.stringValue("StartChatResponse.Data.ChatConversationId")); + data.setJobId(_ctx.stringValue("StartChatResponse.Data.JobId")); + startChatResponse.setData(data); + + return startChatResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TerminateTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TerminateTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..28ae5cfdfb --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TerminateTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.TerminateTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class TerminateTicketResponseUnmarshaller { + + public static TerminateTicketResponse unmarshall(TerminateTicketResponse terminateTicketResponse, UnmarshallerContext _ctx) { + + + return terminateTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TransferTicketTaskResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TransferTicketTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..c120f2e7c8 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/TransferTicketTaskResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.TransferTicketTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class TransferTicketTaskResponseUnmarshaller { + + public static TransferTicketTaskResponse unmarshall(TransferTicketTaskResponse transferTicketTaskResponse, UnmarshallerContext _ctx) { + + + return transferTicketTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/UpdateTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/UpdateTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..49ebf77d2f --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/UpdateTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.UpdateTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTicketResponseUnmarshaller { + + public static UpdateTicketResponse unmarshall(UpdateTicketResponse updateTicketResponse, UnmarshallerContext _ctx) { + + + return updateTicketResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/WithdrawTicketResponseUnmarshaller.java b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/WithdrawTicketResponseUnmarshaller.java new file mode 100644 index 0000000000..73e141d9a8 --- /dev/null +++ b/aliyun-java-sdk-ccc/src/main/java/com/aliyuncs/ccc/transform/v20200701/WithdrawTicketResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * 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.ccc.transform.v20200701; + +import com.aliyuncs.ccc.model.v20200701.WithdrawTicketResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class WithdrawTicketResponseUnmarshaller { + + public static WithdrawTicketResponse unmarshall(WithdrawTicketResponse withdrawTicketResponse, UnmarshallerContext _ctx) { + + + return withdrawTicketResponse; + } +} \ No newline at end of file