com.pulumi.cloudflare.kotlin.outputs.PagesProjectSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property config Configuration for the source of the Cloudflare Pages project.
* @property type Project host type.
*/
public data class PagesProjectSource(
public val config: PagesProjectSourceConfig? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PagesProjectSource): PagesProjectSource = PagesProjectSource(
config = javaType.config().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.PagesProjectSourceConfig.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}