UsagePlanApiStageThrottle

data class UsagePlanApiStageThrottle(val burstLimit: Int? = null, val path: String, val rateLimit: Double? = null)

Constructors

Link copied to clipboard
constructor(burstLimit: Int? = null, path: String, rateLimit: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val burstLimit: Int? = null

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

Link copied to clipboard

Method to apply the throttle settings for. Specfiy the path and method, for example /test/GET.

Link copied to clipboard
val rateLimit: Double? = null

The API request steady-state rate limit.