google_api_partners v0.1.0 GoogleApi.Partners.V2.Model.Location View Source

A location with address and geographic coordinates. May optionally contain a detailed (multi-field) version of the address.

Attributes

  • address (String.t): The single string version of the address. Defaults to: null.
  • addressLine ([String.t]): The following address lines represent the most specific part of any address. Defaults to: null.
  • administrativeArea (String.t): Top-level administrative subdivision of this country. Defaults to: null.
  • dependentLocality (String.t): Dependent locality or sublocality. Used for UK dependent localities, or neighborhoods or boroughs in other locations. Defaults to: null.
  • languageCode (String.t): Language code of the address. Should be in BCP 47 format. Defaults to: null.
  • latLng (LatLng): The latitude and longitude of the location, in degrees. Defaults to: null.
  • locality (String.t): Generally refers to the city/town portion of an address. Defaults to: null.
  • postalCode (String.t): Values are frequently alphanumeric. Defaults to: null.
  • regionCode (String.t): CLDR (Common Locale Data Repository) region code . Defaults to: null.
  • sortingCode (String.t): Use of this code is very country-specific, but will refer to a secondary classification code for sorting mail. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Partners.V2.Model.Location{
  address: any(),
  addressLine: [any()],
  administrativeArea: any(),
  dependentLocality: any(),
  languageCode: any(),
  latLng: GoogleApi.Partners.V2.Model.LatLng.t(),
  locality: any(),
  postalCode: any(),
  regionCode: any(),
  sortingCode: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.