Module Values.SearchPlaceIndexForSuggestionsSummarySource

A summary of the request sent by using SearchPlaceIndexForSuggestions.

Sourcetype nonrec t = {
  1. text : SensitiveString.t option;
    (*

    The free-form partial text input specified in the request.

    *)
  2. biasPosition : Position.t option;
    (*

    Contains the coordinates for the optional bias position specified in the request. This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude. For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

    *)
  3. filterBBox : BoundingBox.t option;
    (*

    Contains the coordinates for the optional bounding box specified in the request.

    *)
  4. filterCountries : CountryCodeList.t option;
    (*

    Contains the optional country filter specified in the request.

    *)
  5. maxResults : Integer.t option;
    (*

    Contains the optional result count limit specified in the request.

    *)
  6. dataSource : String_.t option;
    (*

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following: Esri Grab Here For more information about data providers, see Amazon Location Service data providers.

    *)
  7. language : LanguageTag.t option;
    (*

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    *)
  8. filterCategories : FilterPlaceCategoryList.t option;
    (*

    The optional category filter specified in the request.

    *)
}
Sourceval make : ?text:??? -> ?biasPosition:??? -> ?filterBBox:??? -> ?filterCountries:??? -> ?maxResults:??? -> ?dataSource:??? -> ?language:??? -> ?filterCategories:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Double of Double.t | `String of CountryCode3.t ] list | `String of SensitiveString.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