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