类 EMModifyRoom

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-04-02T19:03:46.433433+08:00[Asia/Shanghai]", comments="Generator version: 7.14.0") public class EMModifyRoom extends Object
EMModifyRoom
  • 字段详细资料

    • SERIALIZED_NAME_NAME

      public static final String SERIALIZED_NAME_NAME
      另请参阅:
    • SERIALIZED_NAME_DESCRIPTION

      public static final String SERIALIZED_NAME_DESCRIPTION
      另请参阅:
    • SERIALIZED_NAME_MAXUSERS

      public static final String SERIALIZED_NAME_MAXUSERS
      另请参阅:
    • SERIALIZED_NAME_NEWOWNER

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMModifyRoom

      public EMModifyRoom()
  • 方法详细资料

    • name

      public EMModifyRoom name(@Nullable String name)
    • getName

      @Nullable public String getName()
      聊天室名称,最大长度为 128 个字符
      返回:
      name
    • setName

      public void setName(@Nullable String name)
    • description

      public EMModifyRoom description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      聊天室描述,最大长度为 512 个字符
      返回:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • maxusers

      public EMModifyRoom maxusers(@Nullable Integer maxusers)
    • getMaxusers

      @Nullable public Integer getMaxusers()
      聊天室最大成员数(包括聊天室所有者)。取值范围为 [1,10,000],默认值为 1000。如需调整请联系商务
      返回:
      maxusers
    • setMaxusers

      public void setMaxusers(@Nullable Integer maxusers)
    • newowner

      public EMModifyRoom newowner(@Nullable String newowner)
    • getNewowner

      @Nullable public String getNewowner()
      聊天室新的所有者的用户 ID
      返回:
      newowner
    • setNewowner

      public void setNewowner(@Nullable String newowner)
    • 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 EMModifyRoom
    • fromJson

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

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