类 EMGetMultipleUserMetadata

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]") public class EMGetMultipleUserMetadata extends Object
EMGetMultipleUserMetadata
  • 字段详细资料

    • SERIALIZED_NAME_TARGETS

      public static final String SERIALIZED_NAME_TARGETS
      另请参阅:
    • SERIALIZED_NAME_PROPERTIES

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetMultipleUserMetadata

      public EMGetMultipleUserMetadata()
  • 方法详细资料

    • targets

      public EMGetMultipleUserMetadata targets(List<String> targets)
    • addTargetsItem

      public EMGetMultipleUserMetadata addTargetsItem(String targetsItem)
    • getTargets

      @Nullable public List<String> getTargets()
      用户 ID 列表,最多可传 100 个用户 ID
      返回:
      targets
    • setTargets

      public void setTargets(List<String> targets)
    • properties

      public EMGetMultipleUserMetadata properties(List<String> properties)
    • addPropertiesItem

      public EMGetMultipleUserMetadata addPropertiesItem(String propertiesItem)
    • getProperties

      @Nullable public List<String> getProperties()
      属性名列表,查询结果只返回该列表中包含的属性,不在该列表中的属性将被忽略
      返回:
      properties
    • setProperties

      public void setProperties(List<String> properties)
    • 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 EMGetMultipleUserMetadata
    • fromJson

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

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