Package com.exoscale.sdk.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this rate-limited object is equal to o.getError()The error messageThe time in seconds to wait before the next requestinthashCode()retryAfter(BigDecimal retryAfter) voidvoidsetRetryAfter(BigDecimal retryAfter) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_RETRY_AFTER
- See Also:
-
-
Constructor Details
-
RateLimited
public RateLimited()
-
-
Method Details
-
error
-
getError
The error message- Returns:
- error
-
setError
-
retryAfter
-
getRetryAfter
The time in seconds to wait before the next request- Returns:
- retryAfter
-
setRetryAfter
-
equals
Return true if this rate-limited object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-