mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 12:27:47 +00:00
1.7 KiB
1.7 KiB
id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
| id | title | pagination_label | sidebar_label | sidebar_class_name | keywords | slug | tags | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| v2024-form-element | FormElement | FormElement | FormElement | pythonsdk |
|
/tools/sdk/python/v2024/models/form-element |
|
FormElement
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Form element identifier. | [optional] |
| element_type | Enum [ 'TEXT', 'TOGGLE', 'TEXTAREA', 'HIDDEN', 'PHONE', 'EMAIL', 'SELECT', 'DATE', 'SECTION', 'COLUMN_SET', 'IMAGE', 'DESCRIPTION' ] | FormElementType value. TEXT FormElementTypeText TOGGLE FormElementTypeToggle TEXTAREA FormElementTypeTextArea HIDDEN FormElementTypeHidden PHONE FormElementTypePhone EMAIL FormElementTypeEmail SELECT FormElementTypeSelect DATE FormElementTypeDate SECTION FormElementTypeSection COLUMN_SET FormElementTypeColumns IMAGE FormElementTypeImage DESCRIPTION FormElementTypeDescription | [optional] |
| config | map[string]object | Config object. | [optional] |
| key | str | Technical key. | [optional] |
| validations | []FormElementValidationsSet | [optional] | |
| } |
Example
from sailpoint.v2024.models.form_element import FormElement
form_element = FormElement(
id='00000000-0000-0000-0000-000000000000',
element_type='TEXT',
config={label=Department},
key='department',
validations=[
sailpoint.v2024.models.form_element_validations_set.FormElementValidationsSet(
validation_type = 'REQUIRED', )
]
)