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

com.pulumi.gcp.diagflow.kotlin.outputs.CxPageTransitionRoute.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property condition The condition to evaluate against form parameters or session parameters.
 * At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
 * @property intent The unique identifier of an Intent.
 * Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
 * @property name (Output)
 * The unique identifier of this transition route.
 * @property targetFlow The target flow to transition to.
 * Format: projects//locations//agents//flows/.
 * @property targetPage The target page to transition to.
 * Format: projects//locations//agents//flows//pages/.
 * @property triggerFulfillment The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first.
 * Structure is documented below.
 */
public data class CxPageTransitionRoute(
    public val condition: String? = null,
    public val intent: String? = null,
    public val name: String? = null,
    public val targetFlow: String? = null,
    public val targetPage: String? = null,
    public val triggerFulfillment: CxPageTransitionRouteTriggerFulfillment? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageTransitionRoute): CxPageTransitionRoute = CxPageTransitionRoute(
            condition = javaType.condition().map({ args0 -> args0 }).orElse(null),
            intent = javaType.intent().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            targetFlow = javaType.targetFlow().map({ args0 -> args0 }).orElse(null),
            targetPage = javaType.targetPage().map({ args0 -> args0 }).orElse(null),
            triggerFulfillment = javaType.triggerFulfillment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.diagflow.kotlin.outputs.CxPageTransitionRouteTriggerFulfillment.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy