类 EMCreateUser
java.lang.Object
com.easemob.im.api.model.EMCreateUser
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-06T17:54:13.706541+08:00[Asia/Shanghai]")
public class EMCreateUser
extends Object
EMCreateUser
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMCreateUserCreate an instance of EMCreateUser given an JSON string离线推送时在接收方的客户端推送通知栏中显示的发送方的昵称。用户的登录密码,长度不可超过 64 个字符用户 ID,长度不可超过 64 字节inthashCode()voidsetNickname(String nickname) voidsetPassword(String password) voidsetUsername(String username) toJson()Convert an instance of EMCreateUser to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMCreateUser
public EMCreateUser()
-
-
方法详细资料
-
username
-
getUsername
用户 ID,长度不可超过 64 字节- 返回:
- username
-
setUsername
-
password
-
getPassword
用户的登录密码,长度不可超过 64 个字符- 返回:
- password
-
setPassword
-
nickname
-
getNickname
离线推送时在接收方的客户端推送通知栏中显示的发送方的昵称。你可以自定义该昵称,长度不能超过 100 个字符。- 返回:
- nickname
-
setNickname
-
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 EMCreateUser
-
fromJson
Create an instance of EMCreateUser given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMCreateUser
- 抛出:
IOException- if the JSON string is invalid with respect to EMCreateUser
-
toJson
Convert an instance of EMCreateUser to an JSON string- 返回:
- JSON string
-