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