类 EMUserContactCheck
java.lang.Object
com.easemob.im.api.model.EMUserContactCheck
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-02T18:37:16.027660+08:00[Asia/Shanghai]",
comments="Generator version: 7.14.0")
public class EMUserContactCheck
extends Object
EMUserContactCheck
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addCheckListItem(String checkListItem) booleanstatic EMUserContactCheckCreate an instance of EMUserContactCheck given an JSON string需要检查的好友的用户 ID,一次最多可校验 100 个用户 ID当前用户 ID。inthashCode()voidsetCheckList(List<String> checkList) voidsetUsername(String username) toJson()Convert an instance of EMUserContactCheck to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMUserContactCheck
public EMUserContactCheck()
-
-
方法详细资料
-
username
-
getUsername
当前用户 ID。批量检查该用户 ID 的好友- 返回:
- username
-
setUsername
-
checkList
-
addCheckListItem
-
getCheckList
需要检查的好友的用户 ID,一次最多可校验 100 个用户 ID- 返回:
- checkList
-
setCheckList
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to EMUserContactCheck
-
fromJson
Create an instance of EMUserContactCheck given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMUserContactCheck
- 抛出:
IOException- if the JSON string is invalid with respect to EMUserContactCheck
-
toJson
Convert an instance of EMUserContactCheck to an JSON string- 返回:
- JSON string
-