V2modelsIntentFulfillmentCodeHook class

Constructors

V2modelsIntentFulfillmentCodeHook({Input<bool?>? active, required Input<bool> enabled, Input<V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification?>? fulfillmentUpdatesSpecification, Input<V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification?>? postFulfillmentStatusSpecification})
Creates a new V2modelsIntentFulfillmentCodeHook. active Whether the fulfillment code hook is used. When active is false, the code hook doesn't run. enabled Whether a Lambda function should be invoked to fulfill a specific intent. fulfillmentUpdatesSpecification 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 fulfillmentUpdatesSpecification. postFulfillmentStatusSpecification 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 postFulfillmentStatusSpecification.
const
V2modelsIntentFulfillmentCodeHook.fromMap(Map<String, dynamic> map)
factory

Properties

active → Input<bool?>?
Whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
final
enabled → Input<bool>
Whether a Lambda function should be invoked to fulfill a specific intent.
final
fulfillmentUpdatesSpecification → Input<V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification?>?
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 fulfillmentUpdatesSpecification.
final
hashCode → int
The hash code for this object.
no setterinherited
postFulfillmentStatusSpecification → Input<V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification?>?
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 postFulfillmentStatusSpecification.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited