NIMSDK-AOS  10.9.50
QChatGetMemberRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
5 /**
6  * "查询channel下某人的定制权限"接口入参
7  */
9 
10  /**
11  * 服务器Id
12  */
13  @NonNull
14  private final Long serverId;
15  /**
16  * channelId
17  */
18  @NonNull
19  private final Long channelId;
20  /**
21  * 查询锚点时间戳
22  */
23  @NonNull
24  private final Long timeTag;
25  /**
26  * 查询数量限制
27  */
28  @NonNull
29  private final Integer limit;
30 
31  /**
32  *
33  * @param serverId 服务器id
34  * @param channelId 频道id
35  * @param timeTag 查询时间戳
36  * @param limit 查询数量限制
37  */
38  public QChatGetMemberRolesParam(long serverId, long channelId, long timeTag, int limit) {
39  this.serverId = serverId;
40  this.channelId = channelId;
41  this.timeTag = timeTag;
42  this.limit = limit;
43  }
44 
45  /**
46  * 获取服务器id
47  * @return
48  */
49  @NonNull
50  public Long getServerId() {
51  return serverId;
52  }
53 
54  /**
55  * 获取频道id
56  * @return
57  */
58  @NonNull
59  public Long getChannelId() {
60  return channelId;
61  }
62 
63  /**
64  * 获取查询时间戳
65  * @return
66  */
67  @NonNull
68  public Long getTimeTag() {
69  return timeTag;
70  }
71 
72  /**
73  * 获取查询数量限制
74  * @return
75  */
76  public Integer getLimit() {
77  return limit;
78  }
79 }
QChatGetMemberRolesParam(long serverId, long channelId, long timeTag, int limit)
"查询channel下某人的定制权限"接口入参