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

com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GetPageResult.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs

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

/**
 *
 * @property displayName The human-readable name of the page, unique within the flow.
 * @property entryFulfillment The fulfillment to call when the session is entering the page.
 * @property eventHandlers Handlers associated with the page to handle events such as webhook errors, no match or no input.
 * @property form The form associated with the page, used for collecting parameters relevant to the page.
 * @property name The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.
 * @property transitionRouteGroups Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.
 * @property transitionRoutes A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the transition route groups with only condition specified.
 */
public data class GetPageResult(
    public val displayName: String,
    public val entryFulfillment: GoogleCloudDialogflowCxV3beta1FulfillmentResponse,
    public val eventHandlers: List,
    public val form: GoogleCloudDialogflowCxV3beta1FormResponse,
    public val name: String,
    public val transitionRouteGroups: List,
    public val transitionRoutes: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3beta1.outputs.GetPageResult): GetPageResult = GetPageResult(
            displayName = javaType.displayName(),
            entryFulfillment = javaType.entryFulfillment().let({ args0 ->
                com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1FulfillmentResponse.Companion.toKotlin(args0)
            }),
            eventHandlers = javaType.eventHandlers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1EventHandlerResponse.Companion.toKotlin(args0)
                })
            }),
            form = javaType.form().let({ args0 ->
                com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1FormResponse.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
            transitionRouteGroups = javaType.transitionRouteGroups().map({ args0 -> args0 }),
            transitionRoutes = javaType.transitionRoutes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1TransitionRouteResponse.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy