ConditionalBehavior
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/conditional_behavior.py
default_behavior
instance-attribute
¶
default_behavior: ConditionalFieldBehavior
The field behavior that applies when no conditional rule in Rules matches. Valid values are REQUIRED, OPTIONAL, and DISALLOWED.
rules
instance-attribute
¶
rules: ConditionalRuleList
An ordered list of conditional rules. Rules are evaluated top-to-bottom and the first rule whose conditions all evaluate to true determines the field's behavior. Rules whose conditions do not all match are skipped and evaluation continues to the next rule.