MetricValue class

The value to be compared with the metric.

Constructors

MetricValue({List<String>? cidrs, int? count, double? number, List<double>? numbers, List<int>? ports, List<String>? strings})
MetricValue.fromJson(Map<String, dynamic> json)
factory

Properties

cidrs List<String>?
If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
final
count int?
If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.
final
hashCode int
The hash code for this object.
no setterinherited
number double?
The numeral value of a metric.
final
numbers List<double>?
The numeral values of a metric.
final
ports List<int>?
If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings List<String>?
The string values of a metric.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited