类 EMGetReactionListResource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-19T14:46:11.706022+08:00[Asia/Shanghai]") public class EMGetReactionListResource extends Object
EMGetReactionListResource
  • 字段详细资料

    • SERIALIZED_NAME_MSG_ID

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

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetReactionListResource

      public EMGetReactionListResource()
  • 方法详细资料

    • msgId

      public EMGetReactionListResource msgId(String msgId)
    • getMsgId

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

      public void setMsgId(String msgId)
    • reactionList

      public EMGetReactionListResource reactionList(List<EMReactionResource> reactionList)
    • addReactionListItem

      public EMGetReactionListResource addReactionListItem(EMReactionResource reactionListItem)
    • getReactionList

      @Nullable public List<EMReactionResource> getReactionList()
      单个消息的 Reaction 列表
      返回:
      reactionList
    • setReactionList

      public void setReactionList(List<EMReactionResource> reactionList)
    • 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 EMGetReactionListResource
    • fromJson

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

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