类 EMCreateThread
java.lang.Object
com.easemob.im.api.model.EMCreateThread
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMCreateThread
extends Object
EMCreateThread
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMCreateThreadCreate an instance of EMCreateThread given an JSON string子区所在的群组 IDgetMsgId()子区的父消息 IDgetName()子区名称,不能超过 64 个字符getOwner()子区的所有者,即创建子区的群成员inthashCode()voidsetGroupId(String groupId) voidvoidvoidtoJson()Convert an instance of EMCreateThread to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMCreateThread
public EMCreateThread()
-
-
方法详细资料
-
groupId
-
getGroupId
子区所在的群组 ID- 返回:
- groupId
-
setGroupId
-
name
-
getName
子区名称,不能超过 64 个字符- 返回:
- name
-
setName
-
msgId
-
getMsgId
子区的父消息 ID- 返回:
- msgId
-
setMsgId
-
owner
-
getOwner
子区的所有者,即创建子区的群成员- 返回:
- owner
-
setOwner
-
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 EMCreateThread
-
fromJson
Create an instance of EMCreateThread given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMCreateThread
- 抛出:
IOException- if the JSON string is invalid with respect to EMCreateThread
-
toJson
Convert an instance of EMCreateThread to an JSON string- 返回:
- JSON string
-