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 FieldTypeDetails = FieldTypeDetails' {}
- newFieldTypeDetails :: Text -> FieldTypeDetails
- fieldTypeDetails_fieldLengthRange :: Lens' FieldTypeDetails (Maybe Range)
- fieldTypeDetails_fieldValueRange :: Lens' FieldTypeDetails (Maybe Range)
- fieldTypeDetails_supportedDateFormat :: Lens' FieldTypeDetails (Maybe Text)
- fieldTypeDetails_supportedValues :: Lens' FieldTypeDetails (Maybe [Text])
- fieldTypeDetails_valueRegexPattern :: Lens' FieldTypeDetails (Maybe Text)
- fieldTypeDetails_fieldType :: Lens' FieldTypeDetails Text
- fieldTypeDetails_filterOperators :: Lens' FieldTypeDetails [Operator]
Documentation
data FieldTypeDetails Source #
Contains details regarding the supported field type and the operators that can be applied for filtering.
See: newFieldTypeDetails
smart constructor.
FieldTypeDetails' | |
|
Instances
Create a value of FieldTypeDetails
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:fieldLengthRange:FieldTypeDetails'
, fieldTypeDetails_fieldLengthRange
- This is the allowable length range for this field's value.
$sel:fieldValueRange:FieldTypeDetails'
, fieldTypeDetails_fieldValueRange
- The range of values this field can hold.
$sel:supportedDateFormat:FieldTypeDetails'
, fieldTypeDetails_supportedDateFormat
- The date format that the field supports.
$sel:supportedValues:FieldTypeDetails'
, fieldTypeDetails_supportedValues
- The list of values that a field can contain. For example, a Boolean
fieldType
can have two values: "true" and "false".
$sel:valueRegexPattern:FieldTypeDetails'
, fieldTypeDetails_valueRegexPattern
- The regular expression pattern for the field name.
$sel:fieldType:FieldTypeDetails'
, fieldTypeDetails_fieldType
- The type of field, such as string, integer, date, and so on.
$sel:filterOperators:FieldTypeDetails'
, fieldTypeDetails_filterOperators
- The list of operators supported by a field.
fieldTypeDetails_fieldLengthRange :: Lens' FieldTypeDetails (Maybe Range) Source #
This is the allowable length range for this field's value.
fieldTypeDetails_fieldValueRange :: Lens' FieldTypeDetails (Maybe Range) Source #
The range of values this field can hold.
fieldTypeDetails_supportedDateFormat :: Lens' FieldTypeDetails (Maybe Text) Source #
The date format that the field supports.
fieldTypeDetails_supportedValues :: Lens' FieldTypeDetails (Maybe [Text]) Source #
The list of values that a field can contain. For example, a Boolean
fieldType
can have two values: "true" and "false".
fieldTypeDetails_valueRegexPattern :: Lens' FieldTypeDetails (Maybe Text) Source #
The regular expression pattern for the field name.
fieldTypeDetails_fieldType :: Lens' FieldTypeDetails Text Source #
The type of field, such as string, integer, date, and so on.
fieldTypeDetails_filterOperators :: Lens' FieldTypeDetails [Operator] Source #
The list of operators supported by a field.