com.aliyun.dingtalkim_1_0.models.QueryUnReadMessageResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class QueryUnReadMessageResponseBody extends TeaModel {
// 未读消息数
@NameInMap("unReadCount")
public Long unReadCount;
// 未读消息列表
@NameInMap("unReadItems")
public java.util.List unReadItems;
public static QueryUnReadMessageResponseBody build(java.util.Map map) throws Exception {
QueryUnReadMessageResponseBody self = new QueryUnReadMessageResponseBody();
return TeaModel.build(map, self);
}
public QueryUnReadMessageResponseBody setUnReadCount(Long unReadCount) {
this.unReadCount = unReadCount;
return this;
}
public Long getUnReadCount() {
return this.unReadCount;
}
public QueryUnReadMessageResponseBody setUnReadItems(java.util.List unReadItems) {
this.unReadItems = unReadItems;
return this;
}
public java.util.List getUnReadItems() {
return this.unReadItems;
}
public static class QueryUnReadMessageResponseBodyUnReadItems extends TeaModel {
// 群会话Id
@NameInMap("openConversationId")
public String openConversationId;
// 未读消息数
@NameInMap("unReadCount")
public Long unReadCount;
public static QueryUnReadMessageResponseBodyUnReadItems build(java.util.Map map) throws Exception {
QueryUnReadMessageResponseBodyUnReadItems self = new QueryUnReadMessageResponseBodyUnReadItems();
return TeaModel.build(map, self);
}
public QueryUnReadMessageResponseBodyUnReadItems setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public QueryUnReadMessageResponseBodyUnReadItems setUnReadCount(Long unReadCount) {
this.unReadCount = unReadCount;
return this;
}
public Long getUnReadCount() {
return this.unReadCount;
}
}
}