类 EMModifyRoom
java.lang.Object
com.easemob.im.api.model.EMModifyRoom
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-02T19:03:46.433433+08:00[Asia/Shanghai]",
comments="Generator version: 7.14.0")
public class EMModifyRoom
extends Object
EMModifyRoom
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明description(String description) booleanstatic EMModifyRoomCreate an instance of EMModifyRoom given an JSON string聊天室描述,最大长度为 512 个字符聊天室最大成员数(包括聊天室所有者)。getName()聊天室名称,最大长度为 128 个字符聊天室新的所有者的用户 IDinthashCode()voidsetDescription(String description) voidsetMaxusers(Integer maxusers) voidvoidsetNewowner(String newowner) toJson()Convert an instance of EMModifyRoom to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMModifyRoom
public EMModifyRoom()
-
-
方法详细资料
-
name
-
getName
聊天室名称,最大长度为 128 个字符- 返回:
- name
-
setName
-
description
-
getDescription
聊天室描述,最大长度为 512 个字符- 返回:
- description
-
setDescription
-
maxusers
-
getMaxusers
聊天室最大成员数(包括聊天室所有者)。取值范围为 [1,10,000],默认值为 1000。如需调整请联系商务- 返回:
- maxusers
-
setMaxusers
-
newowner
-
getNewowner
聊天室新的所有者的用户 ID- 返回:
- newowner
-
setNewowner
-
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 EMModifyRoom
-
fromJson
Create an instance of EMModifyRoom given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMModifyRoom
- 抛出:
IOException- if the JSON string is invalid with respect to EMModifyRoom
-
toJson
Convert an instance of EMModifyRoom to an JSON string- 返回:
- JSON string
-