Class RateLimited

java.lang.Object
com.exoscale.sdk.model.RateLimited

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class RateLimited extends Object
Rate Limit
  • Field Details

  • Constructor Details

    • RateLimited

      public RateLimited()
  • Method Details

    • error

      public RateLimited error(String error)
    • getError

      @Nullable public String getError()
      The error message
      Returns:
      error
    • setError

      public void setError(String error)
    • retryAfter

      public RateLimited retryAfter(BigDecimal retryAfter)
    • getRetryAfter

      @Nullable public BigDecimal getRetryAfter()
      The time in seconds to wait before the next request
      Returns:
      retryAfter
    • setRetryAfter

      public void setRetryAfter(BigDecimal retryAfter)
    • equals

      public boolean equals(Object o)
      Return true if this rate-limited object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string