com.pulumi.kubernetes.admissionregistration.v1.kotlin.outputs.ParamKindPatch.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.admissionregistration.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ParamKind is a tuple of Group Kind and Version.
* @property apiVersion APIVersion is the API group version the resources belong to. In format of "group/version". Required.
* @property kind Kind is the API kind the resources belong to. Required.
*/
public data class ParamKindPatch(
public val apiVersion: String? = null,
public val kind: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1.outputs.ParamKindPatch): ParamKindPatch = ParamKindPatch(
apiVersion = javaType.apiVersion().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy