com.pulumi.azurenative.logic.kotlin.enums.X12DateFormat.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.logic.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The group header date format.
*/
public enum class X12DateFormat(
public val javaValue: com.pulumi.azurenative.logic.enums.X12DateFormat,
) : ConvertibleToJava {
NotSpecified(com.pulumi.azurenative.logic.enums.X12DateFormat.NotSpecified),
CCYYMMDD(com.pulumi.azurenative.logic.enums.X12DateFormat.CCYYMMDD),
YYMMDD(com.pulumi.azurenative.logic.enums.X12DateFormat.YYMMDD),
;
override fun toJava(): com.pulumi.azurenative.logic.enums.X12DateFormat = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.logic.enums.X12DateFormat): X12DateFormat =
X12DateFormat.values().first { it.javaValue == javaType }
}
}