NIMSDK-AOS  10.9.50
QChatGetChannelCategoryMemberRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
5 /**
6  * "查询频道分组某人的定制权限"接口入参
7  */
9 
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 Long timeTag;
25  /**
26  * 查询数量限制
27  */
28  private Integer limit;
29 
30 
31  /**
32  *
33  * @param serverId 服务器id
34  * @param categoryId 频道分组id
35  * @param timeTag 查询时间戳
36  */
37  public QChatGetChannelCategoryMemberRolesParam(long serverId, long categoryId, long timeTag) {
38  this.serverId = serverId;
39  this.categoryId = categoryId;
40  this.timeTag = timeTag;
41  }
42 
43  /**
44  *
45  * @param serverId 服务器id
46  * @param categoryId 频道分组id
47  * @param timeTag 查询时间戳
48  * @param limit 查询数量限制
49  */
50  public QChatGetChannelCategoryMemberRolesParam(long serverId, long categoryId, long timeTag, int limit) {
51  this.serverId = serverId;
52  this.categoryId = categoryId;
53  this.timeTag = timeTag;
54  this.limit = limit;
55  }
56 
57  /**
58  * 获取服务器id
59  * @return
60  */
61  @NonNull
62  public Long getServerId() {
63  return serverId;
64  }
65 
66  /**
67  * 获取频道分组id
68  * @return
69  */
70  @NonNull
71  public Long getCategoryId() {
72  return categoryId;
73  }
74 
75  /**
76  * 获取查询时间戳
77  * @return
78  */
79  @NonNull
80  public Long getTimeTag() {
81  return timeTag;
82  }
83 
84  /**
85  * 获取查询数量限制
86  * @return
87  */
88  public Integer getLimit() {
89  return limit;
90  }
91 }
QChatGetChannelCategoryMemberRolesParam(long serverId, long categoryId, long timeTag, int limit)