com.aliyun.ccc20200701.models.TakeBreakResponseBody 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 TakeBreakResponseBody extends TeaModel {
/**
* example:
* OK
*/
@NameInMap("Code")
public String code;
@NameInMap("Data")
public TakeBreakResponseBodyData data;
/**
* example:
* 200
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
@NameInMap("Message")
public String message;
@NameInMap("Params")
public java.util.List params;
/**
* example:
* B59382D2-5755-4C6D-861F-FA2AAD8F89F7
*/
@NameInMap("RequestId")
public String requestId;
public static TakeBreakResponseBody build(java.util.Map map) throws Exception {
TakeBreakResponseBody self = new TakeBreakResponseBody();
return TeaModel.build(map, self);
}
public TakeBreakResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public TakeBreakResponseBody setData(TakeBreakResponseBodyData data) {
this.data = data;
return this;
}
public TakeBreakResponseBodyData getData() {
return this.data;
}
public TakeBreakResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public TakeBreakResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public TakeBreakResponseBody setParams(java.util.List params) {
this.params = params;
return this;
}
public java.util.List getParams() {
return this.params;
}
public TakeBreakResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class TakeBreakResponseBodyData extends TeaModel {
/**
* example:
* lunchtime
*/
@NameInMap("BreakCode")
public String breakCode;
/**
* example:
* ACC-YUNBS-1.0.10-****
*/
@NameInMap("DeviceId")
public String deviceId;
/**
* example:
* 8001****
*/
@NameInMap("Extension")
public String extension;
/**
* example:
* 1609249563836
*/
@NameInMap("Heartbeat")
public Long heartbeat;
/**
* example:
* ccc-test
*/
@NameInMap("InstanceId")
public String instanceId;
@NameInMap("JobId")
public String jobId;
/**
* example:
* 1390000****
*/
@NameInMap("Mobile")
public String mobile;
/**
* example:
* false
*/
@NameInMap("OutboundScenario")
public Boolean outboundScenario;
/**
* example:
* 1609234221864
*/
@NameInMap("Reserved")
public Long reserved;
@NameInMap("SignedSkillGroupIdList")
public java.util.List signedSkillGroupIdList;
/**
* example:
* agent@ccc-test
*/
@NameInMap("UserId")
public String userId;
/**
* example:
* BREAK
*/
@NameInMap("UserState")
public String userState;
/**
* example:
* ON_SITE
*/
@NameInMap("WorkMode")
public String workMode;
public static TakeBreakResponseBodyData build(java.util.Map map) throws Exception {
TakeBreakResponseBodyData self = new TakeBreakResponseBodyData();
return TeaModel.build(map, self);
}
public TakeBreakResponseBodyData setBreakCode(String breakCode) {
this.breakCode = breakCode;
return this;
}
public String getBreakCode() {
return this.breakCode;
}
public TakeBreakResponseBodyData setDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
public String getDeviceId() {
return this.deviceId;
}
public TakeBreakResponseBodyData setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public TakeBreakResponseBodyData setHeartbeat(Long heartbeat) {
this.heartbeat = heartbeat;
return this;
}
public Long getHeartbeat() {
return this.heartbeat;
}
public TakeBreakResponseBodyData setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public TakeBreakResponseBodyData setJobId(String jobId) {
this.jobId = jobId;
return this;
}
public String getJobId() {
return this.jobId;
}
public TakeBreakResponseBodyData setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public TakeBreakResponseBodyData setOutboundScenario(Boolean outboundScenario) {
this.outboundScenario = outboundScenario;
return this;
}
public Boolean getOutboundScenario() {
return this.outboundScenario;
}
public TakeBreakResponseBodyData setReserved(Long reserved) {
this.reserved = reserved;
return this;
}
public Long getReserved() {
return this.reserved;
}
public TakeBreakResponseBodyData setSignedSkillGroupIdList(java.util.List signedSkillGroupIdList) {
this.signedSkillGroupIdList = signedSkillGroupIdList;
return this;
}
public java.util.List getSignedSkillGroupIdList() {
return this.signedSkillGroupIdList;
}
public TakeBreakResponseBodyData setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public TakeBreakResponseBodyData setUserState(String userState) {
this.userState = userState;
return this;
}
public String getUserState() {
return this.userState;
}
public TakeBreakResponseBodyData setWorkMode(String workMode) {
this.workMode = workMode;
return this;
}
public String getWorkMode() {
return this.workMode;
}
}
}