NIMSDK-AOS  9.16.0
QChatGetChannelBlackWhiteRolesByPageResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
4 import java.io.Serializable;
5 import java.util.List;
6 
7 public class QChatGetChannelBlackWhiteRolesByPageResult extends QChatGetByPageResult implements Serializable {
11  private List<QChatServerRole> roleList;
12 
13  public QChatGetChannelBlackWhiteRolesByPageResult(List<QChatServerRole> roleList) {
14  super();
15  this.roleList = roleList;
16  }
17 
18  public QChatGetChannelBlackWhiteRolesByPageResult(boolean hasMore, long nextTimeTag, List<QChatServerRole> roleList) {
19  super(hasMore, nextTimeTag);
20  this.roleList = roleList;
21  }
22 
27  public List<QChatServerRole> getRoleList() {
28  return roleList;
29  }
30 
31  @Override
32  public String toString() {
33  return "QChatGetChannelBlackWhiteRolesByPageResult{" +
34  "hasMore=" + hasMore +
35  ", nextTimeTag=" + nextTimeTag +
36  ", roleList=" + roleList +
37  '}';
38  }
39 }
final boolean hasMore
表示是否还有下一页
final long nextTimeTag
下一次翻页时的起始时间戳
QChatGetChannelBlackWhiteRolesByPageResult(boolean hasMore, long nextTimeTag, List< QChatServerRole > roleList)