Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data StringCondition Source #
A leaf node condition which can be used to specify a string condition.
The currently supported value for FieldName
: name
See: newStringCondition
smart constructor.
StringCondition' | |
|
Instances
newStringCondition :: StringCondition Source #
Create a value of StringCondition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comparisonType:StringCondition'
, stringCondition_comparisonType
- The type of comparison to be made when evaluating the string condition.
$sel:fieldName:StringCondition'
, stringCondition_fieldName
- The name of the field in the string condition.
$sel:value:StringCondition'
, stringCondition_value
- The value of the string.
stringCondition_comparisonType :: Lens' StringCondition (Maybe StringComparisonType) Source #
The type of comparison to be made when evaluating the string condition.
stringCondition_fieldName :: Lens' StringCondition (Maybe Text) Source #
The name of the field in the string condition.
stringCondition_value :: Lens' StringCondition (Maybe Text) Source #
The value of the string.