类 EMGetRoomListResource
java.lang.Object
com.easemob.im.api.model.EMGetRoomListResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMGetRoomListResource
extends Object
EMGetRoomListResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明affiliationsCount(Integer affiliationsCount) booleanstatic EMGetRoomListResourceCreate an instance of EMGetRoomListResource given an JSON string聊天室现有成员总数(包含聊天室创建者)Get disabledgetId()聊天室 ID,聊天室唯一标识getName()聊天室名称getOwner()聊天室创建者的用户 IDinthashCode()voidsetAffiliationsCount(Integer affiliationsCount) voidsetDisabled(Boolean disabled) voidvoidvoidtoJson()Convert an instance of EMGetRoomListResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMGetRoomListResource
public EMGetRoomListResource()
-
-
方法详细资料
-
id
-
getId
聊天室 ID,聊天室唯一标识- 返回:
- id
-
setId
-
name
-
getName
聊天室名称- 返回:
- name
-
setName
-
owner
-
getOwner
聊天室创建者的用户 ID- 返回:
- owner
-
setOwner
-
affiliationsCount
-
getAffiliationsCount
聊天室现有成员总数(包含聊天室创建者)- 返回:
- affiliationsCount
-
setAffiliationsCount
-
disabled
-
getDisabled
Get disabled- 返回:
- disabled
-
setDisabled
-
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 EMGetRoomListResource
-
fromJson
Create an instance of EMGetRoomListResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMGetRoomListResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMGetRoomListResource
-
toJson
Convert an instance of EMGetRoomListResource to an JSON string- 返回:
- JSON string
-