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