O11yO11yReductionRuleCreateIn class
Constructors
-
O11yO11yReductionRuleCreateIn({List<
String> labels = const [], required String matchType, required String metricName}) - Returns a new O11yO11yReductionRuleCreateIn instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
labels
↔ List<
String> -
Labels are the label names the rule matches. Required, at least one.
getter/setter pair
- matchType ↔ String
-
MatchType is drop or keep: drop the named labels, or keep only them. Required.
getter/setter pair
- metricName ↔ String
-
MetricName is the metric the rule governs; one rule per metric. Required.
getter/setter pair
- 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, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → O11yO11yReductionRuleCreateIn? -
Returns a new O11yO11yReductionRuleCreateIn instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< O11yO11yReductionRuleCreateIn> -
mapFromJson(
dynamic json) → Map< String, O11yO11yReductionRuleCreateIn> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< O11yO11yReductionRuleCreateIn> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.