
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormNumericQuestionOption.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
* Information about the option range used for scoring in numeric questions.
* @property automaticFail The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
* @property maxValue The maximum answer value of the range option.
* @property minValue The minimum answer value of the range option.
* @property score The score assigned to answer values within the range option.
* *Minimum*: 0
* *Maximum*: 10
*/
public data class EvaluationFormNumericQuestionOption(
public val automaticFail: Boolean? = null,
public val maxValue: Int,
public val minValue: Int,
public val score: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.EvaluationFormNumericQuestionOption): EvaluationFormNumericQuestionOption = EvaluationFormNumericQuestionOption(
automaticFail = javaType.automaticFail().map({ args0 -> args0 }).orElse(null),
maxValue = javaType.maxValue(),
minValue = javaType.minValue(),
score = javaType.score().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy