com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationContactSettingsRegistrantContact.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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 RegistrationContactSettingsRegistrantContact(
public val email: String,
public val faxNumber: String? = null,
public val phoneNumber: String,
public val postalAddress: RegistrationContactSettingsRegistrantContactPostalAddress,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.clouddomains.outputs.RegistrationContactSettingsRegistrantContact): RegistrationContactSettingsRegistrantContact = RegistrationContactSettingsRegistrantContact(
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.RegistrationContactSettingsRegistrantContactPostalAddress.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy