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 FieldOption = FieldOption' {}
- newFieldOption :: Bool -> Text -> Text -> FieldOption
- fieldOption_active :: Lens' FieldOption Bool
- fieldOption_name :: Lens' FieldOption Text
- fieldOption_value :: Lens' FieldOption Text
Documentation
data FieldOption Source #
Object for field Options information.
See: newFieldOption
smart constructor.
Instances
:: Bool | |
-> Text | |
-> Text | |
-> FieldOption |
Create a value of FieldOption
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:active:FieldOption'
, fieldOption_active
- Describes whether the FieldOption
is active (displayed) or inactive.
$sel:name:FieldOption'
, fieldOption_name
- FieldOptionName
has max length 100 and disallows trailing spaces.
$sel:value:FieldOption'
, fieldOption_value
- FieldOptionValue
has max length 100 and must be alphanumeric with
hyphens and underscores.
fieldOption_active :: Lens' FieldOption Bool Source #
Describes whether the FieldOption
is active (displayed) or inactive.
fieldOption_name :: Lens' FieldOption Text Source #
FieldOptionName
has max length 100 and disallows trailing spaces.
fieldOption_value :: Lens' FieldOption Text Source #
FieldOptionValue
has max length 100 and must be alphanumeric with
hyphens and underscores.