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

com.pulumi.gcp.diagflow.kotlin.inputs.CxTestCaseTestConfigArgs.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.diagflow.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxTestCaseTestConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property flow Flow name to start the test case with.
 * Format: projects//locations//agents//flows/.
 * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
 * @property page The page to start the test case with.
 * Format: projects//locations//agents//flows//pages/.
 * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
 * @property trackingParameters Session parameters to be compared when calculating differences.
 */
public data class CxTestCaseTestConfigArgs(
    public val flow: Output? = null,
    public val page: Output? = null,
    public val trackingParameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxTestCaseTestConfigArgs =
        com.pulumi.gcp.diagflow.inputs.CxTestCaseTestConfigArgs.builder()
            .flow(flow?.applyValue({ args0 -> args0 }))
            .page(page?.applyValue({ args0 -> args0 }))
            .trackingParameters(
                trackingParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [CxTestCaseTestConfigArgs].
 */
@PulumiTagMarker
public class CxTestCaseTestConfigArgsBuilder internal constructor() {
    private var flow: Output? = null

    private var page: Output? = null

    private var trackingParameters: Output>? = null

    /**
     * @param value Flow name to start the test case with.
     * Format: projects//locations//agents//flows/.
     * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
     */
    @JvmName("qlsbmyepnpxrwilo")
    public suspend fun flow(`value`: Output) {
        this.flow = value
    }

    /**
     * @param value The page to start the test case with.
     * Format: projects//locations//agents//flows//pages/.
     * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
     */
    @JvmName("iogjephnturqpubo")
    public suspend fun page(`value`: Output) {
        this.page = value
    }

    /**
     * @param value Session parameters to be compared when calculating differences.
     */
    @JvmName("wyrysrcmsarwewgx")
    public suspend fun trackingParameters(`value`: Output>) {
        this.trackingParameters = value
    }

    @JvmName("bvcpydecttbbixnk")
    public suspend fun trackingParameters(vararg values: Output) {
        this.trackingParameters = Output.all(values.asList())
    }

    /**
     * @param values Session parameters to be compared when calculating differences.
     */
    @JvmName("pneviheppaclntgu")
    public suspend fun trackingParameters(values: List>) {
        this.trackingParameters = Output.all(values)
    }

    /**
     * @param value Flow name to start the test case with.
     * Format: projects//locations//agents//flows/.
     * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
     */
    @JvmName("eoxjghcjcavcqkpv")
    public suspend fun flow(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.flow = mapped
    }

    /**
     * @param value The page to start the test case with.
     * Format: projects//locations//agents//flows//pages/.
     * Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
     */
    @JvmName("nvcaovhujjranouf")
    public suspend fun page(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.page = mapped
    }

    /**
     * @param value Session parameters to be compared when calculating differences.
     */
    @JvmName("grjhyfkqeyutbdww")
    public suspend fun trackingParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trackingParameters = mapped
    }

    /**
     * @param values Session parameters to be compared when calculating differences.
     */
    @JvmName("uxiigkrqsawsrloe")
    public suspend fun trackingParameters(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.trackingParameters = mapped
    }

    internal fun build(): CxTestCaseTestConfigArgs = CxTestCaseTestConfigArgs(
        flow = flow,
        page = page,
        trackingParameters = trackingParameters,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy