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