1package com.netease.nimlib.sdk.qchat.param;
10 private final long serverId;
14 private Long fromTime;
22 private Boolean reverse;
26 private Integer limit;
30 private Long excludeRecordId;
37 this.serverId = serverId;
50 this.serverId = serverId;
51 this.fromTime = fromTime;
53 this.reverse = reverse;
55 this.excludeRecordId = excludeRecordId;
79 this.fromTime = fromTime;
111 this.reverse = reverse;
135 return excludeRecordId;
143 this.excludeRecordId = excludeRecordId;
151 if (fromTime !=
null && fromTime < 0) {
154 if (toTime !=
null && toTime < 0) {
157 if (limit !=
null && limit < 0) {
168 return "QChatGetInviteApplyRecordOfServerParam{" +
169 "serverId=" + serverId +
170 ", fromTime=" + fromTime +
171 ", toTime=" + toTime +
172 ", reverse=" + reverse +
174 ", excludeRecordId=" + excludeRecordId +
void setLimit(Integer limit)
设置最大数量限制,默认100,最大100
void setExcludeRecordId(Long excludeRecordId)
设置排除RecordId,用于分页去重
void setToTime(Long toTime)
设置结束时间戳
Integer getLimit()
获取最大数量限制
QChatGetInviteApplyRecordOfServerParam(long serverId, Long fromTime, Long toTime, Boolean reverse, Integer limit, Long excludeRecordId)
void setFromTime(Long fromTime)
设置开始时间戳
Long getFromTime()
获取开始时间戳
Long getExcludeRecordId()
获取排除RecordId
void setReverse(Boolean reverse)
设置是否逆序,同历史消息查询,默认从现在查到过去
QChatGetInviteApplyRecordOfServerParam(long serverId)
long getServerId()
获取服务器ID