google-apis-civicinfo_v2 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-civicinfo_v2.rb +15 -0
- data/lib/google/apis/civicinfo_v2.rb +34 -0
- data/lib/google/apis/civicinfo_v2/classes.rb +1155 -0
- data/lib/google/apis/civicinfo_v2/gem_version.rb +28 -0
- data/lib/google/apis/civicinfo_v2/representations.rb +426 -0
- data/lib/google/apis/civicinfo_v2/service.rb +259 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module CivicinfoV2
|
18
|
+
# Version of the google-apis-civicinfo_v2 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201012"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,426 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CivicinfoV2
|
24
|
+
|
25
|
+
class AdministrationRegion
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AdministrativeBody
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Candidate
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Channel
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Contest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class SearchDivisionResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class DivisionSearchResult
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Election
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ElectionOfficial
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class QueryElectionsResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ElectoralDistrict
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GeographicDivision
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class Office
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Official
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class PollingLocation
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class RepresentativeInfoData
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class RepresentativeInfoResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class SimpleAddressType
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Source
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class VoterInfoResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class AdministrationRegion
|
146
|
+
# @private
|
147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
148
|
+
property :election_administration_body, as: 'electionAdministrationBody', class: Google::Apis::CivicinfoV2::AdministrativeBody, decorator: Google::Apis::CivicinfoV2::AdministrativeBody::Representation
|
149
|
+
|
150
|
+
property :local_jurisdiction, as: 'local_jurisdiction', class: Google::Apis::CivicinfoV2::AdministrationRegion, decorator: Google::Apis::CivicinfoV2::AdministrationRegion::Representation
|
151
|
+
|
152
|
+
property :name, as: 'name'
|
153
|
+
collection :sources, as: 'sources', class: Google::Apis::CivicinfoV2::Source, decorator: Google::Apis::CivicinfoV2::Source::Representation
|
154
|
+
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
class AdministrativeBody
|
159
|
+
# @private
|
160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
161
|
+
property :absentee_voting_info_url, as: 'absenteeVotingInfoUrl'
|
162
|
+
property :ballot_info_url, as: 'ballotInfoUrl'
|
163
|
+
property :correspondence_address, as: 'correspondenceAddress', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
164
|
+
|
165
|
+
property :election_info_url, as: 'electionInfoUrl'
|
166
|
+
property :election_notice_text, as: 'electionNoticeText'
|
167
|
+
property :election_notice_url, as: 'electionNoticeUrl'
|
168
|
+
collection :election_officials, as: 'electionOfficials', class: Google::Apis::CivicinfoV2::ElectionOfficial, decorator: Google::Apis::CivicinfoV2::ElectionOfficial::Representation
|
169
|
+
|
170
|
+
property :election_registration_confirmation_url, as: 'electionRegistrationConfirmationUrl'
|
171
|
+
property :election_registration_url, as: 'electionRegistrationUrl'
|
172
|
+
property :election_rules_url, as: 'electionRulesUrl'
|
173
|
+
property :hours_of_operation, as: 'hoursOfOperation'
|
174
|
+
property :name, as: 'name'
|
175
|
+
property :physical_address, as: 'physicalAddress', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
176
|
+
|
177
|
+
collection :voter_services, as: 'voter_services'
|
178
|
+
property :voting_location_finder_url, as: 'votingLocationFinderUrl'
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class Candidate
|
183
|
+
# @private
|
184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
185
|
+
property :candidate_url, as: 'candidateUrl'
|
186
|
+
collection :channels, as: 'channels', class: Google::Apis::CivicinfoV2::Channel, decorator: Google::Apis::CivicinfoV2::Channel::Representation
|
187
|
+
|
188
|
+
property :email, as: 'email'
|
189
|
+
property :name, as: 'name'
|
190
|
+
property :order_on_ballot, :numeric_string => true, as: 'orderOnBallot'
|
191
|
+
property :party, as: 'party'
|
192
|
+
property :phone, as: 'phone'
|
193
|
+
property :photo_url, as: 'photoUrl'
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
class Channel
|
198
|
+
# @private
|
199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
200
|
+
property :id, as: 'id'
|
201
|
+
property :type, as: 'type'
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
class Contest
|
206
|
+
# @private
|
207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
+
property :ballot_placement, :numeric_string => true, as: 'ballotPlacement'
|
209
|
+
property :ballot_title, as: 'ballotTitle'
|
210
|
+
collection :candidates, as: 'candidates', class: Google::Apis::CivicinfoV2::Candidate, decorator: Google::Apis::CivicinfoV2::Candidate::Representation
|
211
|
+
|
212
|
+
property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation
|
213
|
+
|
214
|
+
property :electorate_specifications, as: 'electorateSpecifications'
|
215
|
+
collection :level, as: 'level'
|
216
|
+
property :number_elected, :numeric_string => true, as: 'numberElected'
|
217
|
+
property :number_voting_for, :numeric_string => true, as: 'numberVotingFor'
|
218
|
+
property :office, as: 'office'
|
219
|
+
collection :primary_parties, as: 'primaryParties'
|
220
|
+
property :primary_party, as: 'primaryParty'
|
221
|
+
collection :referendum_ballot_responses, as: 'referendumBallotResponses'
|
222
|
+
property :referendum_brief, as: 'referendumBrief'
|
223
|
+
property :referendum_con_statement, as: 'referendumConStatement'
|
224
|
+
property :referendum_effect_of_abstain, as: 'referendumEffectOfAbstain'
|
225
|
+
property :referendum_passage_threshold, as: 'referendumPassageThreshold'
|
226
|
+
property :referendum_pro_statement, as: 'referendumProStatement'
|
227
|
+
property :referendum_subtitle, as: 'referendumSubtitle'
|
228
|
+
property :referendum_text, as: 'referendumText'
|
229
|
+
property :referendum_title, as: 'referendumTitle'
|
230
|
+
property :referendum_url, as: 'referendumUrl'
|
231
|
+
collection :roles, as: 'roles'
|
232
|
+
collection :sources, as: 'sources', class: Google::Apis::CivicinfoV2::Source, decorator: Google::Apis::CivicinfoV2::Source::Representation
|
233
|
+
|
234
|
+
property :special, as: 'special'
|
235
|
+
property :type, as: 'type'
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
class SearchDivisionResponse
|
240
|
+
# @private
|
241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
+
property :kind, as: 'kind'
|
243
|
+
collection :results, as: 'results', class: Google::Apis::CivicinfoV2::DivisionSearchResult, decorator: Google::Apis::CivicinfoV2::DivisionSearchResult::Representation
|
244
|
+
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
class DivisionSearchResult
|
249
|
+
# @private
|
250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
251
|
+
collection :aliases, as: 'aliases'
|
252
|
+
property :name, as: 'name'
|
253
|
+
property :ocd_id, as: 'ocdId'
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
class Election
|
258
|
+
# @private
|
259
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
260
|
+
property :election_day, as: 'electionDay'
|
261
|
+
property :id, :numeric_string => true, as: 'id'
|
262
|
+
property :name, as: 'name'
|
263
|
+
property :ocd_division_id, as: 'ocdDivisionId'
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class ElectionOfficial
|
268
|
+
# @private
|
269
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
270
|
+
property :email_address, as: 'emailAddress'
|
271
|
+
property :fax_number, as: 'faxNumber'
|
272
|
+
property :name, as: 'name'
|
273
|
+
property :office_phone_number, as: 'officePhoneNumber'
|
274
|
+
property :title, as: 'title'
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
class QueryElectionsResponse
|
279
|
+
# @private
|
280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
281
|
+
collection :elections, as: 'elections', class: Google::Apis::CivicinfoV2::Election, decorator: Google::Apis::CivicinfoV2::Election::Representation
|
282
|
+
|
283
|
+
property :kind, as: 'kind'
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
class ElectoralDistrict
|
288
|
+
# @private
|
289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
290
|
+
property :id, as: 'id'
|
291
|
+
property :name, as: 'name'
|
292
|
+
property :scope, as: 'scope'
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class GeographicDivision
|
297
|
+
# @private
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
collection :also_known_as, as: 'alsoKnownAs'
|
300
|
+
property :name, as: 'name'
|
301
|
+
collection :office_indices, as: 'officeIndices'
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
class Office
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
property :division_id, as: 'divisionId'
|
309
|
+
collection :levels, as: 'levels'
|
310
|
+
property :name, as: 'name'
|
311
|
+
collection :official_indices, as: 'officialIndices'
|
312
|
+
collection :roles, as: 'roles'
|
313
|
+
collection :sources, as: 'sources', class: Google::Apis::CivicinfoV2::Source, decorator: Google::Apis::CivicinfoV2::Source::Representation
|
314
|
+
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
class Official
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
collection :address, as: 'address', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
322
|
+
|
323
|
+
collection :channels, as: 'channels', class: Google::Apis::CivicinfoV2::Channel, decorator: Google::Apis::CivicinfoV2::Channel::Representation
|
324
|
+
|
325
|
+
collection :emails, as: 'emails'
|
326
|
+
property :name, as: 'name'
|
327
|
+
property :party, as: 'party'
|
328
|
+
collection :phones, as: 'phones'
|
329
|
+
property :photo_url, as: 'photoUrl'
|
330
|
+
collection :urls, as: 'urls'
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class PollingLocation
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :address, as: 'address', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
338
|
+
|
339
|
+
property :end_date, as: 'endDate'
|
340
|
+
property :latitude, as: 'latitude'
|
341
|
+
property :longitude, as: 'longitude'
|
342
|
+
property :name, as: 'name'
|
343
|
+
property :notes, as: 'notes'
|
344
|
+
property :polling_hours, as: 'pollingHours'
|
345
|
+
collection :sources, as: 'sources', class: Google::Apis::CivicinfoV2::Source, decorator: Google::Apis::CivicinfoV2::Source::Representation
|
346
|
+
|
347
|
+
property :start_date, as: 'startDate'
|
348
|
+
property :voter_services, as: 'voterServices'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class RepresentativeInfoData
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
hash :divisions, as: 'divisions', class: Google::Apis::CivicinfoV2::GeographicDivision, decorator: Google::Apis::CivicinfoV2::GeographicDivision::Representation
|
356
|
+
|
357
|
+
collection :offices, as: 'offices', class: Google::Apis::CivicinfoV2::Office, decorator: Google::Apis::CivicinfoV2::Office::Representation
|
358
|
+
|
359
|
+
collection :officials, as: 'officials', class: Google::Apis::CivicinfoV2::Official, decorator: Google::Apis::CivicinfoV2::Official::Representation
|
360
|
+
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class RepresentativeInfoResponse
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
hash :divisions, as: 'divisions', class: Google::Apis::CivicinfoV2::GeographicDivision, decorator: Google::Apis::CivicinfoV2::GeographicDivision::Representation
|
368
|
+
|
369
|
+
property :kind, as: 'kind'
|
370
|
+
property :normalized_input, as: 'normalizedInput', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
371
|
+
|
372
|
+
collection :offices, as: 'offices', class: Google::Apis::CivicinfoV2::Office, decorator: Google::Apis::CivicinfoV2::Office::Representation
|
373
|
+
|
374
|
+
collection :officials, as: 'officials', class: Google::Apis::CivicinfoV2::Official, decorator: Google::Apis::CivicinfoV2::Official::Representation
|
375
|
+
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
class SimpleAddressType
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :city, as: 'city'
|
383
|
+
property :line1, as: 'line1'
|
384
|
+
property :line2, as: 'line2'
|
385
|
+
property :line3, as: 'line3'
|
386
|
+
property :location_name, as: 'locationName'
|
387
|
+
property :state, as: 'state'
|
388
|
+
property :zip, as: 'zip'
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class Source
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
property :name, as: 'name'
|
396
|
+
property :official, as: 'official'
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class VoterInfoResponse
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
collection :contests, as: 'contests', class: Google::Apis::CivicinfoV2::Contest, decorator: Google::Apis::CivicinfoV2::Contest::Representation
|
404
|
+
|
405
|
+
collection :drop_off_locations, as: 'dropOffLocations', class: Google::Apis::CivicinfoV2::PollingLocation, decorator: Google::Apis::CivicinfoV2::PollingLocation::Representation
|
406
|
+
|
407
|
+
collection :early_vote_sites, as: 'earlyVoteSites', class: Google::Apis::CivicinfoV2::PollingLocation, decorator: Google::Apis::CivicinfoV2::PollingLocation::Representation
|
408
|
+
|
409
|
+
property :election, as: 'election', class: Google::Apis::CivicinfoV2::Election, decorator: Google::Apis::CivicinfoV2::Election::Representation
|
410
|
+
|
411
|
+
property :kind, as: 'kind'
|
412
|
+
property :mail_only, as: 'mailOnly'
|
413
|
+
property :normalized_input, as: 'normalizedInput', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
414
|
+
|
415
|
+
collection :other_elections, as: 'otherElections', class: Google::Apis::CivicinfoV2::Election, decorator: Google::Apis::CivicinfoV2::Election::Representation
|
416
|
+
|
417
|
+
collection :polling_locations, as: 'pollingLocations', class: Google::Apis::CivicinfoV2::PollingLocation, decorator: Google::Apis::CivicinfoV2::PollingLocation::Representation
|
418
|
+
|
419
|
+
property :precinct_id, as: 'precinctId'
|
420
|
+
collection :state, as: 'state', class: Google::Apis::CivicinfoV2::AdministrationRegion, decorator: Google::Apis::CivicinfoV2::AdministrationRegion::Representation
|
421
|
+
|
422
|
+
end
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|
426
|
+
end
|