com.pulumi.digitalocean.kotlin.outputs.AppSpecWorkerImageDeployOnPush.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @property enabled Whether to automatically deploy images pushed to DOCR.
*/
public data class AppSpecWorkerImageDeployOnPush(
public val enabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecWorkerImageDeployOnPush): AppSpecWorkerImageDeployOnPush = AppSpecWorkerImageDeployOnPush(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
)
}
}