case class LimitResponse(queuing: Optional[QueuingConfiguration] = Optional.Absent, type: String) extends Product with Serializable
LimitResponse defines how to handle requests that can not be executed right now.
- type
type
is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
- Alphabetic
- By Inheritance
- LimitResponse
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LimitResponse(queuing: Optional[QueuingConfiguration] = Optional.Absent, type: String)
- type
type
is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
Value Members
-
def
getQueuing: IO[K8sFailure, QueuingConfiguration]
Gets queuing.
Gets queuing.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getType: IO[K8sFailure, String]
type
is "Queue" or "Reject".type
is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.This effect always succeeds, it is safe to use the field type directly.
- val queuing: Optional[QueuingConfiguration]
- val type: String