类 EMMuteRoomMemberResource

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

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

    • SERIALIZED_NAME_RESULT

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

      public static final String SERIALIZED_NAME_EXPIRE
      另请参阅:
    • SERIALIZED_NAME_USER

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMMuteRoomMemberResource

      public EMMuteRoomMemberResource()
  • 方法详细资料

    • result

      public EMMuteRoomMemberResource result(Boolean result)
    • getResult

      @Nullable public Boolean getResult()
      是否成功禁言用户: - true:是; - false:否
      返回:
      result
    • setResult

      public void setResult(Boolean result)
    • expire

      public EMMuteRoomMemberResource expire(BigDecimal expire)
    • getExpire

      @Nullable public BigDecimal getExpire()
      禁言到期时间,Unix 时间戳,单位为毫秒
      返回:
      expire
    • setExpire

      public void setExpire(BigDecimal expire)
    • user

      public EMMuteRoomMemberResource user(String user)
    • getUser

      @Nullable public String getUser()
      被禁言的用户 ID
      返回:
      user
    • setUser

      public void setUser(String user)
    • 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 EMMuteRoomMemberResource
    • fromJson

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

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