com.pulumi.azurenative.logic.kotlin.outputs.RecurrenceScheduleOccurrenceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.logic.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* The recurrence schedule occurrence.
* @property day The day of the week.
* @property occurrence The occurrence.
*/
public data class RecurrenceScheduleOccurrenceResponse(
public val day: String? = null,
public val occurrence: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.logic.outputs.RecurrenceScheduleOccurrenceResponse): RecurrenceScheduleOccurrenceResponse = RecurrenceScheduleOccurrenceResponse(
day = javaType.day().map({ args0 -> args0 }).orElse(null),
occurrence = javaType.occurrence().map({ args0 -> args0 }).orElse(null),
)
}
}