NIMSDK-AOS  9.16.0
QChatGetServerRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
9 
13  @NonNull
14  private final Long serverId;
18  @NonNull
19  private final Long priority;
23  @NonNull
24  private final Integer limit;
28  private Long channelId;
29 
33  private Long categoryId;
34 
41  public QChatGetServerRolesParam(long serverId, long priority, int limit) {
42  this.serverId = serverId;
43  this.priority = priority;
44  this.limit = limit;
45  }
50  @NonNull
51  public Long getServerId() {
52  return serverId;
53  }
54 
59  @NonNull
60  public Integer getLimit() {
61  return limit;
62  }
63 
68  public Long getPriority() {
69  return priority;
70  }
71 
76  public Long getChannelId() {
77  return channelId;
78  }
79 
84  public void setChannelId(Long channelId) {
85  this.channelId = channelId;
86  }
87 
92  public Long getCategoryId() {
93  return categoryId;
94  }
95 
100  public void setCategoryId(Long categoryId) {
101  this.categoryId = categoryId;
102  }
103 }
void setChannelId(Long channelId)
设置频道Id,可选,如果传了,则只需要有该channel的管理角色权限即可,否则需要有server的管理权限 ...
void setCategoryId(Long categoryId)
设置频道分组Id,可选,如果传了,则只需要有该频道分组的管理角色权限即可,否则需要有server的管理权限 ...