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

com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs.ExpressionWarning.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.admissionregistration.v1alpha1.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.v1alpha1.outputs.ExpressionWarning): ExpressionWarning = ExpressionWarning(
            fieldRef = javaType.fieldRef(),
            warning = javaType.warning(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy