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

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

/**
 *
 * @property enabled If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
 * @property finishDigit The digit that terminates a DTMF digit sequence.
 * @property maxDigits Max length of DTMF digits.
 */
public data class CxPageFormParameterAdvancedSettingsDtmfSettings(
    public val enabled: Boolean? = null,
    public val finishDigit: String? = null,
    public val maxDigits: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageFormParameterAdvancedSettingsDtmfSettings): CxPageFormParameterAdvancedSettingsDtmfSettings =
            CxPageFormParameterAdvancedSettingsDtmfSettings(
                enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
                finishDigit = javaType.finishDigit().map({ args0 -> args0 }).orElse(null),
                maxDigits = javaType.maxDigits().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy