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

com.pulumi.awsnative.connect.kotlin.inputs.RuleActionsArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.RuleActionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The list of actions that will be executed when a rule is triggered.
 * @property assignContactCategoryActions Information about the contact category action. The syntax can be empty, for example, `{}` .
 * @property createCaseActions
 * @property endAssociatedTasksActions
 * @property eventBridgeActions Information about the EventBridge action.
 * @property sendNotificationActions Information about the send notification action.
 * @property submitAutoEvaluationActions
 * @property taskActions Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
 * @property updateCaseActions
 */
public data class RuleActionsArgs(
    public val assignContactCategoryActions: Output>? =
        null,
    public val createCaseActions: Output>? = null,
    public val endAssociatedTasksActions: Output>? = null,
    public val eventBridgeActions: Output>? = null,
    public val sendNotificationActions: Output>? = null,
    public val submitAutoEvaluationActions: Output>? = null,
    public val taskActions: Output>? = null,
    public val updateCaseActions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.RuleActionsArgs =
        com.pulumi.awsnative.connect.inputs.RuleActionsArgs.builder()
            .assignContactCategoryActions(
                assignContactCategoryActions?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .createCaseActions(
                createCaseActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .endAssociatedTasksActions(
                endAssociatedTasksActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .eventBridgeActions(
                eventBridgeActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .sendNotificationActions(
                sendNotificationActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .submitAutoEvaluationActions(
                submitAutoEvaluationActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .taskActions(
                taskActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .updateCaseActions(
                updateCaseActions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [RuleActionsArgs].
 */
@PulumiTagMarker
public class RuleActionsArgsBuilder internal constructor() {
    private var assignContactCategoryActions: Output>? =
        null

    private var createCaseActions: Output>? = null

    private var endAssociatedTasksActions: Output>? = null

    private var eventBridgeActions: Output>? = null

    private var sendNotificationActions: Output>? = null

    private var submitAutoEvaluationActions: Output>? = null

    private var taskActions: Output>? = null

    private var updateCaseActions: Output>? = null

    /**
     * @param value Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("itsprtmgwuesplum")
    public suspend fun assignContactCategoryActions(`value`: Output>) {
        this.assignContactCategoryActions = value
    }

    @JvmName("qigjnapddaijxbkp")
    public suspend fun assignContactCategoryActions(vararg values: Output) {
        this.assignContactCategoryActions = Output.all(values.asList())
    }

    /**
     * @param values Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("gygiugmisnjxfgqr")
    public suspend fun assignContactCategoryActions(values: List>) {
        this.assignContactCategoryActions = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("dyflqhfmisdcgfso")
    public suspend fun createCaseActions(`value`: Output>) {
        this.createCaseActions = value
    }

    @JvmName("phssmcokurouppov")
    public suspend fun createCaseActions(vararg values: Output) {
        this.createCaseActions = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("hpjamthbdjbwhxvt")
    public suspend fun createCaseActions(values: List>) {
        this.createCaseActions = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("pvrcsyfgfdphxlbp")
    public suspend fun endAssociatedTasksActions(`value`: Output>) {
        this.endAssociatedTasksActions = value
    }

    @JvmName("dbxxbrooqhijjgkb")
    public suspend fun endAssociatedTasksActions(vararg values: Output) {
        this.endAssociatedTasksActions = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("jvpibkhjnysxuylg")
    public suspend fun endAssociatedTasksActions(values: List>) {
        this.endAssociatedTasksActions = Output.all(values)
    }

    /**
     * @param value Information about the EventBridge action.
     */
    @JvmName("ecttondpncaelpyt")
    public suspend fun eventBridgeActions(`value`: Output>) {
        this.eventBridgeActions = value
    }

    @JvmName("bevqtxpmukmpduhu")
    public suspend fun eventBridgeActions(vararg values: Output) {
        this.eventBridgeActions = Output.all(values.asList())
    }

    /**
     * @param values Information about the EventBridge action.
     */
    @JvmName("ebrkuxxwsreitsgg")
    public suspend fun eventBridgeActions(values: List>) {
        this.eventBridgeActions = Output.all(values)
    }

    /**
     * @param value Information about the send notification action.
     */
    @JvmName("fieftwktrbuifytr")
    public suspend fun sendNotificationActions(`value`: Output>) {
        this.sendNotificationActions = value
    }

    @JvmName("wjxflcuthkrekkds")
    public suspend fun sendNotificationActions(vararg values: Output) {
        this.sendNotificationActions = Output.all(values.asList())
    }

    /**
     * @param values Information about the send notification action.
     */
    @JvmName("clutugluhvfavnkv")
    public suspend fun sendNotificationActions(values: List>) {
        this.sendNotificationActions = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("evvwxqaxdoqrbyvk")
    public suspend fun submitAutoEvaluationActions(`value`: Output>) {
        this.submitAutoEvaluationActions = value
    }

    @JvmName("bfwpwftrtsexcayi")
    public suspend fun submitAutoEvaluationActions(vararg values: Output) {
        this.submitAutoEvaluationActions = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("jcpcwchmtsfcxnmn")
    public suspend fun submitAutoEvaluationActions(values: List>) {
        this.submitAutoEvaluationActions = Output.all(values)
    }

    /**
     * @param value Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("lxhpwkfokyiyfdpn")
    public suspend fun taskActions(`value`: Output>) {
        this.taskActions = value
    }

    @JvmName("eaahrnoflxykjhyr")
    public suspend fun taskActions(vararg values: Output) {
        this.taskActions = Output.all(values.asList())
    }

    /**
     * @param values Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("rjbckgqyfmmiauor")
    public suspend fun taskActions(values: List>) {
        this.taskActions = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("nyguaiehhbtyumyn")
    public suspend fun updateCaseActions(`value`: Output>) {
        this.updateCaseActions = value
    }

    @JvmName("btvfydljvennfgit")
    public suspend fun updateCaseActions(vararg values: Output) {
        this.updateCaseActions = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("csgpqwxrwdvmvgel")
    public suspend fun updateCaseActions(values: List>) {
        this.updateCaseActions = Output.all(values)
    }

    /**
     * @param value Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("vhmashhxblvlwepa")
    public suspend fun assignContactCategoryActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.assignContactCategoryActions = mapped
    }

    /**
     * @param argument Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("qopjrvawsnuovdme")
    public suspend fun assignContactCategoryActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleAssignContactCategoryActionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.assignContactCategoryActions = mapped
    }

    /**
     * @param argument Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("ussatctosjcebhpb")
    public suspend fun assignContactCategoryActions(vararg argument: suspend RuleAssignContactCategoryActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleAssignContactCategoryActionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.assignContactCategoryActions = mapped
    }

    /**
     * @param argument Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("lnhdidbomgftkiti")
    public suspend fun assignContactCategoryActions(argument: suspend RuleAssignContactCategoryActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RuleAssignContactCategoryActionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.assignContactCategoryActions = mapped
    }

    /**
     * @param values Information about the contact category action. The syntax can be empty, for example, `{}` .
     */
    @JvmName("msnraqaiacsxfptg")
    public suspend fun assignContactCategoryActions(vararg values: RuleAssignContactCategoryActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.assignContactCategoryActions = mapped
    }

    /**
     * @param value
     */
    @JvmName("ekgltaugqtmgdeae")
    public suspend fun createCaseActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.createCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("osshwcjpihwyatvd")
    public suspend fun createCaseActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleCreateCaseActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.createCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("vkvqvnxstwhnhham")
    public suspend fun createCaseActions(vararg argument: suspend RuleCreateCaseActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleCreateCaseActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.createCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("apjstjnwonjontsb")
    public suspend fun createCaseActions(argument: suspend RuleCreateCaseActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(RuleCreateCaseActionArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.createCaseActions = mapped
    }

    /**
     * @param values
     */
    @JvmName("dvydhccpjjdqelfa")
    public suspend fun createCaseActions(vararg values: RuleCreateCaseActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.createCaseActions = mapped
    }

    /**
     * @param value
     */
    @JvmName("swhiuwkrymbcayml")
    public suspend fun endAssociatedTasksActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endAssociatedTasksActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hhwbnereyiwwdelt")
    public suspend fun endAssociatedTasksActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleEndAssociatedTasksActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.endAssociatedTasksActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("yjhdvywswynyxcjx")
    public suspend fun endAssociatedTasksActions(vararg argument: suspend RuleEndAssociatedTasksActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleEndAssociatedTasksActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.endAssociatedTasksActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("popafvevxkyyigns")
    public suspend fun endAssociatedTasksActions(argument: suspend RuleEndAssociatedTasksActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RuleEndAssociatedTasksActionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.endAssociatedTasksActions = mapped
    }

    /**
     * @param values
     */
    @JvmName("jymvdfuhfigqbfvy")
    public suspend fun endAssociatedTasksActions(vararg values: RuleEndAssociatedTasksActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endAssociatedTasksActions = mapped
    }

    /**
     * @param value Information about the EventBridge action.
     */
    @JvmName("vbibkmefhfjvibls")
    public suspend fun eventBridgeActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventBridgeActions = mapped
    }

    /**
     * @param argument Information about the EventBridge action.
     */
    @JvmName("ftiufbqabuhtbbap")
    public suspend fun eventBridgeActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleEventBridgeActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.eventBridgeActions = mapped
    }

    /**
     * @param argument Information about the EventBridge action.
     */
    @JvmName("dsovdqmwsqgaahdq")
    public suspend fun eventBridgeActions(vararg argument: suspend RuleEventBridgeActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleEventBridgeActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.eventBridgeActions = mapped
    }

    /**
     * @param argument Information about the EventBridge action.
     */
    @JvmName("mcxdbfbrssvjjblx")
    public suspend fun eventBridgeActions(argument: suspend RuleEventBridgeActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(RuleEventBridgeActionArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.eventBridgeActions = mapped
    }

    /**
     * @param values Information about the EventBridge action.
     */
    @JvmName("oavbfjofuxdcadhl")
    public suspend fun eventBridgeActions(vararg values: RuleEventBridgeActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.eventBridgeActions = mapped
    }

    /**
     * @param value Information about the send notification action.
     */
    @JvmName("aubiphnjjkhxckij")
    public suspend fun sendNotificationActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sendNotificationActions = mapped
    }

    /**
     * @param argument Information about the send notification action.
     */
    @JvmName("innxkuvfedavxcjp")
    public suspend fun sendNotificationActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleSendNotificationActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sendNotificationActions = mapped
    }

    /**
     * @param argument Information about the send notification action.
     */
    @JvmName("rgvbduucujjnrklo")
    public suspend fun sendNotificationActions(vararg argument: suspend RuleSendNotificationActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleSendNotificationActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sendNotificationActions = mapped
    }

    /**
     * @param argument Information about the send notification action.
     */
    @JvmName("ppjulmsefmrpepip")
    public suspend fun sendNotificationActions(argument: suspend RuleSendNotificationActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RuleSendNotificationActionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sendNotificationActions = mapped
    }

    /**
     * @param values Information about the send notification action.
     */
    @JvmName("sooiqumewkkkttmr")
    public suspend fun sendNotificationActions(vararg values: RuleSendNotificationActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sendNotificationActions = mapped
    }

    /**
     * @param value
     */
    @JvmName("yxqpsxmmecatvaeg")
    public suspend fun submitAutoEvaluationActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.submitAutoEvaluationActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("fjpiojlsqgnygwun")
    public suspend fun submitAutoEvaluationActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleSubmitAutoEvaluationActionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.submitAutoEvaluationActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hjcsktrirthhxeln")
    public suspend fun submitAutoEvaluationActions(vararg argument: suspend RuleSubmitAutoEvaluationActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleSubmitAutoEvaluationActionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.submitAutoEvaluationActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("lvigsufjgrbaseyg")
    public suspend fun submitAutoEvaluationActions(argument: suspend RuleSubmitAutoEvaluationActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RuleSubmitAutoEvaluationActionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.submitAutoEvaluationActions = mapped
    }

    /**
     * @param values
     */
    @JvmName("xectqpjpfrnqtasp")
    public suspend fun submitAutoEvaluationActions(vararg values: RuleSubmitAutoEvaluationActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.submitAutoEvaluationActions = mapped
    }

    /**
     * @param value Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("kdrpvwveogqoaogs")
    public suspend fun taskActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.taskActions = mapped
    }

    /**
     * @param argument Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("kqayuwliatgoeylg")
    public suspend fun taskActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleTaskActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.taskActions = mapped
    }

    /**
     * @param argument Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("tgrfcdjfavebblgh")
    public suspend fun taskActions(vararg argument: suspend RuleTaskActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleTaskActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.taskActions = mapped
    }

    /**
     * @param argument Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("rghuyotfiriibmqt")
    public suspend fun taskActions(argument: suspend RuleTaskActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(RuleTaskActionArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.taskActions = mapped
    }

    /**
     * @param values Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
     */
    @JvmName("beepgaddubmjqppk")
    public suspend fun taskActions(vararg values: RuleTaskActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.taskActions = mapped
    }

    /**
     * @param value
     */
    @JvmName("hlkdswxrvpptdpng")
    public suspend fun updateCaseActions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.updateCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ucsmdxorvkwrlpdr")
    public suspend fun updateCaseActions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RuleUpdateCaseActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.updateCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("knfceondqvcaydsq")
    public suspend fun updateCaseActions(vararg argument: suspend RuleUpdateCaseActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RuleUpdateCaseActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.updateCaseActions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ewefitfesfmjbvxo")
    public suspend fun updateCaseActions(argument: suspend RuleUpdateCaseActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(RuleUpdateCaseActionArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.updateCaseActions = mapped
    }

    /**
     * @param values
     */
    @JvmName("ocmljhcnhpjcrsgg")
    public suspend fun updateCaseActions(vararg values: RuleUpdateCaseActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.updateCaseActions = mapped
    }

    internal fun build(): RuleActionsArgs = RuleActionsArgs(
        assignContactCategoryActions = assignContactCategoryActions,
        createCaseActions = createCaseActions,
        endAssociatedTasksActions = endAssociatedTasksActions,
        eventBridgeActions = eventBridgeActions,
        sendNotificationActions = sendNotificationActions,
        submitAutoEvaluationActions = submitAutoEvaluationActions,
        taskActions = taskActions,
        updateCaseActions = updateCaseActions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy