source: vendor/google/apiclient-services/src/CivicInfo/Contest.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 13 days ago

Upload project files

  • Property mode set to 100644
File size: 8.2 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CivicInfo;
19
20class Contest extends \Google\Collection
21{
22 protected $collection_key = 'sources';
23 /**
24 * @var string
25 */
26 public $ballotPlacement;
27 /**
28 * @var string
29 */
30 public $ballotTitle;
31 protected $candidatesType = Candidate::class;
32 protected $candidatesDataType = 'array';
33 protected $districtType = ElectoralDistrict::class;
34 protected $districtDataType = '';
35 /**
36 * @var string
37 */
38 public $electorateSpecifications;
39 /**
40 * @var string[]
41 */
42 public $level;
43 /**
44 * @var string
45 */
46 public $numberElected;
47 /**
48 * @var string
49 */
50 public $numberVotingFor;
51 /**
52 * @var string
53 */
54 public $office;
55 /**
56 * @var string[]
57 */
58 public $primaryParties;
59 /**
60 * @var string[]
61 */
62 public $referendumBallotResponses;
63 /**
64 * @var string
65 */
66 public $referendumBrief;
67 /**
68 * @var string
69 */
70 public $referendumConStatement;
71 /**
72 * @var string
73 */
74 public $referendumEffectOfAbstain;
75 /**
76 * @var string
77 */
78 public $referendumPassageThreshold;
79 /**
80 * @var string
81 */
82 public $referendumProStatement;
83 /**
84 * @var string
85 */
86 public $referendumSubtitle;
87 /**
88 * @var string
89 */
90 public $referendumText;
91 /**
92 * @var string
93 */
94 public $referendumTitle;
95 /**
96 * @var string
97 */
98 public $referendumUrl;
99 /**
100 * @var string[]
101 */
102 public $roles;
103 protected $sourcesType = Source::class;
104 protected $sourcesDataType = 'array';
105 /**
106 * @var string
107 */
108 public $special;
109 /**
110 * @var string
111 */
112 public $type;
113
114 /**
115 * @param string
116 */
117 public function setBallotPlacement($ballotPlacement)
118 {
119 $this->ballotPlacement = $ballotPlacement;
120 }
121 /**
122 * @return string
123 */
124 public function getBallotPlacement()
125 {
126 return $this->ballotPlacement;
127 }
128 /**
129 * @param string
130 */
131 public function setBallotTitle($ballotTitle)
132 {
133 $this->ballotTitle = $ballotTitle;
134 }
135 /**
136 * @return string
137 */
138 public function getBallotTitle()
139 {
140 return $this->ballotTitle;
141 }
142 /**
143 * @param Candidate[]
144 */
145 public function setCandidates($candidates)
146 {
147 $this->candidates = $candidates;
148 }
149 /**
150 * @return Candidate[]
151 */
152 public function getCandidates()
153 {
154 return $this->candidates;
155 }
156 /**
157 * @param ElectoralDistrict
158 */
159 public function setDistrict(ElectoralDistrict $district)
160 {
161 $this->district = $district;
162 }
163 /**
164 * @return ElectoralDistrict
165 */
166 public function getDistrict()
167 {
168 return $this->district;
169 }
170 /**
171 * @param string
172 */
173 public function setElectorateSpecifications($electorateSpecifications)
174 {
175 $this->electorateSpecifications = $electorateSpecifications;
176 }
177 /**
178 * @return string
179 */
180 public function getElectorateSpecifications()
181 {
182 return $this->electorateSpecifications;
183 }
184 /**
185 * @param string[]
186 */
187 public function setLevel($level)
188 {
189 $this->level = $level;
190 }
191 /**
192 * @return string[]
193 */
194 public function getLevel()
195 {
196 return $this->level;
197 }
198 /**
199 * @param string
200 */
201 public function setNumberElected($numberElected)
202 {
203 $this->numberElected = $numberElected;
204 }
205 /**
206 * @return string
207 */
208 public function getNumberElected()
209 {
210 return $this->numberElected;
211 }
212 /**
213 * @param string
214 */
215 public function setNumberVotingFor($numberVotingFor)
216 {
217 $this->numberVotingFor = $numberVotingFor;
218 }
219 /**
220 * @return string
221 */
222 public function getNumberVotingFor()
223 {
224 return $this->numberVotingFor;
225 }
226 /**
227 * @param string
228 */
229 public function setOffice($office)
230 {
231 $this->office = $office;
232 }
233 /**
234 * @return string
235 */
236 public function getOffice()
237 {
238 return $this->office;
239 }
240 /**
241 * @param string[]
242 */
243 public function setPrimaryParties($primaryParties)
244 {
245 $this->primaryParties = $primaryParties;
246 }
247 /**
248 * @return string[]
249 */
250 public function getPrimaryParties()
251 {
252 return $this->primaryParties;
253 }
254 /**
255 * @param string[]
256 */
257 public function setReferendumBallotResponses($referendumBallotResponses)
258 {
259 $this->referendumBallotResponses = $referendumBallotResponses;
260 }
261 /**
262 * @return string[]
263 */
264 public function getReferendumBallotResponses()
265 {
266 return $this->referendumBallotResponses;
267 }
268 /**
269 * @param string
270 */
271 public function setReferendumBrief($referendumBrief)
272 {
273 $this->referendumBrief = $referendumBrief;
274 }
275 /**
276 * @return string
277 */
278 public function getReferendumBrief()
279 {
280 return $this->referendumBrief;
281 }
282 /**
283 * @param string
284 */
285 public function setReferendumConStatement($referendumConStatement)
286 {
287 $this->referendumConStatement = $referendumConStatement;
288 }
289 /**
290 * @return string
291 */
292 public function getReferendumConStatement()
293 {
294 return $this->referendumConStatement;
295 }
296 /**
297 * @param string
298 */
299 public function setReferendumEffectOfAbstain($referendumEffectOfAbstain)
300 {
301 $this->referendumEffectOfAbstain = $referendumEffectOfAbstain;
302 }
303 /**
304 * @return string
305 */
306 public function getReferendumEffectOfAbstain()
307 {
308 return $this->referendumEffectOfAbstain;
309 }
310 /**
311 * @param string
312 */
313 public function setReferendumPassageThreshold($referendumPassageThreshold)
314 {
315 $this->referendumPassageThreshold = $referendumPassageThreshold;
316 }
317 /**
318 * @return string
319 */
320 public function getReferendumPassageThreshold()
321 {
322 return $this->referendumPassageThreshold;
323 }
324 /**
325 * @param string
326 */
327 public function setReferendumProStatement($referendumProStatement)
328 {
329 $this->referendumProStatement = $referendumProStatement;
330 }
331 /**
332 * @return string
333 */
334 public function getReferendumProStatement()
335 {
336 return $this->referendumProStatement;
337 }
338 /**
339 * @param string
340 */
341 public function setReferendumSubtitle($referendumSubtitle)
342 {
343 $this->referendumSubtitle = $referendumSubtitle;
344 }
345 /**
346 * @return string
347 */
348 public function getReferendumSubtitle()
349 {
350 return $this->referendumSubtitle;
351 }
352 /**
353 * @param string
354 */
355 public function setReferendumText($referendumText)
356 {
357 $this->referendumText = $referendumText;
358 }
359 /**
360 * @return string
361 */
362 public function getReferendumText()
363 {
364 return $this->referendumText;
365 }
366 /**
367 * @param string
368 */
369 public function setReferendumTitle($referendumTitle)
370 {
371 $this->referendumTitle = $referendumTitle;
372 }
373 /**
374 * @return string
375 */
376 public function getReferendumTitle()
377 {
378 return $this->referendumTitle;
379 }
380 /**
381 * @param string
382 */
383 public function setReferendumUrl($referendumUrl)
384 {
385 $this->referendumUrl = $referendumUrl;
386 }
387 /**
388 * @return string
389 */
390 public function getReferendumUrl()
391 {
392 return $this->referendumUrl;
393 }
394 /**
395 * @param string[]
396 */
397 public function setRoles($roles)
398 {
399 $this->roles = $roles;
400 }
401 /**
402 * @return string[]
403 */
404 public function getRoles()
405 {
406 return $this->roles;
407 }
408 /**
409 * @param Source[]
410 */
411 public function setSources($sources)
412 {
413 $this->sources = $sources;
414 }
415 /**
416 * @return Source[]
417 */
418 public function getSources()
419 {
420 return $this->sources;
421 }
422 /**
423 * @param string
424 */
425 public function setSpecial($special)
426 {
427 $this->special = $special;
428 }
429 /**
430 * @return string
431 */
432 public function getSpecial()
433 {
434 return $this->special;
435 }
436 /**
437 * @param string
438 */
439 public function setType($type)
440 {
441 $this->type = $type;
442 }
443 /**
444 * @return string
445 */
446 public function getType()
447 {
448 return $this->type;
449 }
450}
451
452// Adding a class alias for backwards compatibility with the previous class name.
453class_alias(Contest::class, 'Google_Service_CivicInfo_Contest');
Note: See TracBrowser for help on using the repository browser.