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 |
Synopsis
- data FilterExpression = FilterExpression' {
- negated :: Maybe Bool
- operation :: FilterOperation
- values :: [FilterValue]
- newFilterExpression :: FilterOperation -> FilterExpression
- filterExpression_negated :: Lens' FilterExpression (Maybe Bool)
- filterExpression_operation :: Lens' FilterExpression FilterOperation
- filterExpression_values :: Lens' FilterExpression [FilterValue]
Documentation
data FilterExpression Source #
Specifies a filter expression.
See: newFilterExpression
smart constructor.
FilterExpression' | |
|
Instances
Create a value of FilterExpression
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:negated:FilterExpression'
, filterExpression_negated
- Whether the expression is to be negated.
$sel:operation:FilterExpression'
, filterExpression_operation
- The type of operation to perform in the expression.
$sel:values:FilterExpression'
, filterExpression_values
- A list of filter values.
filterExpression_negated :: Lens' FilterExpression (Maybe Bool) Source #
Whether the expression is to be negated.
filterExpression_operation :: Lens' FilterExpression FilterOperation Source #
The type of operation to perform in the expression.
filterExpression_values :: Lens' FilterExpression [FilterValue] Source #
A list of filter values.