com.pulumi.azurenative.portal.kotlin.enums.FontStyle.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.portal.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Style of terminal font.
*/
public enum class FontStyle(
public val javaValue: com.pulumi.azurenative.portal.enums.FontStyle,
) : ConvertibleToJava {
NotSpecified(com.pulumi.azurenative.portal.enums.FontStyle.NotSpecified),
Monospace(com.pulumi.azurenative.portal.enums.FontStyle.Monospace),
Courier(com.pulumi.azurenative.portal.enums.FontStyle.Courier),
;
override fun toJava(): com.pulumi.azurenative.portal.enums.FontStyle = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.portal.enums.FontStyle): FontStyle =
FontStyle.values().first { it.javaValue == javaType }
}
}