类 EMCreateThread

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

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

    • SERIALIZED_NAME_GROUP_ID

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

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

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

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMCreateThread

      public EMCreateThread()
  • 方法详细资料

    • groupId

      public EMCreateThread groupId(String groupId)
    • getGroupId

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

      public void setGroupId(String groupId)
    • name

      public EMCreateThread name(String name)
    • getName

      @Nullable public String getName()
      子区名称,不能超过 64 个字符
      返回:
      name
    • setName

      public void setName(String name)
    • msgId

      public EMCreateThread msgId(String msgId)
    • getMsgId

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

      public void setMsgId(String msgId)
    • owner

      public EMCreateThread owner(String owner)
    • getOwner

      @Nullable public String getOwner()
      子区的所有者,即创建子区的群成员
      返回:
      owner
    • setOwner

      public void setOwner(String owner)
    • 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 EMCreateThread
    • fromJson

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

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