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

com.pulumi.gcp.diagflow.kotlin.outputs.CxPageEventHandlerTriggerFulfillmentMessagePlayAudio.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 audioUri URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
 */
public data class CxPageEventHandlerTriggerFulfillmentMessagePlayAudio(
    public val allowPlaybackInterruption: Boolean? = null,
    public val audioUri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageEventHandlerTriggerFulfillmentMessagePlayAudio): CxPageEventHandlerTriggerFulfillmentMessagePlayAudio =
            CxPageEventHandlerTriggerFulfillmentMessagePlayAudio(
                allowPlaybackInterruption = javaType.allowPlaybackInterruption().map({ args0 ->
                    args0
                }).orElse(null),
                audioUri = javaType.audioUri(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy