
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormSingleSelectQuestionAutomation.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
* @property defaultOptionRefId The identifier of the default answer option, when none of the automation options match the criteria.
* *Length Constraints*: Minimum length of 1. Maximum length of 40.
* @property options The automation options of the single select question.
* *Minimum*: 1
* *Maximum*: 20
*/
public data class EvaluationFormSingleSelectQuestionAutomation(
public val defaultOptionRefId: String? = null,
public val options: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.EvaluationFormSingleSelectQuestionAutomation): EvaluationFormSingleSelectQuestionAutomation = EvaluationFormSingleSelectQuestionAutomation(
defaultOptionRefId = javaType.defaultOptionRefId().map({ args0 -> args0 }).orElse(null),
options = javaType.options().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormSingleSelectQuestionAutomationOption.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy