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

com.pulumi.azurenative.edgeorder.kotlin.outputs.ContactDetailsResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.edgeorder.kotlin.outputs

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

/**
 * Contact Details.
 * @property contactName Contact name of the person.
 * @property emailList List of Email-ids to be notified about job progress.
 * @property mobile Mobile number of the contact person.
 * @property phone Phone number of the contact person.
 * @property phoneExtension Phone extension number of the contact person.
 */
public data class ContactDetailsResponse(
    public val contactName: String,
    public val emailList: List,
    public val mobile: String? = null,
    public val phone: String,
    public val phoneExtension: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.edgeorder.outputs.ContactDetailsResponse): ContactDetailsResponse = ContactDetailsResponse(
            contactName = javaType.contactName(),
            emailList = javaType.emailList().map({ args0 -> args0 }),
            mobile = javaType.mobile().map({ args0 -> args0 }).orElse(null),
            phone = javaType.phone(),
            phoneExtension = javaType.phoneExtension().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy