V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional constructor

const V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional({
  1. required Input<bool> active,
  2. Input<List<V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch>?>? conditionalBranches,
  3. Input<V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch?>? defaultBranch,
})

Creates a new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional. active Whether a conditional branch is active. When active is false, the conditions are not evaluated. conditionalBranches Configuration blocks for 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. See conditionalBranch. defaultBranch Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.

Implementation

const V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional({
  required this.active,
  this.conditionalBranches,
  this.defaultBranch,
});