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