View Source GoogleApi.CivicInfo.V2.Model.AdministrationRegion (google_api_civic_info v0.22.0)

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.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CivicInfo.V2.Model.AdministrationRegion{
  electionAdministrationBody:
    GoogleApi.CivicInfo.V2.Model.AdministrativeBody.t() | nil,
  local_jurisdiction: t() | nil,
  name: String.t() | nil,
  sources: [GoogleApi.CivicInfo.V2.Model.Source.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.