![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.customerinsights.kotlin.outputs.PredictionResponseGrades.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.customerinsights.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* The definition of a prediction grade.
* @property gradeName Name of the grade.
* @property maxScoreThreshold Maximum score threshold.
* @property minScoreThreshold Minimum score threshold.
*/
public data class PredictionResponseGrades(
public val gradeName: String? = null,
public val maxScoreThreshold: Int? = null,
public val minScoreThreshold: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.customerinsights.outputs.PredictionResponseGrades): PredictionResponseGrades = PredictionResponseGrades(
gradeName = javaType.gradeName().map({ args0 -> args0 }).orElse(null),
maxScoreThreshold = javaType.maxScoreThreshold().map({ args0 -> args0 }).orElse(null),
minScoreThreshold = javaType.minScoreThreshold().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy