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

Describes the geographic scope of a contest.

Attributes

  • id (type: String.t, default: nil) - An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper.
  • kgForeignKey (type: String.t, default: nil) -
  • name (type: String.t, default: nil) - The name of the district.
  • scope (type: String.t, default: nil) - The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special

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.ElectoralDistrict{
  id: String.t(),
  kgForeignKey: String.t(),
  name: String.t(),
  scope: 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.