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

com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormSingleSelectQuestionOption.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * Information about the automation configuration in single select 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 refId The identifier of the answer option. An identifier must be unique within the question.
 *   *Length Constraints*: Minimum length of 1. Maximum length of 40.
 * @property score The score assigned to the answer option.
 *   *Minimum*: 0
 *   *Maximum*: 10
 * @property text The title of the answer option.
 *   *Length Constraints*: Minimum length of 1. Maximum length of 128.
 */
public data class EvaluationFormSingleSelectQuestionOption(
    public val automaticFail: Boolean? = null,
    public val refId: String,
    public val score: Int? = null,
    public val text: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.EvaluationFormSingleSelectQuestionOption): EvaluationFormSingleSelectQuestionOption = EvaluationFormSingleSelectQuestionOption(
            automaticFail = javaType.automaticFail().map({ args0 -> args0 }).orElse(null),
            refId = javaType.refId(),
            score = javaType.score().map({ args0 -> args0 }).orElse(null),
            text = javaType.text(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy