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

com.pulumi.kubernetes.admissionregistration.v1beta1.kotlin.outputs.ValidatingAdmissionPolicyStatusPatch.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.v1beta1.kotlin.outputs

import com.pulumi.kubernetes.meta.v1.kotlin.outputs.ConditionPatch
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 * ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
 * @property conditions The conditions represent the latest available observations of a policy's current state.
 * @property observedGeneration The generation observed by the controller.
 * @property typeChecking The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
 */
public data class ValidatingAdmissionPolicyStatusPatch(
    public val conditions: List? = null,
    public val observedGeneration: Int? = null,
    public val typeChecking: TypeCheckingPatch? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1beta1.outputs.ValidatingAdmissionPolicyStatusPatch): ValidatingAdmissionPolicyStatusPatch = ValidatingAdmissionPolicyStatusPatch(
            conditions = javaType.conditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.meta.v1.kotlin.outputs.ConditionPatch.Companion.toKotlin(args0)
                })
            }),
            observedGeneration = javaType.observedGeneration().map({ args0 -> args0 }).orElse(null),
            typeChecking = javaType.typeChecking().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.admissionregistration.v1beta1.kotlin.outputs.TypeCheckingPatch.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy