com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormItem.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import kotlin.Suppress
/**
* Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* @property question The information of the question.
* @property section The information of the section.
*/
public data class EvaluationFormItem(
public val question: EvaluationFormQuestion? = null,
public val section: EvaluationFormSection? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.EvaluationFormItem): EvaluationFormItem = EvaluationFormItem(
question = javaType.question().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormQuestion.Companion.toKotlin(args0)
})
}).orElse(null),
section = javaType.section().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormSection.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}