UsageFunction class
Usage Function
Constructors
-
UsageFunction.new({required String range, required int deploymentsTotal, required int deploymentsStorageTotal, required int buildsTotal, required int buildsStorageTotal, required int buildsTimeTotal, required int executionsTotal, required int executionsTimeTotal, required List<
Metric> deployments, required List<Metric> deploymentsStorage, required List<Metric> builds, required List<Metric> buildsStorage, required List<Metric> buildsTime, required List<Metric> executions, required List<Metric> executionsTime}) -
UsageFunction.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
builds
→ List<
Metric> -
Aggregated number of function builds per period.
final
-
buildsStorage
→ List<
Metric> -
Aggregated sum of function builds storage per period.
final
- buildsStorageTotal → int
-
total aggregated sum of function builds storage.
final
-
buildsTime
→ List<
Metric> -
Aggregated sum of function builds compute time per period.
final
- buildsTimeTotal → int
-
Total aggregated sum of function builds compute time.
final
- buildsTotal → int
-
Total aggregated number of function builds.
final
-
deployments
→ List<
Metric> -
Aggregated number of function deployments per period.
final
-
deploymentsStorage
→ List<
Metric> -
Aggregated number of function deployments storage per period.
final
- deploymentsStorageTotal → int
-
Total aggregated sum of function deployments storage.
final
- deploymentsTotal → int
-
Total aggregated number of function deployments.
final
-
executions
→ List<
Metric> -
Aggregated number of function executions per period.
final
-
executionsTime
→ List<
Metric> -
Aggregated number of function executions compute time per period.
final
- executionsTimeTotal → int
-
Total aggregated sum of function executions compute time.
final
- executionsTotal → int
-
Total aggregated number of function executions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- range → String
-
The time range of the usage stats.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited