NIMSDK-AOS  9.16.0
QChatGetExistingChannelRolesByServerRoleIdsParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
5 import java.util.List;
6 
14  @NonNull
15  private final Long serverId;
16 
20  @NonNull
21  private final Long channelId;
22 
26  @NonNull
27  private final List<Long> roleIds;
28 
35  public QChatGetExistingChannelRolesByServerRoleIdsParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull List<Long> roleIds) {
36  this.serverId = serverId;
37  this.channelId = channelId;
38  this.roleIds = roleIds;
39  }
40 
44  @NonNull
45  public Long getServerId() {
46  return serverId;
47  }
48 
52  @NonNull
53  public Long getChannelId() {
54  return channelId;
55  }
56 
60  @NonNull
61  public List<Long> getRoleIds() {
62  return roleIds;
63  }
64 
65  @Override
66  public String toString() {
67  return "QChatGetExistingChannelRolesByServerRoleIdsParam{" +
68  "serverId=" + serverId +
69  ", channelId=" + channelId +
70  ", roleIds=" + roleIds +
71  '}';
72  }
73 }
QChatGetExistingChannelRolesByServerRoleIdsParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull List< Long > roleIds)