类 EMUserResource
java.lang.Object
com.easemob.im.api.model.EMUserResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-06T17:54:13.706541+08:00[Asia/Shanghai]")
public class EMUserResource
extends Object
EMUserResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明created(BigDecimal created) booleanstatic EMUserResourceCreate an instance of EMUserResource given an JSON string用户是否被封禁用户创建的时间用户推送昵称用户 IDgetUuid()用户 ID 的 uuidinthashCode()voidsetActivated(Boolean activated) voidsetCreated(BigDecimal created) voidsetNickname(String nickname) voidsetUsername(String username) voidtoJson()Convert an instance of EMUserResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMUserResource
public EMUserResource()
-
-
方法详细资料
-
username
-
getUsername
用户 ID- 返回:
- username
-
setUsername
-
nickname
-
getNickname
用户推送昵称- 返回:
- nickname
-
setNickname
-
uuid
-
getUuid
用户 ID 的 uuid- 返回:
- uuid
-
setUuid
-
activated
-
getActivated
用户是否被封禁- 返回:
- activated
-
setActivated
-
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 EMUserResource
-
fromJson
Create an instance of EMUserResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMUserResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMUserResource
-
toJson
Convert an instance of EMUserResource to an JSON string- 返回:
- JSON string
-