QuotaSettings class
Quotas configured for a usage plan.
Constructors
- QuotaSettings({int? limit, int? offset, QuotaPeriodType? period})
-
QuotaSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int?
-
The maximum number of requests that can be made in a given time period.
final
- offset → int?
-
The day that a time period starts. For example, with a time period of
WEEK
, an offset of0
starts on Sunday, and an offset of1
starts on Monday.final - period → QuotaPeriodType?
-
The time period in which the limit applies. Valid values are "DAY", "WEEK"
or "MONTH".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited