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

com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs.ExpressionWarningPatch.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.

The 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 ExpressionWarningPatch(
    public val fieldRef: String? = null,
    public val warning: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1alpha1.outputs.ExpressionWarningPatch): ExpressionWarningPatch = ExpressionWarningPatch(
            fieldRef = javaType.fieldRef().map({ args0 -> args0 }).orElse(null),
            warning = javaType.warning().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy