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