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

com.pulumi.azurenative.web.kotlin.outputs.VirtualApplicationResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Virtual application in an app.
 * @property physicalPath Physical path.
 * @property preloadEnabled true if preloading is enabled; otherwise, false.
 * @property virtualDirectories Virtual directories for virtual application.
 * @property virtualPath Virtual path.
 */
public data class VirtualApplicationResponse(
    public val physicalPath: String? = null,
    public val preloadEnabled: Boolean? = null,
    public val virtualDirectories: List? = null,
    public val virtualPath: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.VirtualApplicationResponse): VirtualApplicationResponse = VirtualApplicationResponse(
            physicalPath = javaType.physicalPath().map({ args0 -> args0 }).orElse(null),
            preloadEnabled = javaType.preloadEnabled().map({ args0 -> args0 }).orElse(null),
            virtualDirectories = javaType.virtualDirectories().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.web.kotlin.outputs.VirtualDirectoryResponse.Companion.toKotlin(args0)
                })
            }),
            virtualPath = javaType.virtualPath().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy