PriorityLevelConfigurationSpec class

PriorityLevelConfigurationSpec specifies the configuration of a priority level.

Constructors

PriorityLevelConfigurationSpec({LimitedPriorityLevelConfiguration? limited, required String type})
Default constructor.
const
PriorityLevelConfigurationSpec.fromJson(Map<String, dynamic> json)
Creates a PriorityLevelConfigurationSpec from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
limited LimitedPriorityLevelConfiguration?
limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is "Limited".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
type indicates whether this priority level is subject to limitation on request execution. A value of "Exempt" means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of "Limited" means that (a) requests of this priority level are subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a PriorityLevelConfigurationSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited