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

com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationContactSettingsAdminContact.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.clouddomains.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property email Required. Email address of the contact.
 * @property faxNumber Fax number of the contact in international format. For example, "+1-800-555-0123".
 * @property phoneNumber Required. Phone number of the contact in international format. For example, "+1-800-555-0123".
 * @property postalAddress Required. Postal address of the contact.
 * Structure is documented below.
 */
public data class RegistrationContactSettingsAdminContact(
    public val email: String,
    public val faxNumber: String? = null,
    public val phoneNumber: String,
    public val postalAddress: RegistrationContactSettingsAdminContactPostalAddress,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.clouddomains.outputs.RegistrationContactSettingsAdminContact): RegistrationContactSettingsAdminContact = RegistrationContactSettingsAdminContact(
            email = javaType.email(),
            faxNumber = javaType.faxNumber().map({ args0 -> args0 }).orElse(null),
            phoneNumber = javaType.phoneNumber(),
            postalAddress = javaType.postalAddress().let({ args0 ->
                com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationContactSettingsAdminContactPostalAddress.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy