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

com.pulumi.azure.datadog.kotlin.outputs.MonitorUser.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datadog.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property email Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.
 * @property name The name which should be used for this user_info. Changing this forces a new resource to be created.
 * @property phoneNumber Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.
 */
public data class MonitorUser(
    public val email: String,
    public val name: String,
    public val phoneNumber: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.datadog.outputs.MonitorUser): MonitorUser =
            MonitorUser(
                email = javaType.email(),
                name = javaType.name(),
                phoneNumber = javaType.phoneNumber().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy