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