类 EMModifyUserPassword

java.lang.Object
com.easemob.im.api.model.EMModifyUserPassword

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]") public class EMModifyUserPassword extends Object
EMModifyUserPassword
  • 字段详细资料

    • SERIALIZED_NAME_NEWPASSWORD

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMModifyUserPassword

      public EMModifyUserPassword()
  • 方法详细资料

    • newpassword

      public EMModifyUserPassword newpassword(String newpassword)
    • getNewpassword

      @Nullable public String getNewpassword()
      用户的新登录密码,长度不可超过 64 个字符
      返回:
      newpassword
    • setNewpassword

      public void setNewpassword(String newpassword)
    • 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 EMModifyUserPassword
    • fromJson

      public static EMModifyUserPassword fromJson(String jsonString) throws IOException
      Create an instance of EMModifyUserPassword given an JSON string
      参数:
      jsonString - JSON string
      返回:
      An instance of EMModifyUserPassword
      抛出:
      IOException - if the JSON string is invalid with respect to EMModifyUserPassword
    • toJson

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