class Google::Apis::CivicinfoV2::AdministrationRegion
Describes information about a regional election administrative area.
Attributes
Information about an election administrative body (e.g. County Board of Elections). Corresponds to the JSON property `electionAdministrationBody` @return [Google::Apis::CivicinfoV2::AdministrativeBody]
Describes information about a regional election administrative area. Corresponds to the JSON property `local_jurisdiction` @return [Google::Apis::CivicinfoV2::AdministrationRegion]
The name of the jurisdiction. Corresponds to the JSON property `name` @return [String]
A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources. Corresponds to the JSON property `sources` @return [Array<Google::Apis::CivicinfoV2::Source>]
Public Class Methods
# File lib/google/apis/civicinfo_v2/classes.rb, line 51 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/civicinfo_v2/classes.rb, line 56 def update!(**args) @election_administration_body = args[:election_administration_body] if args.key?(:election_administration_body) @local_jurisdiction = args[:local_jurisdiction] if args.key?(:local_jurisdiction) @name = args[:name] if args.key?(:name) @sources = args[:sources] if args.key?(:sources) end