Skip to content

ConditionalSpecification

Source code in docs_src/capo_lex_models_v2/types/conditional_specification.py
class ConditionalSpecification(TypedDict, closed=True):
    active: "capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"
    """<p>Determines whether a conditional branch is active. When <code>active</code> is false, the conditions are not evaluated.</p>"""
    conditional_branches: (
        "capo_lex_models_v2.types.conditional_branches.ConditionalBranches"
    )
    """<p>A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.</p>"""
    default_branch: (
        "capo_lex_models_v2.types.default_conditional_branch.DefaultConditionalBranch"
    )
    """<p>The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.</p>"""

active instance-attribute

active: BoxedBoolean

Determines whether a conditional branch is active. When active is false, the conditions are not evaluated.

conditional_branches instance-attribute

conditional_branches: ConditionalBranches

A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.

default_branch instance-attribute

default_branch: DefaultConditionalBranch

The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.