com.pulumi.kubernetes.rbac.v1beta1.kotlin.outputs.RoleRefPatch.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.rbac.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* RoleRef contains information that points to the role being used
* @property apiGroup APIGroup is the group for the resource being referenced
* @property kind Kind is the type of resource being referenced
* @property name Name is the name of resource being referenced
*/
public data class RoleRefPatch(
public val apiGroup: String? = null,
public val kind: String? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.rbac.v1beta1.outputs.RoleRefPatch): RoleRefPatch = RoleRefPatch(
apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy