1 package com.netease.nimlib.sdk.v2.team.params;
8 import java.util.Collections;
15 private List<String> keywordList;
25 private List<V2NIMTeamType> teamTypes;
34 private String nextToken;
41 this.keywordList = keywordList;
45 return keywordMatchType;
49 this.keywordMatchType = keywordMatchType;
57 this.teamTypes = teamTypes;
73 this.nextToken = nextToken;
82 if (keywordMatchType == null) {
83 return "keywordMatchType is null";
86 if (!CollectionUtil.isEmpty(teamTypes)) {
88 if (teamType == null) {
89 return "teamType is null: " + CollectionUtil.toStringSafe(teamTypes);
95 if (keywordList == null || keywordList.isEmpty()) {
96 return "keywordList is null or empty";
100 if (keywordList.size() > 5) {
101 return "keywordList size > 5";
static final int LIMIT_DEFAULT
V2NIM_SEARCH_KEYWORD_MATH_TYPE_OR
String isValidWithErrorMsg()
验证参数有效性
void setTeamTypes(List< V2NIMTeamType > teamTypes)
void setKeywordList(List< String > keywordList)
void setNextToken(String nextToken)
List< V2NIMTeamType > getTeamTypes()
List< String > getKeywordList()
void setKeywordMatchType(V2NIMSearchKeywordMathType keywordMatchType)
V2NIMSearchKeywordMathType getKeywordMatchType()