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

com.pulumi.azurenative.workloads.kotlin.enums.MonthOfYear.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.workloads.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

public enum class MonthOfYear(
    public val javaValue: com.pulumi.azurenative.workloads.enums.MonthOfYear,
) : ConvertibleToJava {
    Invalid(com.pulumi.azurenative.workloads.enums.MonthOfYear.Invalid),
    January(com.pulumi.azurenative.workloads.enums.MonthOfYear.January),
    February(com.pulumi.azurenative.workloads.enums.MonthOfYear.February),
    March(com.pulumi.azurenative.workloads.enums.MonthOfYear.March),
    April(com.pulumi.azurenative.workloads.enums.MonthOfYear.April),
    May(com.pulumi.azurenative.workloads.enums.MonthOfYear.May),
    June(com.pulumi.azurenative.workloads.enums.MonthOfYear.June),
    July(com.pulumi.azurenative.workloads.enums.MonthOfYear.July),
    August(com.pulumi.azurenative.workloads.enums.MonthOfYear.August),
    September(com.pulumi.azurenative.workloads.enums.MonthOfYear.September),
    October(com.pulumi.azurenative.workloads.enums.MonthOfYear.October),
    November(com.pulumi.azurenative.workloads.enums.MonthOfYear.November),
    December(com.pulumi.azurenative.workloads.enums.MonthOfYear.December),
    ;

    override fun toJava(): com.pulumi.azurenative.workloads.enums.MonthOfYear = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy