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

com.pulumi.azurenative.botservice.kotlin.inputs.MsTeamsChannelPropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.botservice.kotlin.inputs

import com.pulumi.azurenative.botservice.inputs.MsTeamsChannelPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The parameters to provide for the Microsoft Teams channel.
 * @property acceptedTerms Whether this channel accepted terms
 * @property callingWebhook Webhook for Microsoft Teams channel calls
 * @property deploymentEnvironment Deployment environment for Microsoft Teams channel calls
 * @property enableCalling Enable calling for Microsoft Teams channel
 * @property incomingCallRoute Webhook for Microsoft Teams channel calls
 * @property isEnabled Whether this channel is enabled for the bot
 */
public data class MsTeamsChannelPropertiesArgs(
    public val acceptedTerms: Output? = null,
    public val callingWebhook: Output? = null,
    public val deploymentEnvironment: Output? = null,
    public val enableCalling: Output? = null,
    public val incomingCallRoute: Output? = null,
    public val isEnabled: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.botservice.inputs.MsTeamsChannelPropertiesArgs =
        com.pulumi.azurenative.botservice.inputs.MsTeamsChannelPropertiesArgs.builder()
            .acceptedTerms(acceptedTerms?.applyValue({ args0 -> args0 }))
            .callingWebhook(callingWebhook?.applyValue({ args0 -> args0 }))
            .deploymentEnvironment(deploymentEnvironment?.applyValue({ args0 -> args0 }))
            .enableCalling(enableCalling?.applyValue({ args0 -> args0 }))
            .incomingCallRoute(incomingCallRoute?.applyValue({ args0 -> args0 }))
            .isEnabled(isEnabled.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MsTeamsChannelPropertiesArgs].
 */
@PulumiTagMarker
public class MsTeamsChannelPropertiesArgsBuilder internal constructor() {
    private var acceptedTerms: Output? = null

    private var callingWebhook: Output? = null

    private var deploymentEnvironment: Output? = null

    private var enableCalling: Output? = null

    private var incomingCallRoute: Output? = null

    private var isEnabled: Output? = null

    /**
     * @param value Whether this channel accepted terms
     */
    @JvmName("ffqygsousfuoulav")
    public suspend fun acceptedTerms(`value`: Output) {
        this.acceptedTerms = value
    }

    /**
     * @param value Webhook for Microsoft Teams channel calls
     */
    @JvmName("rlmfiawuojwtperq")
    public suspend fun callingWebhook(`value`: Output) {
        this.callingWebhook = value
    }

    /**
     * @param value Deployment environment for Microsoft Teams channel calls
     */
    @JvmName("ngttexgucedfohpn")
    public suspend fun deploymentEnvironment(`value`: Output) {
        this.deploymentEnvironment = value
    }

    /**
     * @param value Enable calling for Microsoft Teams channel
     */
    @JvmName("pixowblgppnjdsrb")
    public suspend fun enableCalling(`value`: Output) {
        this.enableCalling = value
    }

    /**
     * @param value Webhook for Microsoft Teams channel calls
     */
    @JvmName("qjgaaeybshdjbjdq")
    public suspend fun incomingCallRoute(`value`: Output) {
        this.incomingCallRoute = value
    }

    /**
     * @param value Whether this channel is enabled for the bot
     */
    @JvmName("mkenaavwmmhbkump")
    public suspend fun isEnabled(`value`: Output) {
        this.isEnabled = value
    }

    /**
     * @param value Whether this channel accepted terms
     */
    @JvmName("ahojqjewfnarnrlh")
    public suspend fun acceptedTerms(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.acceptedTerms = mapped
    }

    /**
     * @param value Webhook for Microsoft Teams channel calls
     */
    @JvmName("bpcmqougxaqjyiav")
    public suspend fun callingWebhook(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.callingWebhook = mapped
    }

    /**
     * @param value Deployment environment for Microsoft Teams channel calls
     */
    @JvmName("alhanqjskbbuqibo")
    public suspend fun deploymentEnvironment(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deploymentEnvironment = mapped
    }

    /**
     * @param value Enable calling for Microsoft Teams channel
     */
    @JvmName("rjxcjlwkkxhlpwpo")
    public suspend fun enableCalling(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableCalling = mapped
    }

    /**
     * @param value Webhook for Microsoft Teams channel calls
     */
    @JvmName("daobqioycdxlsvce")
    public suspend fun incomingCallRoute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.incomingCallRoute = mapped
    }

    /**
     * @param value Whether this channel is enabled for the bot
     */
    @JvmName("gvbadpeffoxpfhnb")
    public suspend fun isEnabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.isEnabled = mapped
    }

    internal fun build(): MsTeamsChannelPropertiesArgs = MsTeamsChannelPropertiesArgs(
        acceptedTerms = acceptedTerms,
        callingWebhook = callingWebhook,
        deploymentEnvironment = deploymentEnvironment,
        enableCalling = enableCalling,
        incomingCallRoute = incomingCallRoute,
        isEnabled = isEnabled ?: throw PulumiNullFieldException("isEnabled"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy