类 EMCustomGroupMemberAttribute
java.lang.Object
com.easemob.im.api.model.EMCustomGroupMemberAttribute
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMCustomGroupMemberAttribute
extends Object
EMCustomGroupMemberAttribute
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMCustomGroupMemberAttributeCreate an instance of EMCustomGroupMemberAttribute given an JSON string要设置的群成员自定义属性,为 key-value 键值对。inthashCode()voidsetMetaData(Object metaData) toJson()Convert an instance of EMCustomGroupMemberAttribute to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
SERIALIZED_NAME_META_DATA
- 另请参阅:
-
openapiFields
-
openapiRequiredFields
-
-
构造器详细资料
-
EMCustomGroupMemberAttribute
public EMCustomGroupMemberAttribute()
-
-
方法详细资料
-
metaData
-
getMetaData
要设置的群成员自定义属性,为 key-value 键值对。对于单个键值对: - key 表示属性名称,不能超过 16 字节。 - value 表示属性值,不能超过 512 个字节。若 value 设置为空字符串即删除该自定义属性。 单个群成员的自定义属性总长度不能超过 4 KB- 返回:
- metaData
-
setMetaData
-
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 EMCustomGroupMemberAttribute
-
fromJson
Create an instance of EMCustomGroupMemberAttribute given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMCustomGroupMemberAttribute
- 抛出:
IOException- if the JSON string is invalid with respect to EMCustomGroupMemberAttribute
-
toJson
Convert an instance of EMCustomGroupMemberAttribute to an JSON string- 返回:
- JSON string
-