类 EMSetUserPresenceStatusResult

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

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

    • SERIALIZED_NAME_RESULT

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMSetUserPresenceStatusResult

      public EMSetUserPresenceStatusResult()
  • 方法详细资料

    • result

      public EMSetUserPresenceStatusResult result(String result)
    • getResult

      @Nullable public String getResult()
      Get result
      返回:
      result
    • setResult

      public void setResult(String result)
    • 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 EMSetUserPresenceStatusResult
    • fromJson

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

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