com.aliyun.ccc20200701.models.ListGroupChatMessagesResponseBody 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 ListGroupChatMessagesResponseBody extends TeaModel {
/**
* example:
* OK
*/
@NameInMap("Code")
public String code;
@NameInMap("Data")
public ListGroupChatMessagesResponseBodyData data;
/**
* example:
* 200
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
@NameInMap("Message")
public String message;
/**
* example:
* 2263B273-AC1B-44EB-BA98-87F2322C6780
*/
@NameInMap("RequestId")
public String requestId;
public static ListGroupChatMessagesResponseBody build(java.util.Map map) throws Exception {
ListGroupChatMessagesResponseBody self = new ListGroupChatMessagesResponseBody();
return TeaModel.build(map, self);
}
public ListGroupChatMessagesResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public ListGroupChatMessagesResponseBody setData(ListGroupChatMessagesResponseBodyData data) {
this.data = data;
return this;
}
public ListGroupChatMessagesResponseBodyData getData() {
return this.data;
}
public ListGroupChatMessagesResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public ListGroupChatMessagesResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ListGroupChatMessagesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListGroupChatMessagesResponseBodyDataMessages extends TeaModel {
@NameInMap("Content")
public String content;
/**
* example:
* chat-65382141036853491
*/
@NameInMap("JobId")
public String jobId;
/**
* example:
* false
*/
@NameInMap("Recalled")
public Boolean recalled;
/**
* example:
*
*/
@NameInMap("SenderAvatarUrl")
public String senderAvatarUrl;
/**
* example:
* 64bb4ececc34fc5ec1ca1153
*/
@NameInMap("SenderId")
public String senderId;
/**
* example:
* test-agent@test-instanceId
*/
@NameInMap("SenderName")
public String senderName;
/**
* example:
* CUSTOMER
*/
@NameInMap("SenderType")
public String senderType;
/**
* example:
* 1696126980371
*/
@NameInMap("Timestamp")
public Long timestamp;
public static ListGroupChatMessagesResponseBodyDataMessages build(java.util.Map map) throws Exception {
ListGroupChatMessagesResponseBodyDataMessages self = new ListGroupChatMessagesResponseBodyDataMessages();
return TeaModel.build(map, self);
}
public ListGroupChatMessagesResponseBodyDataMessages setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public ListGroupChatMessagesResponseBodyDataMessages setJobId(String jobId) {
this.jobId = jobId;
return this;
}
public String getJobId() {
return this.jobId;
}
public ListGroupChatMessagesResponseBodyDataMessages setRecalled(Boolean recalled) {
this.recalled = recalled;
return this;
}
public Boolean getRecalled() {
return this.recalled;
}
public ListGroupChatMessagesResponseBodyDataMessages setSenderAvatarUrl(String senderAvatarUrl) {
this.senderAvatarUrl = senderAvatarUrl;
return this;
}
public String getSenderAvatarUrl() {
return this.senderAvatarUrl;
}
public ListGroupChatMessagesResponseBodyDataMessages setSenderId(String senderId) {
this.senderId = senderId;
return this;
}
public String getSenderId() {
return this.senderId;
}
public ListGroupChatMessagesResponseBodyDataMessages setSenderName(String senderName) {
this.senderName = senderName;
return this;
}
public String getSenderName() {
return this.senderName;
}
public ListGroupChatMessagesResponseBodyDataMessages setSenderType(String senderType) {
this.senderType = senderType;
return this;
}
public String getSenderType() {
return this.senderType;
}
public ListGroupChatMessagesResponseBodyDataMessages setTimestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Long getTimestamp() {
return this.timestamp;
}
}
public static class ListGroupChatMessagesResponseBodyData extends TeaModel {
@NameInMap("Messages")
public java.util.List messages;
/**
* example:
* 54d1a616d95a4a01ba58967a9115b649
*/
@NameInMap("NextPageToken")
public String nextPageToken;
public static ListGroupChatMessagesResponseBodyData build(java.util.Map map) throws Exception {
ListGroupChatMessagesResponseBodyData self = new ListGroupChatMessagesResponseBodyData();
return TeaModel.build(map, self);
}
public ListGroupChatMessagesResponseBodyData setMessages(java.util.List messages) {
this.messages = messages;
return this;
}
public java.util.List getMessages() {
return this.messages;
}
public ListGroupChatMessagesResponseBodyData setNextPageToken(String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}
public String getNextPageToken() {
return this.nextPageToken;
}
}
}