CardinalityResponse class
A Cardinality condition for the Waiter resource. A cardinality condition is met when the number of variables under a specified path prefix reaches a predefined number. For example, if you set a Cardinality condition where the path is set to /foo and the number of paths is set to 2, the following variables would meet the condition in a RuntimeConfig resource: + /foo/variable1 = "value1" + /foo/variable2 = "value2" + /bar/variable3 = "value3" It would not satisfy the same condition with the number set to 3, however, because there is only 2 paths that start with /foo. Cardinality conditions are recursive; all subtrees under the specific path prefix are counted.
Constructors
-
CardinalityResponse({required Input<
int> number, required Input<String> path}) -
Creates a new CardinalityResponse.
numberThe number variables under thepaththat must exist to meet this condition. Defaults to 1 if not specified.pathThe root of the variable subtree to monitor. For example,/foo.const -
CardinalityResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
number
→ Input<
int> -
The number variables under the
paththat must exist to meet this condition. Defaults to 1 if not specified.final -
path
→ Input<
String> -
The root of the variable subtree to monitor. For example,
/foo.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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited