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

Represents a political geographic division that matches the requested query.

Attributes

  • aliases ([String.t]): 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. Defaults to: null.
  • name (String.t): The name of the division. Defaults to: null.
  • ocdId (String.t): The unique Open Civic Data identifier for this division. 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.CivicInfo.V2.Model.DivisionSearchResult{
  aliases: [any()],
  name: any(),
  ocdId: 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.