MetricValueStatus class
MetricValueStatus holds the current value for a metric.
Constructors
- MetricValueStatus({int? averageUtilization, String? averageValue, String? value})
-
The main constructor.
const
-
MetricValueStatus.fromJson(Map<
String, dynamic> json) - Creates a MetricValueStatus from JSON data.
Properties
- averageUtilization → int?
-
CurrentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
final
- averageValue → String?
-
AverageValue is the current value of the average of the metric across all relevant pods (as a quantity).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String?
-
Value is the current value of the metric (as a quantity).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a MetricValueStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
Iterable< Map< list) → List<String, dynamic> >MetricValueStatus> - Creates a list of MetricValueStatus from JSON data.