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

Describes the geographic scope of a contest.

Attributes

  • id (String.t): 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. Defaults to: null.
  • kgForeignKey (String.t): Defaults to: null.
  • name (String.t): The name of the district. Defaults to: null.
  • scope (String.t): 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 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.ElectoralDistrict{
  id: any(),
  kgForeignKey: any(),
  name: any(),
  scope: 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.