类 EMImportContactList

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-07-29T15:02:31.237631+08:00[Asia/Shanghai]") public class EMImportContactList extends Object
EMImportContactList
  • 字段详细资料

    • SERIALIZED_NAME_USERNAMES

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMImportContactList

      public EMImportContactList()
  • 方法详细资料

    • usernames

      public EMImportContactList usernames(List<String> usernames)
    • addUsernamesItem

      public EMImportContactList addUsernamesItem(String usernamesItem)
    • getUsernames

      @Nullable public List<String> getUsernames()
      好友的用户 ID,一次最多可导入 10 个
      返回:
      usernames
    • setUsernames

      public void setUsernames(List<String> usernames)
    • 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 EMImportContactList
    • fromJson

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

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