ObjectMetricStatus class

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Constructors

ObjectMetricStatus({required MetricValueStatus current, required CrossVersionObjectReference describedObject, required MetricIdentifier metric})
The main constructor.
const
ObjectMetricStatus.fromJson(Map<String, dynamic> json)
Creates a ObjectMetricStatus from JSON data.

Properties

current MetricValueStatus
Current contains the current value for the given metric.
final
describedObject CrossVersionObjectReference
DescribedObject specifies the descriptions of a object,such as kind,name apiVersion.
final
hashCode int
The hash code for this object.
no setterinherited
metric MetricIdentifier
Metric identifies the target metric by name and selector.
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, Object>
Converts a ObjectMetricStatus 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<String, dynamic>> list) List<ObjectMetricStatus>
Creates a list of ObjectMetricStatus from JSON data.