类 EMModifyGroup
java.lang.Object
com.easemob.im.api.model.EMModifyGroup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-07-29T15:02:31.237631+08:00[Asia/Shanghai]")
public class EMModifyGroup
extends Object
EMModifyGroup
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明allowinvites(Boolean allowinvites) description(String description) booleanstatic EMModifyGroupCreate an instance of EMModifyGroup given an JSON string是否允许群成员邀请用户加入群组: - true:群成员可拉人入群; - (默认)false:只有群主或者管理员才可以拉人入群。群组头像的 URL,最大长度为 1024 字符群组扩展信息,例如可以给群组添加业务相关的标记,不要超过 1,024 字符群组描述,最大长度为 512 字符群组名称,最大长度为 128 字符邀请用户入群时是否需要被邀用户同意。群组最大成员数(包括群主)。加入群组是否需要群主或者群管理员审批: - true:是; - false:否群组的新管理员的用户 ID是否是公开群。inthashCode()inviteNeedConfirm(Boolean inviteNeedConfirm) membersonly(Boolean membersonly) voidsetAllowinvites(Boolean allowinvites) voidvoidvoidsetDescription(String description) voidsetGroupname(String groupname) voidsetInviteNeedConfirm(Boolean inviteNeedConfirm) voidsetMaxusers(Integer maxusers) voidsetMembersonly(Boolean membersonly) voidsetNewowner(String newowner) voidtoJson()Convert an instance of EMModifyGroup to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
SERIALIZED_NAME_GROUPNAME
- 另请参阅:
-
SERIALIZED_NAME_AVATAR
- 另请参阅:
-
SERIALIZED_NAME_DESCRIPTION
- 另请参阅:
-
SERIALIZED_NAME_PUBLIC
- 另请参阅:
-
SERIALIZED_NAME_MAXUSERS
- 另请参阅:
-
SERIALIZED_NAME_ALLOWINVITES
- 另请参阅:
-
SERIALIZED_NAME_MEMBERSONLY
- 另请参阅:
-
SERIALIZED_NAME_INVITE_NEED_CONFIRM
- 另请参阅:
-
SERIALIZED_NAME_CUSTOM
- 另请参阅:
-
SERIALIZED_NAME_NEWOWNER
- 另请参阅:
-
openapiFields
-
openapiRequiredFields
-
-
构造器详细资料
-
EMModifyGroup
public EMModifyGroup()
-
-
方法详细资料
-
groupname
-
getGroupname
群组名称,最大长度为 128 字符- 返回:
- groupname
-
setGroupname
-
avatar
-
getAvatar
群组头像的 URL,最大长度为 1024 字符- 返回:
- avatar
-
setAvatar
-
description
-
getDescription
群组描述,最大长度为 512 字符- 返回:
- description
-
setDescription
-
_public
-
getPublic
是否是公开群。 - true:公开群; - false:私有群- 返回:
- _public
-
setPublic
-
maxusers
-
getMaxusers
群组最大成员数(包括群主)。对于普通群,该参数的默认值为 200,大型群为 1000。不同套餐支持的人数上限不同,详见 产品价格- 返回:
- maxusers
-
setMaxusers
-
allowinvites
-
getAllowinvites
是否允许群成员邀请用户加入群组: - true:群成员可拉人入群; - (默认)false:只有群主或者管理员才可以拉人入群。 注:该参数仅对私有群有效,因为公开群不允许群成员邀请其他用户入群- 返回:
- allowinvites
-
setAllowinvites
-
membersonly
-
getMembersonly
加入群组是否需要群主或者群管理员审批: - true:是; - false:否- 返回:
- membersonly
-
setMembersonly
-
inviteNeedConfirm
-
getInviteNeedConfirm
邀请用户入群时是否需要被邀用户同意。 - (默认)true:是; - false:否- 返回:
- inviteNeedConfirm
-
setInviteNeedConfirm
-
custom
-
getCustom
群组扩展信息,例如可以给群组添加业务相关的标记,不要超过 1,024 字符- 返回:
- custom
-
setCustom
-
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 EMModifyGroup
-
fromJson
Create an instance of EMModifyGroup given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMModifyGroup
- 抛出:
IOException- if the JSON string is invalid with respect to EMModifyGroup
-
toJson
Convert an instance of EMModifyGroup to an JSON string- 返回:
- JSON string
-