com.pulumi.azurenative.workloads.kotlin.enums.WeekOfMonth.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.workloads.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
public enum class WeekOfMonth(
public val javaValue: com.pulumi.azurenative.workloads.enums.WeekOfMonth,
) : ConvertibleToJava {
First(com.pulumi.azurenative.workloads.enums.WeekOfMonth.First),
Second(com.pulumi.azurenative.workloads.enums.WeekOfMonth.Second),
Third(com.pulumi.azurenative.workloads.enums.WeekOfMonth.Third),
Fourth(com.pulumi.azurenative.workloads.enums.WeekOfMonth.Fourth),
Last(com.pulumi.azurenative.workloads.enums.WeekOfMonth.Last),
Invalid(com.pulumi.azurenative.workloads.enums.WeekOfMonth.Invalid),
;
override fun toJava(): com.pulumi.azurenative.workloads.enums.WeekOfMonth = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.workloads.enums.WeekOfMonth): WeekOfMonth =
WeekOfMonth.values().first { it.javaValue == javaType }
}
}