Class RateLimitDTO
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.serialization.model.RateLimitDTO
public class RateLimitDTO
extends ObjectWithReflectiveEqualsHashCodeToString
implements DTO<RateLimit>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBurst()getLimit()getName()setAlgorithm(RateLimit.Algorithm algorithm) setErrorStatus(Integer errorStatus) setRefillPerSecond(Double refillPerSecond) setRetryAfter(String retryAfter) setWindowMillis(Long windowMillis) Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
-
Constructor Details
-
RateLimitDTO
-
RateLimitDTO
public RateLimitDTO()
-
-
Method Details
-
buildObject
- Specified by:
buildObjectin interfaceDTO<RateLimit>
-
getName
-
setName
-
getAlgorithm
-
setAlgorithm
-
getLimit
-
setLimit
-
getWindowMillis
-
setWindowMillis
-
getBurst
-
setBurst
-
getRefillPerSecond
-
setRefillPerSecond
-
getErrorStatus
-
setErrorStatus
-
getRetryAfter
-
setRetryAfter
-