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

com.pulumi.kubernetes.admissionregistration.v1.kotlin.outputs.ValidatingAdmissionPolicyStatus.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.v1.kotlin.outputs

import com.pulumi.kubernetes.meta.v1.kotlin.outputs.Condition
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 ValidatingAdmissionPolicyStatus(
    public val conditions: List? = null,
    public val observedGeneration: Int? = null,
    public val typeChecking: TypeChecking? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1.outputs.ValidatingAdmissionPolicyStatus): ValidatingAdmissionPolicyStatus = ValidatingAdmissionPolicyStatus(
            conditions = javaType.conditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.meta.v1.kotlin.outputs.Condition.Companion.toKotlin(args0)
                })
            }),
            observedGeneration = javaType.observedGeneration().map({ args0 -> args0 }).orElse(null),
            typeChecking = javaType.typeChecking().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.admissionregistration.v1.kotlin.outputs.TypeChecking.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy