MetricValueStatus class
MetricValueStatus holds the current value for a metric.
Constructors
- MetricValueStatus({int? averageUtilization, String? averageValue, String? value})
-
Default constructor.
const
-
MetricValueStatus.fromJson(Map<
String, dynamic> json) -
Creates a MetricValueStatus from JSON data.
factory
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