NIMSDK-AOS  9.16.0
QChatUpdateChannelBlackWhiteRolesParam.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 channelId;
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 QChatUpdateChannelBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull Long roleId) {
50  this.serverId = serverId;
51  this.channelId = channelId;
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 getChannelId() {
72  return channelId;
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 }
QChatUpdateChannelBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull Long roleId)
QChatChannelBlackWhiteOperateType getOperateType()
获取黑白名单操作类型
Long getRoleId()
获取身份组Id:添加或者移除到黑白名单的身份组Id