com.aliyun.dingtalkim_1_0.models.QueryUnReadMessageResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// 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 {
/**
* This parameter is required.
*
* example:
* 10
*/
@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 {
/**
* example:
* 14da****2760
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* example:
* 10
*/
@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;
}
}
}