1 package com.netease.nimlib.sdk.v2.team.option;
20 private Boolean onlyChatBanned =
false;
28 private String nextToken =
"";
32 private Integer limit;
45 this.roleQueryType = roleQueryType;
46 this.onlyChatBanned = onlyChatBanned;
47 this.direction = direction;
48 this.nextToken = nextToken;
65 this.roleQueryType = roleQueryType;
73 return onlyChatBanned;
81 this.onlyChatBanned = onlyChatBanned;
89 this.direction = direction;
105 this.nextToken = nextToken;
125 if(roleQueryType == null){
128 if(limit != null && limit <= 0){
136 final StringBuilder sb =
new StringBuilder(
"V2NIMTeamMemberQueryOption{");
137 sb.append(
"roleQueryType=").append(roleQueryType);
138 sb.append(
", onlyChatBanned=").append(onlyChatBanned);
139 sb.append(
", direction=").append(direction);
140 sb.append(
", nextToken='").append(nextToken).append(
'\'');
141 sb.append(
", limit=").append(limit);
143 return sb.toString();
V2NIMTeamMemberQueryOption(V2NIMTeamMemberRoleQueryType roleQueryType, boolean onlyChatBanned, V2NIMQueryDirection direction, String nextToken, int limit)
void setOnlyChatBanned(boolean onlyChatBanned)
设置是否只返回聊天禁言成员列表,true: 只返回聊天禁言成员列表,false:全部成员列表 ...
void setLimit(int limit)
设置分页拉取数量
void setNextToken(String nextToken)
设置分页偏移,首次传"",后续拉取采用上一次返回的nextToken
void setDirection(V2NIMQueryDirection direction)
void setRoleQueryType(V2NIMTeamMemberRoleQueryType roleQueryType)
设置群组成员角色查询类型
Integer getLimit()
获取分页拉取数量
String getNextToken()
获取分页偏移
V2NIMTeamMemberRoleQueryType getRoleQueryType()
获取群组成员角色查询类型
V2NIM_QUERY_DIRECTION_DESC
V2NIMQueryDirection getDirection()
Boolean isOnlyChatBanned()
是否只返回聊天禁言成员列表
V2NIMTeamMemberQueryOption()