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

com.pulumi.digitalocean.kotlin.outputs.UptimeAlertNotification.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property emails List of email addresses to sent notifications to.
 * @property slacks
 */
public data class UptimeAlertNotification(
    public val emails: List? = null,
    public val slacks: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.UptimeAlertNotification): UptimeAlertNotification = UptimeAlertNotification(
            emails = javaType.emails().map({ args0 -> args0 }),
            slacks = javaType.slacks().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.UptimeAlertNotificationSlack.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy