NIMSDK-AOS  9.16.0
QChatGetExistingChannelCategoryBlackWhiteRolesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
5 import java.util.List;
6 
14  @NonNull
15  private final Long serverId;
19  @NonNull
20  private final Long categoryId;
24  @NonNull
25  private final QChatChannelBlackWhiteType type;
29  @NonNull
30  private final List<Long> roleIds;
31 
39  public QChatGetExistingChannelCategoryBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull List<Long> roleIds) {
40  this.serverId = serverId;
41  this.categoryId = categoryId;
42  this.type = type;
43  this.roleIds = roleIds;
44  }
45 
50  @NonNull
51  public Long getServerId() {
52  return serverId;
53  }
54 
59  @NonNull
60  public Long getCategoryId() {
61  return categoryId;
62  }
63 
68  @NonNull
70  return type;
71  }
72 
77  @NonNull
78  public List<Long> getRoleIds() {
79  return roleIds;
80  }
81 }
QChatGetExistingChannelCategoryBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull List< Long > roleIds)