com.pulumi.gcp.clouddeploy.kotlin.outputs.AutomationSelector.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.clouddeploy.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property targets Contains attributes about a target.
* Structure is documented below.
*/
public data class AutomationSelector(
public val targets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.clouddeploy.outputs.AutomationSelector): AutomationSelector = AutomationSelector(
targets = javaType.targets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.clouddeploy.kotlin.outputs.AutomationSelectorTarget.Companion.toKotlin(args0)
})
}),
)
}
}