NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatGetChannelsByPageParam.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.param;
2
3import androidx.annotation.NonNull;
4
5/**
6 * "分页查询Channel信息列表"接口入参
7 */
9
10 /**
11 * 服务器Id
12 */
13 @NonNull
14 private final Long serverId;
15 /**
16 * 查询锚点时间戳
17 */
18 @NonNull
19 private final Long timeTag;
20 /**
21 * 查询数量限制
22 */
23 @NonNull
24 private final Integer limit;
25
26 /**
27 *
28 * @param serverId 服务器Id
29 * @param timeTag 查询锚点时间戳
30 * @param limit 查询数量限制
31 */
32 public QChatGetChannelsByPageParam(long serverId, long timeTag, int limit) {
33 this.serverId = serverId;
34 this.timeTag = timeTag;
35 this.limit = limit;
36 }
37
38 /**
39 * 获取服务器id
40 * @return
41 */
42 @NonNull
43 public Long getServerId() {
44 return serverId;
45 }
46
47 /**
48 * 获取查询时间戳
49 * @return
50 */
51 @NonNull
52 public Long getTimeTag() {
53 return timeTag;
54 }
55
56 /**
57 * 获取查询数量限制
58 * @return
59 */
60 public Integer getLimit() {
61 return limit;
62 }
63}