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

com.pulumi.azure.chaosstudio.kotlin.outputs.ExperimentStep.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.chaosstudio.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property branches One or more `branch` blocks as defined above.
 * @property name The name of the Step.
 */
public data class ExperimentStep(
    public val branches: List,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.chaosstudio.outputs.ExperimentStep): ExperimentStep = ExperimentStep(
            branches = javaType.branches().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.chaosstudio.kotlin.outputs.ExperimentStepBranch.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy