BotConditionalSpecificationArgs

data class BotConditionalSpecificationArgs(val conditionalBranches: Output<List<BotConditionalBranchArgs>>, val defaultBranch: Output<BotDefaultConditionalBranchArgs>, val isActive: Output<Boolean>) : ConvertibleToJava<BotConditionalSpecificationArgs>

Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

Constructors

Link copied to clipboard
constructor(conditionalBranches: Output<List<BotConditionalBranchArgs>>, defaultBranch: Output<BotDefaultConditionalBranchArgs>, isActive: Output<Boolean>)

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
val isActive: Output<Boolean>

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

Functions

Link copied to clipboard
open override fun toJava(): BotConditionalSpecificationArgs