Module Values.SlotSummarySource

Summary information about a slot, a value that the bot elicits from the user.

Sourcetype nonrec t = {
  1. slotId : Id.t option;
    (*

    The unique identifier of the slot.

    *)
  2. slotName : Name.t option;
    (*

    The name given to the slot.

    *)
  3. description : Description.t option;
    (*

    The description of the slot.

    *)
  4. slotConstraint : SlotConstraint.t option;
    (*

    Whether the slot is required or optional. An intent is complete when all required slots are filled.

    *)
  5. slotTypeId : BuiltInOrCustomSlotTypeId.t option;
    (*

    The unique identifier for the slot type that defines the values for the slot.

    *)
  6. valueElicitationPromptSpecification : PromptSpecification.t option;
    (*

    Prompts that are sent to the user to elicit a value for the slot.

    *)
  7. lastUpdatedDateTime : Timestamp.t option;
    (*

    The timestamp of the last date and time that the slot was updated.

    *)
}
Sourceval make : ?slotId:??? -> ?slotName:??? -> ?description:??? -> ?slotConstraint:??? -> ?slotTypeId:??? -> ?valueElicitationPromptSpecification:??? -> ?lastUpdatedDateTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Id.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Integer of PromptMaxRetries.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `Enum of string ] * [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Integer of TimeInMilliSeconds.t | `Structure of (string * [> `Integer of TimeInMilliSeconds.t | `String of DTMFCharacter.t ]) list ]) list ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t