
com.pulumi.googlenative.jobs.v3.kotlin.outputs.LocationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.jobs.v3.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
* Output only. A resource that represents a location with full geographic information.
* @property latLng An object representing a latitude/longitude pair.
* @property locationType The type of a location, which corresponds to the address lines field of PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType#LOCALITY.
* @property postalAddress Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
* @property radiusInMiles Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
*/
public data class LocationResponse(
public val latLng: LatLngResponse,
public val locationType: String,
public val postalAddress: PostalAddressResponse,
public val radiusInMiles: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.jobs.v3.outputs.LocationResponse): LocationResponse = LocationResponse(
latLng = javaType.latLng().let({ args0 ->
com.pulumi.googlenative.jobs.v3.kotlin.outputs.LatLngResponse.Companion.toKotlin(args0)
}),
locationType = javaType.locationType(),
postalAddress = javaType.postalAddress().let({ args0 ->
com.pulumi.googlenative.jobs.v3.kotlin.outputs.PostalAddressResponse.Companion.toKotlin(args0)
}),
radiusInMiles = javaType.radiusInMiles(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy