NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatGetExistingChannelBlackWhiteMembersParam.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.param;
2
3import androidx.annotation.NonNull;
4
5import com.netease.nimlib.sdk.qchat.enums.QChatChannelBlackWhiteType;
6
7import java.util.List;
8
9/**
10 * "批量查询黑白名单身份组成员"接口入参
11 */
13
14 /**
15 * 服务器id
16 */
17 @NonNull
18 private final Long serverId;
19 /**
20 * 频道id
21 */
22 @NonNull
23 private final Long channelId;
24 /**
25 * 黑白名单类型
26 */
27 @NonNull
28 private final QChatChannelBlackWhiteType type;
29 /**
30 * accid列表,一次最多100个
31 */
32 @NonNull
33 private final List<String> accids;
34
35 /**
36 *
37 * @param serverId 服务器id
38 * @param channelId 频道id
39 * @param type 黑白名单类型
40 * @param accids accid列表,一次最多100个
41 */
42 public QChatGetExistingChannelBlackWhiteMembersParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull List<String> accids) {
43 this.serverId = serverId;
44 this.channelId = channelId;
45 this.type = type;
46 this.accids = accids;
47 }
48
49 /**
50 * 获取服务器id
51 * @return
52 */
53 @NonNull
54 public Long getServerId() {
55 return serverId;
56 }
57
58 /**
59 * 获取频道id
60 * @return
61 */
62 @NonNull
63 public Long getChannelId() {
64 return channelId;
65 }
66
67 /**
68 * 获取黑白名单类型
69 * @return
70 */
71 @NonNull
73 return type;
74 }
75
76 /**
77 * 获取accid列表
78 * @return
79 */
80 @NonNull
81 public List<String> getAccids() {
82 return accids;
83 }
84}
QChatGetExistingChannelBlackWhiteMembersParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull List< String > accids)