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