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

com.pulumi.digitalocean.kotlin.outputs.MonitorAlertAlerts.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 MonitorAlertAlerts(
    public val emails: List? = null,
    public val slacks: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.MonitorAlertAlerts): MonitorAlertAlerts = MonitorAlertAlerts(
            emails = javaType.emails().map({ args0 -> args0 }),
            slacks = javaType.slacks().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.digitalocean.kotlin.outputs.MonitorAlertAlertsSlack.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy