com.aliyun.ccc20200701.models.ListCasesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ccc20200701 Show documentation
Show all versions of ccc20200701 Show documentation
Alibaba Cloud cloud call center (20200701) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ccc20200701.models;
import com.aliyun.tea.*;
public class ListCasesResponseBody extends TeaModel {
/**
* example:
* OK
*/
@NameInMap("Code")
public String code;
@NameInMap("Data")
public ListCasesResponseBodyData data;
/**
* example:
* 200
*/
@NameInMap("HttpStatusCode")
public Long httpStatusCode;
@NameInMap("Message")
public String message;
/**
* example:
* 7CC6523B-0E51-1B62-8DA5-6A9831CAE316
*/
@NameInMap("RequestId")
public String requestId;
public static ListCasesResponseBody build(java.util.Map map) throws Exception {
ListCasesResponseBody self = new ListCasesResponseBody();
return TeaModel.build(map, self);
}
public ListCasesResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public ListCasesResponseBody setData(ListCasesResponseBodyData data) {
this.data = data;
return this;
}
public ListCasesResponseBodyData getData() {
return this.data;
}
public ListCasesResponseBody setHttpStatusCode(Long httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Long getHttpStatusCode() {
return this.httpStatusCode;
}
public ListCasesResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ListCasesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListCasesResponseBodyDataList extends TeaModel {
@NameInMap("AbandonPhase")
public String abandonPhase;
/**
* example:
* NA
*/
@NameInMap("AbandonType")
public String abandonType;
/**
* example:
* 1
*/
@NameInMap("AttemptCount")
public Long attemptCount;
/**
* example:
* 60ecb1a2-4480-4d01-bede-c5b7655bfadf
*/
@NameInMap("CaseId")
public String caseId;
@NameInMap("CustomVariables")
public String customVariables;
@NameInMap("FailureReason")
public String failureReason;
/**
* example:
* 1888888****
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
/**
* example:
* Connected
*/
@NameInMap("State")
public String state;
public static ListCasesResponseBodyDataList build(java.util.Map map) throws Exception {
ListCasesResponseBodyDataList self = new ListCasesResponseBodyDataList();
return TeaModel.build(map, self);
}
public ListCasesResponseBodyDataList setAbandonPhase(String abandonPhase) {
this.abandonPhase = abandonPhase;
return this;
}
public String getAbandonPhase() {
return this.abandonPhase;
}
public ListCasesResponseBodyDataList setAbandonType(String abandonType) {
this.abandonType = abandonType;
return this;
}
public String getAbandonType() {
return this.abandonType;
}
public ListCasesResponseBodyDataList setAttemptCount(Long attemptCount) {
this.attemptCount = attemptCount;
return this;
}
public Long getAttemptCount() {
return this.attemptCount;
}
public ListCasesResponseBodyDataList setCaseId(String caseId) {
this.caseId = caseId;
return this;
}
public String getCaseId() {
return this.caseId;
}
public ListCasesResponseBodyDataList setCustomVariables(String customVariables) {
this.customVariables = customVariables;
return this;
}
public String getCustomVariables() {
return this.customVariables;
}
public ListCasesResponseBodyDataList setFailureReason(String failureReason) {
this.failureReason = failureReason;
return this;
}
public String getFailureReason() {
return this.failureReason;
}
public ListCasesResponseBodyDataList setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public ListCasesResponseBodyDataList setState(String state) {
this.state = state;
return this;
}
public String getState() {
return this.state;
}
}
public static class ListCasesResponseBodyData extends TeaModel {
@NameInMap("List")
public java.util.List list;
/**
* example:
* 1
*/
@NameInMap("PageNumber")
public Long pageNumber;
/**
* example:
* 100
*/
@NameInMap("PageSize")
public Long pageSize;
/**
* example:
* 1
*/
@NameInMap("TotalCount")
public Long totalCount;
public static ListCasesResponseBodyData build(java.util.Map map) throws Exception {
ListCasesResponseBodyData self = new ListCasesResponseBodyData();
return TeaModel.build(map, self);
}
public ListCasesResponseBodyData setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public ListCasesResponseBodyData setPageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Long getPageNumber() {
return this.pageNumber;
}
public ListCasesResponseBodyData setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public ListCasesResponseBodyData setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
}
}