NIMSDK-AOS  9.16.0
QChatGetExistingChannelBlackWhiteRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
6 
7 import java.util.List;
8 
16  @NonNull
17  private final Long serverId;
21  @NonNull
22  private final Long channelId;
26  @NonNull
27  private final QChatChannelBlackWhiteType type;
31  @NonNull
32  private final List<Long> roleIds;
33 
41  public QChatGetExistingChannelBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull List<Long> roleIds) {
42  this.serverId = serverId;
43  this.channelId = channelId;
44  this.type = type;
45  this.roleIds = roleIds;
46  }
47 
52  @NonNull
53  public Long getServerId() {
54  return serverId;
55  }
56 
61  @NonNull
62  public Long getChannelId() {
63  return channelId;
64  }
65 
70  @NonNull
72  return type;
73  }
74 
79  @NonNull
80  public List<Long> getRoleIds() {
81  return roleIds;
82  }
83 }
QChatGetExistingChannelBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull List< Long > roleIds)