Module Values.GeocodeQueryComponentsSource

A structured free text query allows you to search for places by the name or text representation of specific properties of the place.

Sourcetype nonrec t = {
  1. country : GeocodeQueryComponentsCountryString.t option;
    (*

    The alpha-2 or alpha-3 character code for the country that the results will be present in.

    *)
  2. region : GeocodeQueryComponentsRegionString.t option;
    (*

    The region or state results should be to be present in. Example: North Rhine-Westphalia.

    *)
  3. subRegion : GeocodeQueryComponentsSubRegionString.t option;
    (*

    The sub-region or county for which results should be present in.

    *)
  4. locality : GeocodeQueryComponentsLocalityString.t option;
    (*

    The city or locality results should be present in. Example: Vancouver.

    *)
  5. district : GeocodeQueryComponentsDistrictString.t option;
    (*

    The district or division of a city the results should be present in.

    *)
  6. street : GeocodeQueryComponentsStreetString.t option;
    (*

    The name of the street results should be present in.

    *)
  7. addressNumber : GeocodeQueryComponentsAddressNumberString.t option;
    (*

    The house number or address results should have.

    *)
  8. postalCode : GeocodeQueryComponentsPostalCodeString.t option;
    (*

    An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should possess.

    *)
}
Sourceval make : ?country:??? -> ?region:??? -> ?subRegion:??? -> ?locality:??? -> ?district:??? -> ?street:??? -> ?addressNumber:??? -> ?postalCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of GeocodeQueryComponentsCountryString.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