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

com.pulumi.azurenative.recoveryservices.kotlin.outputs.A2AExtendedLocationDetailsResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.recoveryservices.kotlin.outputs

import kotlin.Suppress

/**
 * ExtendedLocation details data.
 * @property primaryExtendedLocation The primary ExtendedLocation.
 * @property recoveryExtendedLocation The recovery ExtendedLocation.
 */
public data class A2AExtendedLocationDetailsResponse(
    public val primaryExtendedLocation: ExtendedLocationResponse? = null,
    public val recoveryExtendedLocation: ExtendedLocationResponse? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.outputs.A2AExtendedLocationDetailsResponse): A2AExtendedLocationDetailsResponse = A2AExtendedLocationDetailsResponse(
            primaryExtendedLocation = javaType.primaryExtendedLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.recoveryservices.kotlin.outputs.ExtendedLocationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            recoveryExtendedLocation = javaType.recoveryExtendedLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.recoveryservices.kotlin.outputs.ExtendedLocationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy