类 EMGetMultipleUsersPresenceStatus

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

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

    • SERIALIZED_NAME_USERNAMES

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetMultipleUsersPresenceStatus

      public EMGetMultipleUsersPresenceStatus()
  • 方法详细资料

    • usernames

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

      public EMGetMultipleUsersPresenceStatus addUsernamesItem(String usernamesItem)
    • getUsernames

      @Nullable public List<String> getUsernames()
      需要获取其在线状态的用户列表,例如 [\"user1\", \"user2\"],最多可传 100 个用户 ID
      返回:
      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 EMGetMultipleUsersPresenceStatus
    • fromJson

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

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