FieldSelectorRequirement class
FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.
Constructors
-
FieldSelectorRequirement({required Input<
String> key, required Input<String> operator, Input<List< ? values})String> > -
Creates a new FieldSelectorRequirement.
keykey is the field selector key that the requirement applies to.operatoroperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.valuesvalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.const -
FieldSelectorRequirement.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> -
key is the field selector key that the requirement applies to.
final
-
operator
→ Input<
String> -
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Input<
List< ?String> > -
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.
final
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