类 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
  • 字段详细资料

    • SERIALIZED_NAME_USERNAME

      public static final String SERIALIZED_NAME_USERNAME
      另请参阅:
    • SERIALIZED_NAME_PUSH_NICKNAME

      public static final String SERIALIZED_NAME_PUSH_NICKNAME
      另请参阅:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • 构造器详细资料

    • EMModifyPushNickname

      public EMModifyPushNickname()
  • 方法详细资料

    • username

      public EMModifyPushNickname username(String username)
    • getUsername

      @Nullable public String getUsername()
      用户 ID,长度不可超过 64 字节
      返回:
      username
    • setUsername

      public void setUsername(String username)
    • pushNickname

      public EMModifyPushNickname pushNickname(String pushNickname)
    • getPushNickname

      @Nullable public String getPushNickname()
      离线推送时在接收方的客户端推送通知栏中显示的发送方的昵称。你可以自定义该昵称,长度不能超过 100 个字符。
      返回:
      pushNickname
    • setPushNickname

      public void setPushNickname(String pushNickname)
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static EMModifyPushNickname fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of EMModifyPushNickname to an JSON string
      返回:
      JSON string