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