NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatGetChannelCategoriesByPageParam.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.param;
2
3import androidx.annotation.NonNull;
4
5/**
6 * "分页查询服务器下频道类别列表"接口入参
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 private Integer limit;
24
25 /**
26 *
27 * @param serverId 服务器Id
28 * @param timeTag 查询锚点时间戳
29 */
30 public QChatGetChannelCategoriesByPageParam(long serverId, long timeTag) {
31 this.serverId = serverId;
32 this.timeTag = timeTag;
33 }
34
35 /**
36 * 获取服务器id
37 * @return
38 */
39 @NonNull
40 public Long getServerId() {
41 return serverId;
42 }
43
44 /**
45 * 获取查询时间戳
46 * @return
47 */
48 @NonNull
49 public Long getTimeTag() {
50 return timeTag;
51 }
52
53 /**
54 * 获取查询数量限制
55 * @return
56 */
57 public Integer getLimit() {
58 return limit;
59 }
60
61 /**
62 * 设置查询数量限制,默认100
63 * @param limit
64 */
65 public void setLimit(Integer limit) {
66 this.limit = limit;
67 }
68}