GoogleApi.CivicInfo.V2.Model.CivicinfoSchemaV2SimpleAddressType (google_api_civic_info v0.26.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.CivicInfo.V2.Model.CivicinfoSchemaV2SimpleAddressType{
  city: String.t() | nil,
  line1: String.t() | nil,
  line2: String.t() | nil,
  line3: String.t() | nil,
  locationName: String.t() | nil,
  state: String.t() | nil,
  zip: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.