类 EMGetAllContactListResult

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-06T17:54:13.706541+08:00[Asia/Shanghai]") public class EMGetAllContactListResult extends Object
EMGetAllContactListResult
  • 字段详细资料

    • SERIALIZED_NAME_DATA

      public static final String SERIALIZED_NAME_DATA
      另请参阅:
    • SERIALIZED_NAME_COUNT

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetAllContactListResult

      public EMGetAllContactListResult()
  • 方法详细资料

    • data

      public EMGetAllContactListResult data(List<String> data)
    • addDataItem

      public EMGetAllContactListResult addDataItem(String dataItem)
    • getData

      @Nullable public List<String> getData()
      获取的好友列表
      返回:
      data
    • setData

      public void setData(List<String> data)
    • count

      public EMGetAllContactListResult count(Integer count)
    • getCount

      @Nullable public Integer getCount()
      Get count
      返回:
      count
    • setCount

      public void setCount(Integer count)
    • 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 EMGetAllContactListResult
    • fromJson

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

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