类 EMRoomWhiteListResource
java.lang.Object
com.easemob.im.api.model.EMRoomWhiteListResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMRoomWhiteListResource
extends Object
EMRoomWhiteListResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMRoomWhiteListResourceCreate an instance of EMRoomWhiteListResource given an JSON string添加失败的原因是否成功将用户批量添加至聊天室白名单: - true:是; - false:否getUser()添加的用户 IDinthashCode()voidvoidvoidtoJson()Convert an instance of EMRoomWhiteListResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMRoomWhiteListResource
public EMRoomWhiteListResource()
-
-
方法详细资料
-
result
-
getResult
是否成功将用户批量添加至聊天室白名单: - true:是; - false:否- 返回:
- result
-
setResult
-
reason
-
getReason
添加失败的原因- 返回:
- reason
-
setReason
-
user
-
getUser
添加的用户 ID- 返回:
- user
-
setUser
-
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 EMRoomWhiteListResource
-
fromJson
Create an instance of EMRoomWhiteListResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMRoomWhiteListResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMRoomWhiteListResource
-
toJson
Convert an instance of EMRoomWhiteListResource to an JSON string- 返回:
- JSON string
-