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

com.pulumi.gcp.clouddeploy.kotlin.outputs.DeliveryPipelineCondition.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.clouddeploy.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property pipelineReadyConditions Details around the Pipeline's overall status.
 * @property targetsPresentConditions Details around targets enumerated in the pipeline.
 * @property targetsTypeConditions Details on the whether the targets enumerated in the pipeline are of the same type.
 */
public data class DeliveryPipelineCondition(
    public val pipelineReadyConditions: List? = null,
    public val targetsPresentConditions: List? =
        null,
    public val targetsTypeConditions: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.clouddeploy.outputs.DeliveryPipelineCondition): DeliveryPipelineCondition = DeliveryPipelineCondition(
            pipelineReadyConditions = javaType.pipelineReadyConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.clouddeploy.kotlin.outputs.DeliveryPipelineConditionPipelineReadyCondition.Companion.toKotlin(args0)
                })
            }),
            targetsPresentConditions = javaType.targetsPresentConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.clouddeploy.kotlin.outputs.DeliveryPipelineConditionTargetsPresentCondition.Companion.toKotlin(args0)
                })
            }),
            targetsTypeConditions = javaType.targetsTypeConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.clouddeploy.kotlin.outputs.DeliveryPipelineConditionTargetsTypeCondition.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy