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 TemplateInput Source #
The input parameters of a template.
See: newTemplateInput
smart constructor.
Instances
newTemplateInput :: TemplateInput Source #
Create a value of TemplateInput
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:dataType:TemplateInput'
, templateInput_dataType
- The data type of the template input.
$sel:inputName:TemplateInput'
, templateInput_inputName
- The name of the template.
$sel:required:TemplateInput'
, templateInput_required
- Determine if an input is required from the template.
templateInput_dataType :: Lens' TemplateInput (Maybe DataType) Source #
The data type of the template input.
templateInput_inputName :: Lens' TemplateInput (Maybe Text) Source #
The name of the template.
templateInput_required :: Lens' TemplateInput (Maybe Bool) Source #
Determine if an input is required from the template.