类 EMBatchRecallMessages

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

@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 EMBatchRecallMessages extends Object
EMBatchRecallMessages
  • 字段详细资料

    • SERIALIZED_NAME_MSGS

      public static final String SERIALIZED_NAME_MSGS
      另请参阅:
    • SERIALIZED_NAME_RECALL_MESSAGE_EXTENSION_INFO

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMBatchRecallMessages

      public EMBatchRecallMessages()
  • 方法详细资料

    • msgs

    • addMsgsItem

    • getMsgs

      @Nonnull public List<EMBatchRecallMessagesMsgsInner> getMsgs()
      要撤回的消息详情列表,单次最多可撤回 30 条
      返回:
      msgs
    • setMsgs

      public void setMsgs(@Nonnull List<EMBatchRecallMessagesMsgsInner> msgs)
    • recallMessageExtensionInfo

      public EMBatchRecallMessages recallMessageExtensionInfo(@Nullable String recallMessageExtensionInfo)
    • getRecallMessageExtensionInfo

      @Nullable public String getRecallMessageExtensionInfo()
      消息撤回相关的扩展信息
      返回:
      recallMessageExtensionInfo
    • setRecallMessageExtensionInfo

      public void setRecallMessageExtensionInfo(@Nullable String recallMessageExtensionInfo)
    • 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 EMBatchRecallMessages
    • fromJson

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

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