类 EMMuteRoomMember
java.lang.Object
com.easemob.im.api.model.EMMuteRoomMember
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMMuteRoomMember
extends Object
EMMuteRoomMember
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addUsernamesItem(String usernamesItem) booleanstatic EMMuteRoomMemberCreate an instance of EMMuteRoomMember given an JSON string禁言时长,从当前时间开始计算。要被禁言的用户 ID,一次最多可传 60 个inthashCode()muteDuration(BigDecimal muteDuration) voidsetMuteDuration(BigDecimal muteDuration) voidsetUsernames(List<String> usernames) toJson()Convert an instance of EMMuteRoomMember to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMMuteRoomMember
public EMMuteRoomMember()
-
-
方法详细资料
-
muteDuration
-
getMuteDuration
禁言时长,从当前时间开始计算。单位为毫秒。-1 表示永久禁言- 返回:
- muteDuration
-
setMuteDuration
-
usernames
-
addUsernamesItem
-
getUsernames
要被禁言的用户 ID,一次最多可传 60 个- 返回:
- usernames
-
setUsernames
-
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 EMMuteRoomMember
-
fromJson
Create an instance of EMMuteRoomMember given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMMuteRoomMember
- 抛出:
IOException- if the JSON string is invalid with respect to EMMuteRoomMember
-
toJson
Convert an instance of EMMuteRoomMember to an JSON string- 返回:
- JSON string
-