google_api_civic_info v0.6.0 GoogleApi.CivicInfo.V2.Model.DivisionSearchResult View Source

Represents a political geographic division that matches the requested query.

Attributes

  • aliases (type: list(String.t), default: nil) - Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.
  • name (type: String.t, default: nil) - The name of the division.
  • ocdId (type: String.t, default: nil) - The unique Open Civic Data identifier for this division.

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.DivisionSearchResult{
  aliases: [String.t()],
  name: String.t(),
  ocdId: 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.