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

Describes information about a regional election administrative area.

Attributes

  • electionAdministrationBody (type: GoogleApi.CivicInfo.V2.Model.AdministrativeBody.t, default: nil) - The election administration body for this area.
  • id (type: String.t, default: nil) - An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
  • local_jurisdiction (type: GoogleApi.CivicInfo.V2.Model.AdministrationRegion.t, default: nil) - The city or county that provides election information for this voter. This object can have the same elements as state.
  • name (type: String.t, default: nil) - The name of the jurisdiction.
  • sources (type: list(GoogleApi.CivicInfo.V2.Model.Source.t), default: nil) - A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.

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.AdministrationRegion{
  electionAdministrationBody:
    GoogleApi.CivicInfo.V2.Model.AdministrativeBody.t(),
  id: String.t(),
  local_jurisdiction: GoogleApi.CivicInfo.V2.Model.AdministrationRegion.t(),
  name: String.t(),
  sources: [GoogleApi.CivicInfo.V2.Model.Source.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.