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 UpdateFormData = UpdateFormData' {}
- newUpdateFormData :: UpdateFormData
- updateFormData_cta :: Lens' UpdateFormData (Maybe FormCTA)
- updateFormData_dataType :: Lens' UpdateFormData (Maybe FormDataTypeConfig)
- updateFormData_fields :: Lens' UpdateFormData (Maybe (HashMap Text FieldConfig))
- updateFormData_formActionType :: Lens' UpdateFormData (Maybe FormActionType)
- updateFormData_name :: Lens' UpdateFormData (Maybe Text)
- updateFormData_schemaVersion :: Lens' UpdateFormData (Maybe Text)
- updateFormData_sectionalElements :: Lens' UpdateFormData (Maybe (HashMap Text SectionalElement))
- updateFormData_style :: Lens' UpdateFormData (Maybe FormStyle)
Documentation
data UpdateFormData Source #
Updates and saves all of the information about a form, based on form ID.
See: newUpdateFormData
smart constructor.
UpdateFormData' | |
|
Instances
newUpdateFormData :: UpdateFormData Source #
Create a value of UpdateFormData
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:cta:UpdateFormData'
, updateFormData_cta
- The FormCTA
object that stores the call to action configuration for
the form.
$sel:dataType:UpdateFormData'
, updateFormData_dataType
- The type of data source to use to create the form.
$sel:fields:UpdateFormData'
, updateFormData_fields
- The configuration information for the form's fields.
$sel:formActionType:UpdateFormData'
, updateFormData_formActionType
- Specifies whether to perform a create or update action on the form.
$sel:name:UpdateFormData'
, updateFormData_name
- The name of the form.
$sel:schemaVersion:UpdateFormData'
, updateFormData_schemaVersion
- The schema version of the form.
$sel:sectionalElements:UpdateFormData'
, updateFormData_sectionalElements
- The configuration information for the visual helper elements for the
form. These elements are not associated with any data.
$sel:style:UpdateFormData'
, updateFormData_style
- The configuration for the form's style.
updateFormData_cta :: Lens' UpdateFormData (Maybe FormCTA) Source #
The FormCTA
object that stores the call to action configuration for
the form.
updateFormData_dataType :: Lens' UpdateFormData (Maybe FormDataTypeConfig) Source #
The type of data source to use to create the form.
updateFormData_fields :: Lens' UpdateFormData (Maybe (HashMap Text FieldConfig)) Source #
The configuration information for the form's fields.
updateFormData_formActionType :: Lens' UpdateFormData (Maybe FormActionType) Source #
Specifies whether to perform a create or update action on the form.
updateFormData_name :: Lens' UpdateFormData (Maybe Text) Source #
The name of the form.
updateFormData_schemaVersion :: Lens' UpdateFormData (Maybe Text) Source #
The schema version of the form.
updateFormData_sectionalElements :: Lens' UpdateFormData (Maybe (HashMap Text SectionalElement)) Source #
The configuration information for the visual helper elements for the form. These elements are not associated with any data.
updateFormData_style :: Lens' UpdateFormData (Maybe FormStyle) Source #
The configuration for the form's style.