All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormItem.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy