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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.outputs

import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 * Information about properties for a numeric question in an evaluation form.
 * @property automation The automation properties of the numeric question.
 * @property maxValue The maximum answer value.
 * @property minValue The minimum answer value.
 * @property options The scoring options of the numeric question.
 */
public data class EvaluationFormNumericQuestionProperties(
    public val automation: EvaluationFormNumericQuestionAutomation? = null,
    public val maxValue: Int,
    public val minValue: Int,
    public val options: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.EvaluationFormNumericQuestionProperties): EvaluationFormNumericQuestionProperties = EvaluationFormNumericQuestionProperties(
            automation = javaType.automation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormNumericQuestionAutomation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maxValue = javaType.maxValue(),
            minValue = javaType.minValue(),
            options = javaType.options().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormNumericQuestionOption.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy