![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.RotationShiftCoverage.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmcontacts.kotlin.outputs
import com.pulumi.awsnative.ssmcontacts.kotlin.enums.RotationDayOfWeek
import kotlin.Suppress
import kotlin.collections.List
/**
* Information about the days of the week included in on-call rotation coverage.
* @property coverageTimes Information about when an on-call shift begins and ends.
* @property dayOfWeek A list of days on which the schedule is active.
*/
public data class RotationShiftCoverage(
public val coverageTimes: List,
public val dayOfWeek: RotationDayOfWeek,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmcontacts.outputs.RotationShiftCoverage): RotationShiftCoverage = RotationShiftCoverage(
coverageTimes = javaType.coverageTimes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.RotationCoverageTime.Companion.toKotlin(args0)
})
}),
dayOfWeek = javaType.dayOfWeek().let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.enums.RotationDayOfWeek.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy