com.pulumi.azurenative.eventhub.kotlin.enums.AccessRights.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
public enum class AccessRights(
public val javaValue: com.pulumi.azurenative.eventhub.enums.AccessRights,
) : ConvertibleToJava {
Manage(com.pulumi.azurenative.eventhub.enums.AccessRights.Manage),
Send(com.pulumi.azurenative.eventhub.enums.AccessRights.Send),
Listen(com.pulumi.azurenative.eventhub.enums.AccessRights.Listen),
;
override fun toJava(): com.pulumi.azurenative.eventhub.enums.AccessRights = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.eventhub.enums.AccessRights): AccessRights = AccessRights.values().first { it.javaValue == javaType }
}
}