类 EMUserJoinedGroupResource
java.lang.Object
com.easemob.im.api.model.EMUserJoinedGroupResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-07-29T15:02:31.237631+08:00[Asia/Shanghai]")
public class EMUserJoinedGroupResource
extends Object
EMUserJoinedGroupResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明allowinvites(Boolean allowinvites) created(BigDecimal created) description(String description) booleanstatic EMUserJoinedGroupResourceCreate an instance of EMUserJoinedGroupResource given an JSON string是否允许普通群成员邀请用户加入群组: - true:普通群成员可拉人入群; - false:只有群主或者管理员才可以拉人入群群组头像的 URL群组创建的时间戳,单位为毫秒群组描述群组是否被禁用: - true:禁用。getId()群组 ID群组最大成员数(包括群主)用户申请入群是否需要群主或者群管理员审批。getName()群组名称getOwner()群主的用户 ID是否是公开群: - true:公开群。inthashCode()membersonly(Boolean membersonly) voidsetAllowinvites(Boolean allowinvites) voidvoidsetCreated(BigDecimal created) voidsetDescription(String description) voidsetDisabled(Boolean disabled) voidvoidsetMaxusers(Integer maxusers) voidsetMembersonly(Boolean membersonly) voidvoidvoidtoJson()Convert an instance of EMUserJoinedGroupResource 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_AVATAR
- 另请参阅:
-
SERIALIZED_NAME_OWNER
- 另请参阅:
-
SERIALIZED_NAME_DESCRIPTION
- 另请参阅:
-
SERIALIZED_NAME_DISABLED
- 另请参阅:
-
SERIALIZED_NAME_PUBLIC
- 另请参阅:
-
SERIALIZED_NAME_ALLOWINVITES
- 另请参阅:
-
SERIALIZED_NAME_MEMBERSONLY
- 另请参阅:
-
SERIALIZED_NAME_MAXUSERS
- 另请参阅:
-
SERIALIZED_NAME_CREATED
- 另请参阅:
-
openapiFields
-
openapiRequiredFields
-
-
构造器详细资料
-
EMUserJoinedGroupResource
public EMUserJoinedGroupResource()
-
-
方法详细资料
-
id
-
getId
群组 ID- 返回:
- id
-
setId
-
name
-
getName
群组名称- 返回:
- name
-
setName
-
avatar
-
getAvatar
群组头像的 URL- 返回:
- avatar
-
setAvatar
-
owner
-
getOwner
群主的用户 ID- 返回:
- owner
-
setOwner
-
description
-
getDescription
群组描述- 返回:
- description
-
setDescription
-
disabled
-
getDisabled
群组是否被禁用: - true:禁用。禁用后不能对群组进行任何修改。 - false:未禁用- 返回:
- disabled
-
setDisabled
-
_public
-
getPublic
是否是公开群: - true:公开群。公开群可以被搜索到,用户可以申请加入公开群。 - false:私有群。私有群无法被搜索到,需要群主或群管理员邀请,用户才可以加入- 返回:
- _public
-
setPublic
-
allowinvites
-
getAllowinvites
是否允许普通群成员邀请用户加入群组: - true:普通群成员可拉人入群; - false:只有群主或者管理员才可以拉人入群- 返回:
- allowinvites
-
setAllowinvites
-
membersonly
-
getMembersonly
用户申请入群是否需要群主或者群管理员审批。 - true:需要; - false:不需要,用户直接进群- 返回:
- membersonly
-
setMembersonly
-
maxusers
-
getMaxusers
群组最大成员数(包括群主)- 返回:
- maxusers
-
setMaxusers
-
created
-
getCreated
群组创建的时间戳,单位为毫秒- 返回:
- 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 EMUserJoinedGroupResource
-
fromJson
Create an instance of EMUserJoinedGroupResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMUserJoinedGroupResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMUserJoinedGroupResource
-
toJson
Convert an instance of EMUserJoinedGroupResource to an JSON string- 返回:
- JSON string
-