com.pulumi.googlenative.dialogflow.v3beta1.kotlin.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The list of messages or conditional cases to activate for this case.
* @property additionalCases Additional cases to be evaluated.
* @property message Returned message.
*/
public data class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs(
public val additionalCases: Output? =
null,
public val message: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs =
com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs.builder()
.additionalCases(additionalCases?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.message(message?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs].
*/
@PulumiTagMarker
public class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgsBuilder
internal constructor() {
private var additionalCases:
Output? = null
private var message: Output? = null
/**
* @param value Additional cases to be evaluated.
*/
@JvmName("olvaialnjdfhjsgj")
public suspend fun additionalCases(`value`: Output) {
this.additionalCases = value
}
/**
* @param value Returned message.
*/
@JvmName("ailjasfhgxglqhrf")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value Additional cases to be evaluated.
*/
@JvmName("dsuhevclsubksplx")
public suspend fun additionalCases(`value`: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalCases = mapped
}
/**
* @param argument Additional cases to be evaluated.
*/
@JvmName("nwhpqsgnnucirpiq")
public suspend fun additionalCases(argument: suspend GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgsBuilder.() -> Unit) {
val toBeMapped =
GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.additionalCases = mapped
}
/**
* @param value Returned message.
*/
@JvmName("omwqmdfjurafpgeu")
public suspend fun message(`value`: GoogleCloudDialogflowCxV3beta1ResponseMessageArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.message = mapped
}
/**
* @param argument Returned message.
*/
@JvmName("moflyupvddnfhhun")
public suspend fun message(argument: suspend GoogleCloudDialogflowCxV3beta1ResponseMessageArgsBuilder.() -> Unit) {
val toBeMapped = GoogleCloudDialogflowCxV3beta1ResponseMessageArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.message = mapped
}
internal fun build(): GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs = GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs(
additionalCases = additionalCases,
message = message,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy