类 EMThreadResource

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

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

  • 构造器详细资料

    • EMThreadResource

      public EMThreadResource()
  • 方法详细资料

    • name

      public EMThreadResource name(String name)
    • getName

      @Nullable public String getName()
      子区名称
      返回:
      name
    • setName

      public void setName(String name)
    • owner

      public EMThreadResource owner(String owner)
    • getOwner

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

      public void setOwner(String owner)
    • id

      public EMThreadResource id(String id)
    • getId

      @Nullable public String getId()
      子区 ID
      返回:
      id
    • setId

      public void setId(String id)
    • msgId

      public EMThreadResource msgId(String msgId)
    • getMsgId

      @Nullable public String getMsgId()
      子区的父消息 ID
      返回:
      msgId
    • setMsgId

      public void setMsgId(String msgId)
    • groupId

      public EMThreadResource groupId(String groupId)
    • getGroupId

      @Nullable public String getGroupId()
      子区所属群组 ID
      返回:
      groupId
    • setGroupId

      public void setGroupId(String groupId)
    • created

      public EMThreadResource created(BigDecimal created)
    • getCreated

      @Nullable public BigDecimal getCreated()
      子区创建时间,Unix 时间戳
      返回:
      created
    • setCreated

      public void setCreated(BigDecimal created)
    • 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 EMThreadResource
    • fromJson

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

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