com.pulumi.kubernetes.admissionregistration.v1.kotlin.outputs.ExpressionWarning.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.admissionregistration.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ExpressionWarning is a warning information that targets a specific expression.
* @property fieldRef The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
* @property warning The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
*/
public data class ExpressionWarning(
public val fieldRef: String,
public val warning: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1.outputs.ExpressionWarning): ExpressionWarning = ExpressionWarning(
fieldRef = javaType.fieldRef(),
warning = javaType.warning(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy