Module Values.BatchCreateCustomVocabularyItemRequestSource

Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.

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

    The identifier of the bot associated with this custom vocabulary.

    *)
  2. botVersion : BotVersion.t;
    (*

    The identifier of the version of the bot associated with this custom vocabulary.

    *)
  3. localeId : LocaleId.t;
    (*

    The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

    *)
  4. customVocabularyItemList : CreateCustomVocabularyItemsList.t;
    (*

    A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

    *)
}
Sourceval context_ : string
Sourceval make : botId:Id.t -> botVersion:BotVersion.t -> localeId:LocaleId.t -> customVocabularyItemList:CreateCustomVocabularyItemsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Weight.t | `String of Phrase.t ]) list ] list | `String of Id.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