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