All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.logic.kotlin.enums.DayOfWeek.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.logic.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.logic.enums.DayOfWeek,
) : ConvertibleToJava {
    Sunday(com.pulumi.azurenative.logic.enums.DayOfWeek.Sunday),
    Monday(com.pulumi.azurenative.logic.enums.DayOfWeek.Monday),
    Tuesday(com.pulumi.azurenative.logic.enums.DayOfWeek.Tuesday),
    Wednesday(com.pulumi.azurenative.logic.enums.DayOfWeek.Wednesday),
    Thursday(com.pulumi.azurenative.logic.enums.DayOfWeek.Thursday),
    Friday(com.pulumi.azurenative.logic.enums.DayOfWeek.Friday),
    Saturday(com.pulumi.azurenative.logic.enums.DayOfWeek.Saturday),
    ;

    override fun toJava(): com.pulumi.azurenative.logic.enums.DayOfWeek = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.logic.enums.DayOfWeek): DayOfWeek =
            DayOfWeek.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy