NIMSDK-AOS  9.21.10
QChatGetBannedServerMembersByPageParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
5 /**
6  * "查询服务器封禁成员列"接口入参
7  */
9  /**
10  * 服务器id
11  */
12  @NonNull
13  private final Long serverId;
14  /**
15  * 查询时间戳,如果传0表示当前时间
16  */
17  @NonNull
18  private final Long timeTag;
19  /**
20  * 查询数量限制,默认100
21  */
22  private Integer limit;
23 
24  /**
25  *
26  * @param serverId 服务器id
27  * @param timeTag 封禁时间戳,按照封禁时间逆序,如果传0表示当前时间
28  */
29  public QChatGetBannedServerMembersByPageParam(@NonNull Long serverId, @NonNull Long timeTag) {
30  this.serverId = serverId;
31  this.timeTag = timeTag;
32  }
33 
34  /**
35  * 获取服务器id
36  * @return
37  */
38  @NonNull
39  public Long getServerId() {
40  return serverId;
41  }
42 
43  /**
44  * 获取查询时间戳
45  * @return
46  */
47  @NonNull
48  public Long getTimeTag() {
49  return timeTag;
50  }
51 
52  /**
53  * 获取查询数量限制
54  * @return
55  */
56  public Integer getLimit() {
57  return limit;
58  }
59 
60  /**
61  * 设置查询数量限制
62  * @param limit
63  */
64  public void setLimit(Integer limit) {
65  this.limit = limit;
66  }
67 }