类 EMGetRoomInfoResource
java.lang.Object
com.easemob.im.api.model.EMGetRoomInfoResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMGetRoomInfoResource
extends Object
EMGetRoomInfoResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addAffiliationsItem(Object affiliationsItem) affiliations(List<Object> affiliations) affiliationsCount(Integer affiliationsCount) allowinvites(Boolean allowinvites) created(BigDecimal created) description(String description) booleanstatic EMGetRoomInfoResourceCreate an instance of EMGetRoomInfoResource given an JSON string现有聊天室成员列表,包含聊天室所有者和成员(包括聊天室管理员)现有聊天室成员总数是否允许聊天室成员邀请其他用户加入该聊天室: - true:允许聊天室成员邀请他人加入该聊天室。创建聊天室时间,Unix 时间戳,单位为毫秒聊天室扩展信息聊天室描述聊天室是否封禁getId()聊天室 ID,聊天室唯一标识聊天室成员数上限,创建聊天室时设置加入聊天室是否需要群主或者群管理员审批: - true:是。getMute()聊天室是否禁言getName()聊天室名称getOwner()聊天室所有者的用户 ID预留字段,无需关注inthashCode()membersonly(Boolean membersonly) voidsetAffiliations(List<Object> affiliations) voidsetAffiliationsCount(Integer affiliationsCount) voidsetAllowinvites(Boolean allowinvites) voidsetCreated(BigDecimal created) voidvoidsetDescription(String description) voidsetDisabled(Boolean disabled) voidvoidsetMaxusers(Integer maxusers) voidsetMembersonly(Boolean membersonly) voidvoidvoidvoidtoJson()Convert an instance of EMGetRoomInfoResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
SERIALIZED_NAME_ID
- 另请参阅:
-
SERIALIZED_NAME_NAME
- 另请参阅:
-
SERIALIZED_NAME_DESCRIPTION
- 另请参阅:
-
SERIALIZED_NAME_MEMBERSONLY
- 另请参阅:
-
SERIALIZED_NAME_ALLOWINVITES
- 另请参阅:
-
SERIALIZED_NAME_MAXUSERS
- 另请参阅:
-
SERIALIZED_NAME_OWNER
- 另请参阅:
-
SERIALIZED_NAME_CREATED
- 另请参阅:
-
SERIALIZED_NAME_CUSTOM
- 另请参阅:
-
SERIALIZED_NAME_MUTE
- 另请参阅:
-
SERIALIZED_NAME_AFFILIATIONS_COUNT
- 另请参阅:
-
SERIALIZED_NAME_AFFILIATIONS
- 另请参阅:
-
SERIALIZED_NAME_DISABLED
- 另请参阅:
-
SERIALIZED_NAME_PUBLIC
- 另请参阅:
-
openapiFields
-
openapiRequiredFields
-
-
构造器详细资料
-
EMGetRoomInfoResource
public EMGetRoomInfoResource()
-
-
方法详细资料
-
id
-
getId
聊天室 ID,聊天室唯一标识- 返回:
- id
-
setId
-
name
-
getName
聊天室名称- 返回:
- name
-
setName
-
description
-
getDescription
聊天室描述- 返回:
- description
-
setDescription
-
membersonly
-
getMembersonly
加入聊天室是否需要群主或者群管理员审批: - true:是。 - false:否- 返回:
- membersonly
-
setMembersonly
-
allowinvites
-
getAllowinvites
是否允许聊天室成员邀请其他用户加入该聊天室: - true:允许聊天室成员邀请他人加入该聊天室。 - false:仅聊天室所有者和管理员可邀请他人加入该聊天室- 返回:
- allowinvites
-
setAllowinvites
-
maxusers
-
getMaxusers
聊天室成员数上限,创建聊天室时设置- 返回:
- maxusers
-
setMaxusers
-
owner
-
getOwner
聊天室所有者的用户 ID- 返回:
- owner
-
setOwner
-
created
-
getCreated
创建聊天室时间,Unix 时间戳,单位为毫秒- 返回:
- created
-
setCreated
-
custom
-
getCustom
聊天室扩展信息- 返回:
- custom
-
setCustom
-
mute
-
getMute
聊天室是否禁言- 返回:
- mute
-
setMute
-
affiliationsCount
-
getAffiliationsCount
现有聊天室成员总数- 返回:
- affiliationsCount
-
setAffiliationsCount
-
affiliations
-
addAffiliationsItem
-
getAffiliations
现有聊天室成员列表,包含聊天室所有者和成员(包括聊天室管理员)- 返回:
- affiliations
-
setAffiliations
-
disabled
-
getDisabled
聊天室是否封禁- 返回:
- disabled
-
setDisabled
-
_public
-
getPublic
预留字段,无需关注- 返回:
- _public
-
setPublic
-
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 EMGetRoomInfoResource
-
fromJson
Create an instance of EMGetRoomInfoResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMGetRoomInfoResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMGetRoomInfoResource
-
toJson
Convert an instance of EMGetRoomInfoResource to an JSON string- 返回:
- JSON string
-