类 EMGetRoomListResource

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

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

    • SERIALIZED_NAME_ID

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

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

      public static final String SERIALIZED_NAME_OWNER
      另请参阅:
    • SERIALIZED_NAME_AFFILIATIONS_COUNT

      public static final String SERIALIZED_NAME_AFFILIATIONS_COUNT
      另请参阅:
    • SERIALIZED_NAME_DISABLED

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetRoomListResource

      public EMGetRoomListResource()
  • 方法详细资料

    • id

      public EMGetRoomListResource id(String id)
    • getId

      @Nullable public String getId()
      聊天室 ID,聊天室唯一标识
      返回:
      id
    • setId

      public void setId(String id)
    • name

      public EMGetRoomListResource name(String name)
    • getName

      @Nullable public String getName()
      聊天室名称
      返回:
      name
    • setName

      public void setName(String name)
    • owner

      public EMGetRoomListResource owner(String owner)
    • getOwner

      @Nullable public String getOwner()
      聊天室创建者的用户 ID
      返回:
      owner
    • setOwner

      public void setOwner(String owner)
    • affiliationsCount

      public EMGetRoomListResource affiliationsCount(Integer affiliationsCount)
    • getAffiliationsCount

      @Nullable public Integer getAffiliationsCount()
      聊天室现有成员总数(包含聊天室创建者)
      返回:
      affiliationsCount
    • setAffiliationsCount

      public void setAffiliationsCount(Integer affiliationsCount)
    • disabled

      public EMGetRoomListResource disabled(Boolean disabled)
    • getDisabled

      @Nullable public Boolean getDisabled()
      Get disabled
      返回:
      disabled
    • setDisabled

      public void setDisabled(Boolean disabled)
    • 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 EMGetRoomListResource
    • fromJson

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

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