NIMSDK-AOS  9.16.0
QChatUpdateChannelCategoryBlackWhiteRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
6 
14  @NonNull
15  private final Long serverId;
16 
20  @NonNull
21  private final Long categoryId;
22 
26  @NonNull
27  private final QChatChannelBlackWhiteType type;
28 
32  @NonNull
33  private final QChatChannelBlackWhiteOperateType operateType;
34 
38  @NonNull
39  private final Long roleId;
40 
49  public QChatUpdateChannelCategoryBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull Long roleId) {
50  this.serverId = serverId;
51  this.categoryId = categoryId;
52  this.type = type;
53  this.operateType = operateType;
54  this.roleId = roleId;
55  }
56 
61  @NonNull
62  public Long getServerId() {
63  return serverId;
64  }
65 
70  @NonNull
71  public Long getCategoryId() {
72  return categoryId;
73  }
74 
79  @NonNull
81  return type;
82  }
83 
88  @NonNull
90  return operateType;
91  }
92 
97  @NonNull
98  public Long getRoleId() {
99  return roleId;
100  }
101 }
QChatUpdateChannelCategoryBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull Long roleId)
Long getRoleId()
获取身份组Id:添加或者移除到黑白名单的服务器身份组Id