UsageFunctions class
Usage Functions
Constructors
-
UsageFunctions.new({required String range, required int functionsTotal, required int deploymentsTotal, required int deploymentsStorageTotal, required int buildsTotal, required int buildsStorageTotal, required int buildsTimeTotal, required int executionsTotal, required int executionsTimeTotal, required List<
Metric> functions, 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}) -
UsageFunctions.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
builds
→ List<
Metric> -
Aggregated number of functions build per period.
final
-
buildsStorage
→ List<
Metric> -
Aggregated sum of functions build storage per period.
final
- buildsStorageTotal → int
-
total aggregated sum of functions build storage.
final
-
buildsTime
→ List<
Metric> -
Aggregated sum of functions build compute time per period.
final
- buildsTimeTotal → int
-
Total aggregated sum of functions build compute time.
final
- buildsTotal → int
-
Total aggregated number of functions build.
final
-
deployments
→ List<
Metric> -
Aggregated number of functions deployment per period.
final
-
deploymentsStorage
→ List<
Metric> -
Aggregated number of functions deployment storage per period.
final
- deploymentsStorageTotal → int
-
Total aggregated sum of functions deployment storage.
final
- deploymentsTotal → int
-
Total aggregated number of functions deployments.
final
-
executions
→ List<
Metric> -
Aggregated number of functions execution per period.
final
-
executionsTime
→ List<
Metric> -
Aggregated number of functions execution compute time per period.
final
- executionsTimeTotal → int
-
Total aggregated sum of functions execution compute time.
final
- executionsTotal → int
-
Total aggregated number of functions execution.
final
-
functions
→ List<
Metric> -
Aggregated number of functions per period.
final
- functionsTotal → int
-
Total aggregated number of functions.
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
-
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