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

com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property preview Configuration for preview deploys.
 * @property production Configuration for production deploys.
 */
public data class PagesProjectDeploymentConfigs(
    public val preview: PagesProjectDeploymentConfigsPreview? = null,
    public val production: PagesProjectDeploymentConfigsProduction? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PagesProjectDeploymentConfigs): PagesProjectDeploymentConfigs = PagesProjectDeploymentConfigs(
            preview = javaType.preview().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigsPreview.Companion.toKotlin(args0)
                })
            }).orElse(null),
            production = javaType.production().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigsProduction.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy