com.pulumi.azurenative.sql.kotlin.enums.DayOfWeek.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.sql.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Stop day.
*/
public enum class DayOfWeek(
public val javaValue: com.pulumi.azurenative.sql.enums.DayOfWeek,
) : ConvertibleToJava {
Sunday(com.pulumi.azurenative.sql.enums.DayOfWeek.Sunday),
Monday(com.pulumi.azurenative.sql.enums.DayOfWeek.Monday),
Tuesday(com.pulumi.azurenative.sql.enums.DayOfWeek.Tuesday),
Wednesday(com.pulumi.azurenative.sql.enums.DayOfWeek.Wednesday),
Thursday(com.pulumi.azurenative.sql.enums.DayOfWeek.Thursday),
Friday(com.pulumi.azurenative.sql.enums.DayOfWeek.Friday),
Saturday(com.pulumi.azurenative.sql.enums.DayOfWeek.Saturday),
;
override fun toJava(): com.pulumi.azurenative.sql.enums.DayOfWeek = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.sql.enums.DayOfWeek): DayOfWeek =
DayOfWeek.values().first { it.javaValue == javaType }
}
}