com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs.ResourceClassParametersReferencePatch.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
* @property apiGroup APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
* @property kind Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.
* @property name Name is the name of resource being referenced.
* @property namespace Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
*/
public data class ResourceClassParametersReferencePatch(
public val apiGroup: String? = null,
public val kind: String? = null,
public val name: String? = null,
public val namespace: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha1.outputs.ResourceClassParametersReferencePatch): ResourceClassParametersReferencePatch = ResourceClassParametersReferencePatch(
apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy