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

com.pulumi.azure.apimanagement.kotlin.outputs.GatewayLocationData.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: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.apimanagement.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property city The city or locality where the resource is located.
 * @property district The district, state, or province where the resource is located.
 * @property name A canonical name for the geographic or physical location.
 * @property region The country or region where the resource is located.
 */
public data class GatewayLocationData(
    public val city: String? = null,
    public val district: String? = null,
    public val name: String,
    public val region: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.GatewayLocationData):
            GatewayLocationData = GatewayLocationData(
            city = javaType.city().map({ args0 -> args0 }).orElse(null),
            district = javaType.district().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            region = javaType.region().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy