com.pulumi.kubernetes.apiextensions.v1.kotlin.outputs.CustomResourceValidation.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.apiextensions.v1.kotlin.outputs
import kotlin.Suppress
/**
* CustomResourceValidation is a list of validation methods for CustomResources.
* @property openAPIV3Schema openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.
*/
public data class CustomResourceValidation(
public val openAPIV3Schema: JSONSchemaProps? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.apiextensions.v1.outputs.CustomResourceValidation): CustomResourceValidation = CustomResourceValidation(
openAPIV3Schema = javaType.openAPIV3Schema().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.apiextensions.v1.kotlin.outputs.JSONSchemaProps.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy