V2modelsIntentFulfillmentCodeHook

data class V2modelsIntentFulfillmentCodeHook(val active: Boolean? = null, val enabled: Boolean, val fulfillmentUpdatesSpecification: V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification? = null, val postFulfillmentStatusSpecification: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification? = null)

Constructors

Link copied to clipboard
constructor(active: Boolean? = null, enabled: Boolean, fulfillmentUpdatesSpecification: V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification? = null, postFulfillmentStatusSpecification: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val active: Boolean? = null

Whether the fulfillment code hook is used. When active is false, the code hook doesn't run.

Link copied to clipboard

Whether a Lambda function should be invoked to fulfill a specific intent.

Link copied to clipboard

Configuration block for settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. See fulfillment_updates_specification.

Link copied to clipboard

Configuration block for settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations. See post_fulfillment_status_specification.