google_api_civic_info v0.8.0 GoogleApi.CivicInfo.V2.Model.SimpleAddressType View Source

A simple representation of an address.

Attributes

  • city (type: String.t, default: nil) - The city or town for the address.
  • line1 (type: String.t, default: nil) - The street name and number of this address.
  • line2 (type: String.t, default: nil) - The second line the address, if needed.
  • line3 (type: String.t, default: nil) - The third line of the address, if needed.
  • locationName (type: String.t, default: nil) - The name of the location.
  • state (type: String.t, default: nil) - The US two letter state abbreviation of the address.
  • zip (type: String.t, default: nil) - The US Postal Zip Code of the address.

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.CivicInfo.V2.Model.SimpleAddressType{
  city: String.t(),
  line1: String.t(),
  line2: String.t(),
  line3: String.t(),
  locationName: String.t(),
  state: String.t(),
  zip: String.t()
}

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.