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

com.pulumi.gcp.diagflow.kotlin.outputs.CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioText.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.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allowPlaybackInterruption (Output)
 * Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
 * @property ssml The SSML text to be synthesized. For more information, see SSML.
 * @property text The raw text to be synthesized.
 */
public data class CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioText(
    public val allowPlaybackInterruption: Boolean? = null,
    public val ssml: String? = null,
    public val text: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioText): CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioText =
            CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioText(
                allowPlaybackInterruption = javaType.allowPlaybackInterruption().map({ args0 ->
                    args0
                }).orElse(null),
                ssml = javaType.ssml().map({ args0 -> args0 }).orElse(null),
                text = javaType.text().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy