com.pulumi.gcp.clouddomains.kotlin.outputs.RegistrationContactSettingsAdminContactPostalAddress.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
import kotlin.collections.List
/**
*
* @property addressLines Unstructured address lines describing the lower levels of an address.
* Because values in addressLines do not have type information and may sometimes contain multiple values in a single
* field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be
* "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language
* is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way,
* the most specific line of an address can be selected based on the language.
* @property administrativeArea Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state,
* a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community
* (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland
* this should be left unpopulated.
* @property locality Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world
* where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
* @property organization The name of the organization at the address.
* @property postalCode Postal code of the address. Not all countries use or require postal codes to be present, but where they are used,
* they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
* @property recipients The recipient at the address. This field may, under certain circumstances, contain multiline information. For example,
* it might contain "care of" information.
* - - -
* @property regionCode Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to
* ensure the value is correct. See https://cldr.unicode.org/ and
* https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
*/
public data class RegistrationContactSettingsAdminContactPostalAddress(
public val addressLines: List? = null,
public val administrativeArea: String? = null,
public val locality: String? = null,
public val organization: String? = null,
public val postalCode: String? = null,
public val recipients: List? = null,
public val regionCode: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.clouddomains.outputs.RegistrationContactSettingsAdminContactPostalAddress): RegistrationContactSettingsAdminContactPostalAddress =
RegistrationContactSettingsAdminContactPostalAddress(
addressLines = javaType.addressLines().map({ args0 -> args0 }),
administrativeArea = javaType.administrativeArea().map({ args0 -> args0 }).orElse(null),
locality = javaType.locality().map({ args0 -> args0 }).orElse(null),
organization = javaType.organization().map({ args0 -> args0 }).orElse(null),
postalCode = javaType.postalCode().map({ args0 -> args0 }).orElse(null),
recipients = javaType.recipients().map({ args0 -> args0 }),
regionCode = javaType.regionCode(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy