com.pulumi.digitalocean.kotlin.outputs.GetAppSpecWorkerImageDeployOnPush.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 GetAppSpecWorkerImageDeployOnPush(
public val enabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecWorkerImageDeployOnPush): GetAppSpecWorkerImageDeployOnPush = GetAppSpecWorkerImageDeployOnPush(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
)
}
}