NIMSDK-AOS  9.16.0
QChatUpdateChannelCategoryMemberRoleParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
6 import java.util.Map;
7 
12 
16  @NonNull
17  private final Long serverId;
21  @NonNull
22  private final Long categoryId;
26  @NonNull
27  private final String accid;
31  @NonNull
32  private final Map<QChatRoleResource, QChatRoleOption> resourceAuths;
33 
41  public QChatUpdateChannelCategoryMemberRoleParam(long serverId, long categoryId, @NonNull String accid,
42  @NonNull Map<QChatRoleResource, QChatRoleOption> resourceAuths) {
43  this.serverId = serverId;
44  this.accid = accid;
45  this.categoryId = categoryId;
46  this.resourceAuths = resourceAuths;
47  }
48 
52  @NonNull
53  public Long getServerId() {
54  return serverId;
55  }
56 
60  @NonNull
61  public Long getCategoryId() {
62  return categoryId;
63  }
64 
68  @NonNull
69  public String getAccid() {
70  return accid;
71  }
72 
76  @NonNull
77  public Map<QChatRoleResource, QChatRoleOption> getResourceAuths() {
78  return resourceAuths;
79  }
80 }
QChatUpdateChannelCategoryMemberRoleParam(long serverId, long categoryId, @NonNull String accid, @NonNull Map< QChatRoleResource, QChatRoleOption > resourceAuths)