com.pulumi.digitalocean.kotlin.outputs.UptimeAlertNotificationSlack.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property channel The Slack channel to send alerts to.
* @property url The webhook URL for Slack.
*/
public data class UptimeAlertNotificationSlack(
public val channel: String,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.UptimeAlertNotificationSlack): UptimeAlertNotificationSlack = UptimeAlertNotificationSlack(
channel = javaType.channel(),
url = javaType.url(),
)
}
}