mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 20:37:46 +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-condition | FormCondition | FormCondition | FormCondition | pythonsdk |
|
/tools/sdk/python/v2024/models/form-condition |
|
FormCondition
Represent a form conditional.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| rule_operator | Enum [ 'AND', 'OR' ] | ConditionRuleLogicalOperatorType value. AND ConditionRuleLogicalOperatorTypeAnd OR ConditionRuleLogicalOperatorTypeOr | [optional] |
| rules | []ConditionRule | List of rules. | [optional] |
| effects | []ConditionEffect | List of effects. | [optional] |
| } |
Example
from sailpoint.v2024.models.form_condition import FormCondition
form_condition = FormCondition(
rule_operator='AND',
rules=[
sailpoint.v2024.models.condition_rule.ConditionRule(
source_type = 'ELEMENT',
source = 'department',
operator = 'EQ',
value_type = 'STRING',
value = 'Engineering', )
],
effects=[
sailpoint.v2024.models.condition_effect.ConditionEffect(
effect_type = 'HIDE',
config = sailpoint.v2024.models.condition_effect_config.ConditionEffect_config(
default_value_label = 'Access to Remove',
element = '8110662963316867', ), )
]
)