NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatGetChannelCategoryBlackWhiteRolesByPageParam.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.param;
2
3import androidx.annotation.NonNull;
4import com.netease.nimlib.sdk.qchat.enums.QChatChannelBlackWhiteType;
5
6/**
7 * "分页查询频道分组黑白名单身份组列表"接口入参
8 */
10 /**
11 * 服务器id
12 */
13 @NonNull
14 private final Long serverId;
15 /**
16 * 频道分组id
17 */
18 @NonNull
19 private final Long categoryId;
20 /**
21 * 黑白名单类型
22 */
23 @NonNull
24 private final QChatChannelBlackWhiteType type;
25 /**
26 * 查询时间戳,如果传0表示当前时间
27 */
28 @NonNull
29 private final Long timeTag;
30 /**
31 * 查询数量限制,默认100
32 */
33 private Integer limit;
34 /**
35 *
36 * @param serverId 服务器id
37 * @param categoryId 频道分组id
38 * @param type 黑白名单类型
39 * @param timeTag 查询时间戳
40 */
41 public QChatGetChannelCategoryBlackWhiteRolesByPageParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull Long timeTag) {
42 this.serverId = serverId;
43 this.categoryId = categoryId;
44 this.type = type;
45 this.timeTag = timeTag;
46 }
47
48 /**
49 * 设置查询数量限制
50 * @param limit
51 */
52 public void setLimit(Integer limit) {
53 this.limit = limit;
54 }
55
56 /**
57 * 获取服务器id
58 * @return
59 */
60 @NonNull
61 public Long getServerId() {
62 return serverId;
63 }
64
65 /**
66 * 获取频道分组id
67 * @return
68 */
69 @NonNull
70 public Long getCategoryId() {
71 return categoryId;
72 }
73
74 /**
75 * 获取黑白名单类型
76 * @return
77 */
78 @NonNull
80 return type;
81 }
82
83 /**
84 * 获取查询时间戳
85 * @return
86 */
87 @NonNull
88 public Long getTimeTag() {
89 return timeTag;
90 }
91
92 /**
93 * 获取查询数量限制
94 * @return
95 */
96 public Integer getLimit() {
97 return limit;
98 }
99}
QChatGetChannelCategoryBlackWhiteRolesByPageParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull Long timeTag)