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

com.pulumi.gcp.diagflow.kotlin.inputs.CxPageFormParameterAdvancedSettingsDtmfSettingsArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxPageFormParameterAdvancedSettingsDtmfSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 CxPageFormParameterAdvancedSettingsDtmfSettingsArgs(
    public val enabled: Output? = null,
    public val finishDigit: Output? = null,
    public val maxDigits: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxPageFormParameterAdvancedSettingsDtmfSettingsArgs =
        com.pulumi.gcp.diagflow.inputs.CxPageFormParameterAdvancedSettingsDtmfSettingsArgs.builder()
            .enabled(enabled?.applyValue({ args0 -> args0 }))
            .finishDigit(finishDigit?.applyValue({ args0 -> args0 }))
            .maxDigits(maxDigits?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CxPageFormParameterAdvancedSettingsDtmfSettingsArgs].
 */
@PulumiTagMarker
public class CxPageFormParameterAdvancedSettingsDtmfSettingsArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var finishDigit: Output? = null

    private var maxDigits: Output? = null

    /**
     * @param value 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).
     */
    @JvmName("lcjoaexsfsvmtrjv")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value The digit that terminates a DTMF digit sequence.
     */
    @JvmName("dytrixuctxkcqfjq")
    public suspend fun finishDigit(`value`: Output) {
        this.finishDigit = value
    }

    /**
     * @param value Max length of DTMF digits.
     */
    @JvmName("lpiujtatsnvdobir")
    public suspend fun maxDigits(`value`: Output) {
        this.maxDigits = value
    }

    /**
     * @param value 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).
     */
    @JvmName("pywgnmxofmjsatcu")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value The digit that terminates a DTMF digit sequence.
     */
    @JvmName("avuwckxwudefrybw")
    public suspend fun finishDigit(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.finishDigit = mapped
    }

    /**
     * @param value Max length of DTMF digits.
     */
    @JvmName("aswyjugsphatthkj")
    public suspend fun maxDigits(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxDigits = mapped
    }

    internal fun build(): CxPageFormParameterAdvancedSettingsDtmfSettingsArgs =
        CxPageFormParameterAdvancedSettingsDtmfSettingsArgs(
            enabled = enabled,
            finishDigit = finishDigit,
            maxDigits = maxDigits,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy