类 EMBatchRecallMessageResource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-24T10:21:36.382435+08:00[Asia/Shanghai]", comments="Generator version: 7.14.0") public class EMBatchRecallMessageResource extends Object
EMBatchRecallMessageResource
  • 字段详细资料

    • SERIALIZED_NAME_MSG_ID

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

      public static final String SERIALIZED_NAME_RECALLED
      另请参阅:
    • SERIALIZED_NAME_FROM

      public static final String SERIALIZED_NAME_FROM
      另请参阅:
    • SERIALIZED_NAME_TO

      public static final String SERIALIZED_NAME_TO
      另请参阅:
    • SERIALIZED_NAME_CHATTYPE

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMBatchRecallMessageResource

      public EMBatchRecallMessageResource()
  • 方法详细资料

    • msgId

      public EMBatchRecallMessageResource msgId(@Nullable String msgId)
    • getMsgId

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

      public void setMsgId(@Nullable String msgId)
    • recalled

      public EMBatchRecallMessageResource recalled(@Nullable String recalled)
    • getRecalled

      @Nullable public String getRecalled()
      消息撤回结果,成功为 yes
      返回:
      recalled
    • setRecalled

      public void setRecalled(@Nullable String recalled)
    • from

      public EMBatchRecallMessageResource from(@Nullable String from)
    • getFrom

      @Nullable public String getFrom()
      消息撤回方的用户 ID
      返回:
      from
    • setFrom

      public void setFrom(@Nullable String from)
    • to

      public EMBatchRecallMessageResource to(@Nullable String to)
    • getTo

      @Nullable public String getTo()
      撤回消息的送达方
      返回:
      to
    • setTo

      public void setTo(@Nullable String to)
    • chattype

      public EMBatchRecallMessageResource chattype(@Nullable String chattype)
    • getChattype

      @Nullable public String getChattype()
      撤回消息的会话类型:chat、groupchat 或 chatroom
      返回:
      chattype
    • setChattype

      public void setChattype(@Nullable String chattype)
    • 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 EMBatchRecallMessageResource
    • fromJson

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

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