LimitResponse class
LimitResponse defines how to handle requests that can not be executed right now.
Constructors
- LimitResponse({QueuingConfiguration? queuing, required String type})
-
Default constructor.
const
-
LimitResponse.fromJson(Map<
String, dynamic> json) -
Creates a LimitResponse from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- queuing → QueuingConfiguration?
-
queuing
holds the configuration parameters for queuing. This field may be non-empty only iftype
is"Queue"
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
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.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a LimitResponse instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited