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