类 EMMuteRoomMemberResource
java.lang.Object
com.easemob.im.api.model.EMMuteRoomMemberResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMMuteRoomMemberResource
extends Object
EMMuteRoomMemberResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanexpire(BigDecimal expire) static EMMuteRoomMemberResourceCreate an instance of EMMuteRoomMemberResource given an JSON string禁言到期时间,Unix 时间戳,单位为毫秒是否成功禁言用户: - true:是; - false:否getUser()被禁言的用户 IDinthashCode()voidsetExpire(BigDecimal expire) voidvoidtoJson()Convert an instance of EMMuteRoomMemberResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMMuteRoomMemberResource
public EMMuteRoomMemberResource()
-
-
方法详细资料
-
result
-
getResult
是否成功禁言用户: - true:是; - false:否- 返回:
- result
-
setResult
-
expire
-
getExpire
禁言到期时间,Unix 时间戳,单位为毫秒- 返回:
- expire
-
setExpire
-
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 EMMuteRoomMemberResource
-
fromJson
Create an instance of EMMuteRoomMemberResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMMuteRoomMemberResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMMuteRoomMemberResource
-
toJson
Convert an instance of EMMuteRoomMemberResource to an JSON string- 返回:
- JSON string
-