| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 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 |
|
| 18 |
/** |
| 19 |
* Service definition for CivicInfo (us_v1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* An API for accessing civic information. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/civic-information" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Google_Service_CivicInfo extends Google_Service |
| 33 |
{ |
| 34 |
|
| 35 |
|
| 36 |
public $divisions; |
| 37 |
public $elections; |
| 38 |
public $representatives; |
| 39 |
|
| 40 |
|
| 41 |
/** |
| 42 |
* Constructs the internal representation of the CivicInfo service. |
| 43 |
* |
| 44 |
* @param Google_Client $client |
| 45 |
*/ |
| 46 |
public function __construct(Google_Client $client) |
| 47 |
{ |
| 48 |
parent::__construct($client); |
| 49 |
$this->servicePath = 'civicinfo/us_v1/'; |
| 50 |
$this->version = 'us_v1'; |
| 51 |
$this->serviceName = 'civicinfo'; |
| 52 |
|
| 53 |
$this->divisions = new Google_Service_CivicInfo_Divisions_Resource( |
| 54 |
$this, |
| 55 |
$this->serviceName, |
| 56 |
'divisions', |
| 57 |
array( |
| 58 |
'methods' => array( |
| 59 |
'search' => array( |
| 60 |
'path' => 'representatives/division_search', |
| 61 |
'httpMethod' => 'GET', |
| 62 |
'parameters' => array( |
| 63 |
'query' => array( |
| 64 |
'location' => 'query', |
| 65 |
'type' => 'string', |
| 66 |
), |
| 67 |
), |
| 68 |
), |
| 69 |
) |
| 70 |
) |
| 71 |
); |
| 72 |
$this->elections = new Google_Service_CivicInfo_Elections_Resource( |
| 73 |
$this, |
| 74 |
$this->serviceName, |
| 75 |
'elections', |
| 76 |
array( |
| 77 |
'methods' => array( |
| 78 |
'electionQuery' => array( |
| 79 |
'path' => 'elections', |
| 80 |
'httpMethod' => 'GET', |
| 81 |
'parameters' => array(), |
| 82 |
),'voterInfoQuery' => array( |
| 83 |
'path' => 'voterinfo/{electionId}/lookup', |
| 84 |
'httpMethod' => 'POST', |
| 85 |
'parameters' => array( |
| 86 |
'electionId' => array( |
| 87 |
'location' => 'path', |
| 88 |
'type' => 'string', |
| 89 |
'required' => true, |
| 90 |
), |
| 91 |
'officialOnly' => array( |
| 92 |
'location' => 'query', |
| 93 |
'type' => 'boolean', |
| 94 |
), |
| 95 |
), |
| 96 |
), |
| 97 |
) |
| 98 |
) |
| 99 |
); |
| 100 |
$this->representatives = new Google_Service_CivicInfo_Representatives_Resource( |
| 101 |
$this, |
| 102 |
$this->serviceName, |
| 103 |
'representatives', |
| 104 |
array( |
| 105 |
'methods' => array( |
| 106 |
'representativeInfoQuery' => array( |
| 107 |
'path' => 'representatives/lookup', |
| 108 |
'httpMethod' => 'POST', |
| 109 |
'parameters' => array( |
| 110 |
'ocdId' => array( |
| 111 |
'location' => 'query', |
| 112 |
'type' => 'string', |
| 113 |
), |
| 114 |
'includeOffices' => array( |
| 115 |
'location' => 'query', |
| 116 |
'type' => 'boolean', |
| 117 |
), |
| 118 |
), |
| 119 |
), |
| 120 |
) |
| 121 |
) |
| 122 |
); |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
|
| 127 |
/** |
| 128 |
* The "divisions" collection of methods. |
| 129 |
* Typical usage is: |
| 130 |
* <code> |
| 131 |
* $civicinfoService = new Google_Service_CivicInfo(...); |
| 132 |
* $divisions = $civicinfoService->divisions; |
| 133 |
* </code> |
| 134 |
*/ |
| 135 |
class Google_Service_CivicInfo_Divisions_Resource extends Google_Service_Resource |
| 136 |
{ |
| 137 |
|
| 138 |
/** |
| 139 |
* Searches for political divisions by their natural name or OCD ID. |
| 140 |
* (divisions.search) |
| 141 |
* |
| 142 |
* @param array $optParams Optional parameters. |
| 143 |
* |
| 144 |
* @opt_param string query |
| 145 |
* The search query. Queries can cover any parts of a OCD ID or a human readable division name. All |
| 146 |
* words given in the query are treated as required patterns. In addition to that, most query |
| 147 |
* operators of the Apache Lucene library are supported. See |
| 148 |
* http://lucene.apache.org/core/2_9_4/queryparsersyntax.html |
| 149 |
* @return Google_Service_CivicInfo_DivisionSearchResponse |
| 150 |
*/ |
| 151 |
public function search($optParams = array()) |
| 152 |
{ |
| 153 |
$params = array(); |
| 154 |
$params = array_merge($params, $optParams); |
| 155 |
return $this->call('search', array($params), "Google_Service_CivicInfo_DivisionSearchResponse"); |
| 156 |
} |
| 157 |
} |
| 158 |
|
| 159 |
/** |
| 160 |
* The "elections" collection of methods. |
| 161 |
* Typical usage is: |
| 162 |
* <code> |
| 163 |
* $civicinfoService = new Google_Service_CivicInfo(...); |
| 164 |
* $elections = $civicinfoService->elections; |
| 165 |
* </code> |
| 166 |
*/ |
| 167 |
class Google_Service_CivicInfo_Elections_Resource extends Google_Service_Resource |
| 168 |
{ |
| 169 |
|
| 170 |
/** |
| 171 |
* List of available elections to query. (elections.electionQuery) |
| 172 |
* |
| 173 |
* @param array $optParams Optional parameters. |
| 174 |
* @return Google_Service_CivicInfo_ElectionsQueryResponse |
| 175 |
*/ |
| 176 |
public function electionQuery($optParams = array()) |
| 177 |
{ |
| 178 |
$params = array(); |
| 179 |
$params = array_merge($params, $optParams); |
| 180 |
return $this->call('electionQuery', array($params), "Google_Service_CivicInfo_ElectionsQueryResponse"); |
| 181 |
} |
| 182 |
/** |
| 183 |
* Looks up information relevant to a voter based on the voter's registered |
| 184 |
* address. (elections.voterInfoQuery) |
| 185 |
* |
| 186 |
* @param string $electionId |
| 187 |
* The unique ID of the election to look up. A list of election IDs can be obtained at |
| 188 |
* https://www.googleapis.com/civicinfo/{version}/elections |
| 189 |
* @param Google_VoterInfoRequest $postBody |
| 190 |
* @param array $optParams Optional parameters. |
| 191 |
* |
| 192 |
* @opt_param bool officialOnly |
| 193 |
* If set to true, only data from official state sources will be returned. |
| 194 |
* @return Google_Service_CivicInfo_VoterInfoResponse |
| 195 |
*/ |
| 196 |
public function voterInfoQuery($electionId, Google_Service_CivicInfo_VoterInfoRequest $postBody, $optParams = array()) |
| 197 |
{ |
| 198 |
$params = array('electionId' => $electionId, 'postBody' => $postBody); |
| 199 |
$params = array_merge($params, $optParams); |
| 200 |
return $this->call('voterInfoQuery', array($params), "Google_Service_CivicInfo_VoterInfoResponse"); |
| 201 |
} |
| 202 |
} |
| 203 |
|
| 204 |
/** |
| 205 |
* The "representatives" collection of methods. |
| 206 |
* Typical usage is: |
| 207 |
* <code> |
| 208 |
* $civicinfoService = new Google_Service_CivicInfo(...); |
| 209 |
* $representatives = $civicinfoService->representatives; |
| 210 |
* </code> |
| 211 |
*/ |
| 212 |
class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_Resource |
| 213 |
{ |
| 214 |
|
| 215 |
/** |
| 216 |
* Looks up political geography and (optionally) representative information |
| 217 |
* based on an address. (representatives.representativeInfoQuery) |
| 218 |
* |
| 219 |
* @param Google_RepresentativeInfoRequest $postBody |
| 220 |
* @param array $optParams Optional parameters. |
| 221 |
* |
| 222 |
* @opt_param string ocdId |
| 223 |
* The division to look up. May only be specified if the address field is not given in the request |
| 224 |
* body. |
| 225 |
* @opt_param bool includeOffices |
| 226 |
* Whether to return information about offices and officials. If false, only the top-level district |
| 227 |
* information will be returned. |
| 228 |
* @return Google_Service_CivicInfo_RepresentativeInfoResponse |
| 229 |
*/ |
| 230 |
public function representativeInfoQuery(Google_Service_CivicInfo_RepresentativeInfoRequest $postBody, $optParams = array()) |
| 231 |
{ |
| 232 |
$params = array('postBody' => $postBody); |
| 233 |
$params = array_merge($params, $optParams); |
| 234 |
return $this->call('representativeInfoQuery', array($params), "Google_Service_CivicInfo_RepresentativeInfoResponse"); |
| 235 |
} |
| 236 |
} |
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
class Google_Service_CivicInfo_AdministrationRegion extends Google_Collection |
| 242 |
{ |
| 243 |
protected $electionAdministrationBodyType = 'Google_Service_CivicInfo_AdministrativeBody'; |
| 244 |
protected $electionAdministrationBodyDataType = ''; |
| 245 |
public $id; |
| 246 |
protected $localJurisdictionType = 'Google_Service_CivicInfo_AdministrationRegion'; |
| 247 |
protected $localJurisdictionDataType = ''; |
| 248 |
public $name; |
| 249 |
protected $sourcesType = 'Google_Service_CivicInfo_Source'; |
| 250 |
protected $sourcesDataType = 'array'; |
| 251 |
|
| 252 |
public function setElectionAdministrationBody(Google_Service_CivicInfo_AdministrativeBody $electionAdministrationBody) |
| 253 |
{ |
| 254 |
$this->electionAdministrationBody = $electionAdministrationBody; |
| 255 |
} |
| 256 |
|
| 257 |
public function getElectionAdministrationBody() |
| 258 |
{ |
| 259 |
return $this->electionAdministrationBody; |
| 260 |
} |
| 261 |
|
| 262 |
public function setId($id) |
| 263 |
{ |
| 264 |
$this->id = $id; |
| 265 |
} |
| 266 |
|
| 267 |
public function getId() |
| 268 |
{ |
| 269 |
return $this->id; |
| 270 |
} |
| 271 |
|
| 272 |
public function setLocalJurisdiction(Google_Service_CivicInfo_AdministrationRegion $localJurisdiction) |
| 273 |
{ |
| 274 |
$this->localJurisdiction = $localJurisdiction; |
| 275 |
} |
| 276 |
|
| 277 |
public function getLocalJurisdiction() |
| 278 |
{ |
| 279 |
return $this->localJurisdiction; |
| 280 |
} |
| 281 |
|
| 282 |
public function setName($name) |
| 283 |
{ |
| 284 |
$this->name = $name; |
| 285 |
} |
| 286 |
|
| 287 |
public function getName() |
| 288 |
{ |
| 289 |
return $this->name; |
| 290 |
} |
| 291 |
|
| 292 |
public function setSources($sources) |
| 293 |
{ |
| 294 |
$this->sources = $sources; |
| 295 |
} |
| 296 |
|
| 297 |
public function getSources() |
| 298 |
{ |
| 299 |
return $this->sources; |
| 300 |
} |
| 301 |
} |
| 302 |
|
| 303 |
class Google_Service_CivicInfo_AdministrativeBody extends Google_Collection |
| 304 |
{ |
| 305 |
public $absenteeVotingInfoUrl; |
| 306 |
public $ballotInfoUrl; |
| 307 |
protected $correspondenceAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 308 |
protected $correspondenceAddressDataType = ''; |
| 309 |
public $electionInfoUrl; |
| 310 |
protected $electionOfficialsType = 'Google_Service_CivicInfo_ElectionOfficial'; |
| 311 |
protected $electionOfficialsDataType = 'array'; |
| 312 |
public $electionRegistrationConfirmationUrl; |
| 313 |
public $electionRegistrationUrl; |
| 314 |
public $electionRulesUrl; |
| 315 |
public $hoursOfOperation; |
| 316 |
public $name; |
| 317 |
protected $physicalAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 318 |
protected $physicalAddressDataType = ''; |
| 319 |
public $voterServices; |
| 320 |
public $votingLocationFinderUrl; |
| 321 |
|
| 322 |
public function setAbsenteeVotingInfoUrl($absenteeVotingInfoUrl) |
| 323 |
{ |
| 324 |
$this->absenteeVotingInfoUrl = $absenteeVotingInfoUrl; |
| 325 |
} |
| 326 |
|
| 327 |
public function getAbsenteeVotingInfoUrl() |
| 328 |
{ |
| 329 |
return $this->absenteeVotingInfoUrl; |
| 330 |
} |
| 331 |
|
| 332 |
public function setBallotInfoUrl($ballotInfoUrl) |
| 333 |
{ |
| 334 |
$this->ballotInfoUrl = $ballotInfoUrl; |
| 335 |
} |
| 336 |
|
| 337 |
public function getBallotInfoUrl() |
| 338 |
{ |
| 339 |
return $this->ballotInfoUrl; |
| 340 |
} |
| 341 |
|
| 342 |
public function setCorrespondenceAddress(Google_Service_CivicInfo_SimpleAddressType $correspondenceAddress) |
| 343 |
{ |
| 344 |
$this->correspondenceAddress = $correspondenceAddress; |
| 345 |
} |
| 346 |
|
| 347 |
public function getCorrespondenceAddress() |
| 348 |
{ |
| 349 |
return $this->correspondenceAddress; |
| 350 |
} |
| 351 |
|
| 352 |
public function setElectionInfoUrl($electionInfoUrl) |
| 353 |
{ |
| 354 |
$this->electionInfoUrl = $electionInfoUrl; |
| 355 |
} |
| 356 |
|
| 357 |
public function getElectionInfoUrl() |
| 358 |
{ |
| 359 |
return $this->electionInfoUrl; |
| 360 |
} |
| 361 |
|
| 362 |
public function setElectionOfficials($electionOfficials) |
| 363 |
{ |
| 364 |
$this->electionOfficials = $electionOfficials; |
| 365 |
} |
| 366 |
|
| 367 |
public function getElectionOfficials() |
| 368 |
{ |
| 369 |
return $this->electionOfficials; |
| 370 |
} |
| 371 |
|
| 372 |
public function setElectionRegistrationConfirmationUrl($electionRegistrationConfirmationUrl) |
| 373 |
{ |
| 374 |
$this->electionRegistrationConfirmationUrl = $electionRegistrationConfirmationUrl; |
| 375 |
} |
| 376 |
|
| 377 |
public function getElectionRegistrationConfirmationUrl() |
| 378 |
{ |
| 379 |
return $this->electionRegistrationConfirmationUrl; |
| 380 |
} |
| 381 |
|
| 382 |
public function setElectionRegistrationUrl($electionRegistrationUrl) |
| 383 |
{ |
| 384 |
$this->electionRegistrationUrl = $electionRegistrationUrl; |
| 385 |
} |
| 386 |
|
| 387 |
public function getElectionRegistrationUrl() |
| 388 |
{ |
| 389 |
return $this->electionRegistrationUrl; |
| 390 |
} |
| 391 |
|
| 392 |
public function setElectionRulesUrl($electionRulesUrl) |
| 393 |
{ |
| 394 |
$this->electionRulesUrl = $electionRulesUrl; |
| 395 |
} |
| 396 |
|
| 397 |
public function getElectionRulesUrl() |
| 398 |
{ |
| 399 |
return $this->electionRulesUrl; |
| 400 |
} |
| 401 |
|
| 402 |
public function setHoursOfOperation($hoursOfOperation) |
| 403 |
{ |
| 404 |
$this->hoursOfOperation = $hoursOfOperation; |
| 405 |
} |
| 406 |
|
| 407 |
public function getHoursOfOperation() |
| 408 |
{ |
| 409 |
return $this->hoursOfOperation; |
| 410 |
} |
| 411 |
|
| 412 |
public function setName($name) |
| 413 |
{ |
| 414 |
$this->name = $name; |
| 415 |
} |
| 416 |
|
| 417 |
public function getName() |
| 418 |
{ |
| 419 |
return $this->name; |
| 420 |
} |
| 421 |
|
| 422 |
public function setPhysicalAddress(Google_Service_CivicInfo_SimpleAddressType $physicalAddress) |
| 423 |
{ |
| 424 |
$this->physicalAddress = $physicalAddress; |
| 425 |
} |
| 426 |
|
| 427 |
public function getPhysicalAddress() |
| 428 |
{ |
| 429 |
return $this->physicalAddress; |
| 430 |
} |
| 431 |
|
| 432 |
public function setVoterServices($voterServices) |
| 433 |
{ |
| 434 |
$this->voterServices = $voterServices; |
| 435 |
} |
| 436 |
|
| 437 |
public function getVoterServices() |
| 438 |
{ |
| 439 |
return $this->voterServices; |
| 440 |
} |
| 441 |
|
| 442 |
public function setVotingLocationFinderUrl($votingLocationFinderUrl) |
| 443 |
{ |
| 444 |
$this->votingLocationFinderUrl = $votingLocationFinderUrl; |
| 445 |
} |
| 446 |
|
| 447 |
public function getVotingLocationFinderUrl() |
| 448 |
{ |
| 449 |
return $this->votingLocationFinderUrl; |
| 450 |
} |
| 451 |
} |
| 452 |
|
| 453 |
class Google_Service_CivicInfo_Candidate extends Google_Collection |
| 454 |
{ |
| 455 |
public $candidateUrl; |
| 456 |
protected $channelsType = 'Google_Service_CivicInfo_Channel'; |
| 457 |
protected $channelsDataType = 'array'; |
| 458 |
public $email; |
| 459 |
public $name; |
| 460 |
public $orderOnBallot; |
| 461 |
public $party; |
| 462 |
public $phone; |
| 463 |
public $photoUrl; |
| 464 |
|
| 465 |
public function setCandidateUrl($candidateUrl) |
| 466 |
{ |
| 467 |
$this->candidateUrl = $candidateUrl; |
| 468 |
} |
| 469 |
|
| 470 |
public function getCandidateUrl() |
| 471 |
{ |
| 472 |
return $this->candidateUrl; |
| 473 |
} |
| 474 |
|
| 475 |
public function setChannels($channels) |
| 476 |
{ |
| 477 |
$this->channels = $channels; |
| 478 |
} |
| 479 |
|
| 480 |
public function getChannels() |
| 481 |
{ |
| 482 |
return $this->channels; |
| 483 |
} |
| 484 |
|
| 485 |
public function setEmail($email) |
| 486 |
{ |
| 487 |
$this->email = $email; |
| 488 |
} |
| 489 |
|
| 490 |
public function getEmail() |
| 491 |
{ |
| 492 |
return $this->email; |
| 493 |
} |
| 494 |
|
| 495 |
public function setName($name) |
| 496 |
{ |
| 497 |
$this->name = $name; |
| 498 |
} |
| 499 |
|
| 500 |
public function getName() |
| 501 |
{ |
| 502 |
return $this->name; |
| 503 |
} |
| 504 |
|
| 505 |
public function setOrderOnBallot($orderOnBallot) |
| 506 |
{ |
| 507 |
$this->orderOnBallot = $orderOnBallot; |
| 508 |
} |
| 509 |
|
| 510 |
public function getOrderOnBallot() |
| 511 |
{ |
| 512 |
return $this->orderOnBallot; |
| 513 |
} |
| 514 |
|
| 515 |
public function setParty($party) |
| 516 |
{ |
| 517 |
$this->party = $party; |
| 518 |
} |
| 519 |
|
| 520 |
public function getParty() |
| 521 |
{ |
| 522 |
return $this->party; |
| 523 |
} |
| 524 |
|
| 525 |
public function setPhone($phone) |
| 526 |
{ |
| 527 |
$this->phone = $phone; |
| 528 |
} |
| 529 |
|
| 530 |
public function getPhone() |
| 531 |
{ |
| 532 |
return $this->phone; |
| 533 |
} |
| 534 |
|
| 535 |
public function setPhotoUrl($photoUrl) |
| 536 |
{ |
| 537 |
$this->photoUrl = $photoUrl; |
| 538 |
} |
| 539 |
|
| 540 |
public function getPhotoUrl() |
| 541 |
{ |
| 542 |
return $this->photoUrl; |
| 543 |
} |
| 544 |
} |
| 545 |
|
| 546 |
class Google_Service_CivicInfo_Channel extends Google_Model |
| 547 |
{ |
| 548 |
public $id; |
| 549 |
public $type; |
| 550 |
|
| 551 |
public function setId($id) |
| 552 |
{ |
| 553 |
$this->id = $id; |
| 554 |
} |
| 555 |
|
| 556 |
public function getId() |
| 557 |
{ |
| 558 |
return $this->id; |
| 559 |
} |
| 560 |
|
| 561 |
public function setType($type) |
| 562 |
{ |
| 563 |
$this->type = $type; |
| 564 |
} |
| 565 |
|
| 566 |
public function getType() |
| 567 |
{ |
| 568 |
return $this->type; |
| 569 |
} |
| 570 |
} |
| 571 |
|
| 572 |
class Google_Service_CivicInfo_Contest extends Google_Collection |
| 573 |
{ |
| 574 |
public $ballotPlacement; |
| 575 |
protected $candidatesType = 'Google_Service_CivicInfo_Candidate'; |
| 576 |
protected $candidatesDataType = 'array'; |
| 577 |
protected $districtType = 'Google_Service_CivicInfo_ElectoralDistrict'; |
| 578 |
protected $districtDataType = ''; |
| 579 |
public $electorateSpecifications; |
| 580 |
public $id; |
| 581 |
public $level; |
| 582 |
public $numberElected; |
| 583 |
public $numberVotingFor; |
| 584 |
public $office; |
| 585 |
public $primaryParty; |
| 586 |
public $referendumSubtitle; |
| 587 |
public $referendumTitle; |
| 588 |
public $referendumUrl; |
| 589 |
protected $sourcesType = 'Google_Service_CivicInfo_Source'; |
| 590 |
protected $sourcesDataType = 'array'; |
| 591 |
public $special; |
| 592 |
public $type; |
| 593 |
|
| 594 |
public function setBallotPlacement($ballotPlacement) |
| 595 |
{ |
| 596 |
$this->ballotPlacement = $ballotPlacement; |
| 597 |
} |
| 598 |
|
| 599 |
public function getBallotPlacement() |
| 600 |
{ |
| 601 |
return $this->ballotPlacement; |
| 602 |
} |
| 603 |
|
| 604 |
public function setCandidates($candidates) |
| 605 |
{ |
| 606 |
$this->candidates = $candidates; |
| 607 |
} |
| 608 |
|
| 609 |
public function getCandidates() |
| 610 |
{ |
| 611 |
return $this->candidates; |
| 612 |
} |
| 613 |
|
| 614 |
public function setDistrict(Google_Service_CivicInfo_ElectoralDistrict $district) |
| 615 |
{ |
| 616 |
$this->district = $district; |
| 617 |
} |
| 618 |
|
| 619 |
public function getDistrict() |
| 620 |
{ |
| 621 |
return $this->district; |
| 622 |
} |
| 623 |
|
| 624 |
public function setElectorateSpecifications($electorateSpecifications) |
| 625 |
{ |
| 626 |
$this->electorateSpecifications = $electorateSpecifications; |
| 627 |
} |
| 628 |
|
| 629 |
public function getElectorateSpecifications() |
| 630 |
{ |
| 631 |
return $this->electorateSpecifications; |
| 632 |
} |
| 633 |
|
| 634 |
public function setId($id) |
| 635 |
{ |
| 636 |
$this->id = $id; |
| 637 |
} |
| 638 |
|
| 639 |
public function getId() |
| 640 |
{ |
| 641 |
return $this->id; |
| 642 |
} |
| 643 |
|
| 644 |
public function setLevel($level) |
| 645 |
{ |
| 646 |
$this->level = $level; |
| 647 |
} |
| 648 |
|
| 649 |
public function getLevel() |
| 650 |
{ |
| 651 |
return $this->level; |
| 652 |
} |
| 653 |
|
| 654 |
public function setNumberElected($numberElected) |
| 655 |
{ |
| 656 |
$this->numberElected = $numberElected; |
| 657 |
} |
| 658 |
|
| 659 |
public function getNumberElected() |
| 660 |
{ |
| 661 |
return $this->numberElected; |
| 662 |
} |
| 663 |
|
| 664 |
public function setNumberVotingFor($numberVotingFor) |
| 665 |
{ |
| 666 |
$this->numberVotingFor = $numberVotingFor; |
| 667 |
} |
| 668 |
|
| 669 |
public function getNumberVotingFor() |
| 670 |
{ |
| 671 |
return $this->numberVotingFor; |
| 672 |
} |
| 673 |
|
| 674 |
public function setOffice($office) |
| 675 |
{ |
| 676 |
$this->office = $office; |
| 677 |
} |
| 678 |
|
| 679 |
public function getOffice() |
| 680 |
{ |
| 681 |
return $this->office; |
| 682 |
} |
| 683 |
|
| 684 |
public function setPrimaryParty($primaryParty) |
| 685 |
{ |
| 686 |
$this->primaryParty = $primaryParty; |
| 687 |
} |
| 688 |
|
| 689 |
public function getPrimaryParty() |
| 690 |
{ |
| 691 |
return $this->primaryParty; |
| 692 |
} |
| 693 |
|
| 694 |
public function setReferendumSubtitle($referendumSubtitle) |
| 695 |
{ |
| 696 |
$this->referendumSubtitle = $referendumSubtitle; |
| 697 |
} |
| 698 |
|
| 699 |
public function getReferendumSubtitle() |
| 700 |
{ |
| 701 |
return $this->referendumSubtitle; |
| 702 |
} |
| 703 |
|
| 704 |
public function setReferendumTitle($referendumTitle) |
| 705 |
{ |
| 706 |
$this->referendumTitle = $referendumTitle; |
| 707 |
} |
| 708 |
|
| 709 |
public function getReferendumTitle() |
| 710 |
{ |
| 711 |
return $this->referendumTitle; |
| 712 |
} |
| 713 |
|
| 714 |
public function setReferendumUrl($referendumUrl) |
| 715 |
{ |
| 716 |
$this->referendumUrl = $referendumUrl; |
| 717 |
} |
| 718 |
|
| 719 |
public function getReferendumUrl() |
| 720 |
{ |
| 721 |
return $this->referendumUrl; |
| 722 |
} |
| 723 |
|
| 724 |
public function setSources($sources) |
| 725 |
{ |
| 726 |
$this->sources = $sources; |
| 727 |
} |
| 728 |
|
| 729 |
public function getSources() |
| 730 |
{ |
| 731 |
return $this->sources; |
| 732 |
} |
| 733 |
|
| 734 |
public function setSpecial($special) |
| 735 |
{ |
| 736 |
$this->special = $special; |
| 737 |
} |
| 738 |
|
| 739 |
public function getSpecial() |
| 740 |
{ |
| 741 |
return $this->special; |
| 742 |
} |
| 743 |
|
| 744 |
public function setType($type) |
| 745 |
{ |
| 746 |
$this->type = $type; |
| 747 |
} |
| 748 |
|
| 749 |
public function getType() |
| 750 |
{ |
| 751 |
return $this->type; |
| 752 |
} |
| 753 |
} |
| 754 |
|
| 755 |
class Google_Service_CivicInfo_DivisionSearchResponse extends Google_Collection |
| 756 |
{ |
| 757 |
public $kind; |
| 758 |
protected $resultsType = 'Google_Service_CivicInfo_DivisionSearchResult'; |
| 759 |
protected $resultsDataType = 'array'; |
| 760 |
public $status; |
| 761 |
|
| 762 |
public function setKind($kind) |
| 763 |
{ |
| 764 |
$this->kind = $kind; |
| 765 |
} |
| 766 |
|
| 767 |
public function getKind() |
| 768 |
{ |
| 769 |
return $this->kind; |
| 770 |
} |
| 771 |
|
| 772 |
public function setResults($results) |
| 773 |
{ |
| 774 |
$this->results = $results; |
| 775 |
} |
| 776 |
|
| 777 |
public function getResults() |
| 778 |
{ |
| 779 |
return $this->results; |
| 780 |
} |
| 781 |
|
| 782 |
public function setStatus($status) |
| 783 |
{ |
| 784 |
$this->status = $status; |
| 785 |
} |
| 786 |
|
| 787 |
public function getStatus() |
| 788 |
{ |
| 789 |
return $this->status; |
| 790 |
} |
| 791 |
} |
| 792 |
|
| 793 |
class Google_Service_CivicInfo_DivisionSearchResult extends Google_Model |
| 794 |
{ |
| 795 |
public $name; |
| 796 |
public $ocdId; |
| 797 |
|
| 798 |
public function setName($name) |
| 799 |
{ |
| 800 |
$this->name = $name; |
| 801 |
} |
| 802 |
|
| 803 |
public function getName() |
| 804 |
{ |
| 805 |
return $this->name; |
| 806 |
} |
| 807 |
|
| 808 |
public function setOcdId($ocdId) |
| 809 |
{ |
| 810 |
$this->ocdId = $ocdId; |
| 811 |
} |
| 812 |
|
| 813 |
public function getOcdId() |
| 814 |
{ |
| 815 |
return $this->ocdId; |
| 816 |
} |
| 817 |
} |
| 818 |
|
| 819 |
class Google_Service_CivicInfo_Election extends Google_Model |
| 820 |
{ |
| 821 |
public $electionDay; |
| 822 |
public $id; |
| 823 |
public $name; |
| 824 |
|
| 825 |
public function setElectionDay($electionDay) |
| 826 |
{ |
| 827 |
$this->electionDay = $electionDay; |
| 828 |
} |
| 829 |
|
| 830 |
public function getElectionDay() |
| 831 |
{ |
| 832 |
return $this->electionDay; |
| 833 |
} |
| 834 |
|
| 835 |
public function setId($id) |
| 836 |
{ |
| 837 |
$this->id = $id; |
| 838 |
} |
| 839 |
|
| 840 |
public function getId() |
| 841 |
{ |
| 842 |
return $this->id; |
| 843 |
} |
| 844 |
|
| 845 |
public function setName($name) |
| 846 |
{ |
| 847 |
$this->name = $name; |
| 848 |
} |
| 849 |
|
| 850 |
public function getName() |
| 851 |
{ |
| 852 |
return $this->name; |
| 853 |
} |
| 854 |
} |
| 855 |
|
| 856 |
class Google_Service_CivicInfo_ElectionOfficial extends Google_Model |
| 857 |
{ |
| 858 |
public $emailAddress; |
| 859 |
public $faxNumber; |
| 860 |
public $name; |
| 861 |
public $officePhoneNumber; |
| 862 |
public $title; |
| 863 |
|
| 864 |
public function setEmailAddress($emailAddress) |
| 865 |
{ |
| 866 |
$this->emailAddress = $emailAddress; |
| 867 |
} |
| 868 |
|
| 869 |
public function getEmailAddress() |
| 870 |
{ |
| 871 |
return $this->emailAddress; |
| 872 |
} |
| 873 |
|
| 874 |
public function setFaxNumber($faxNumber) |
| 875 |
{ |
| 876 |
$this->faxNumber = $faxNumber; |
| 877 |
} |
| 878 |
|
| 879 |
public function getFaxNumber() |
| 880 |
{ |
| 881 |
return $this->faxNumber; |
| 882 |
} |
| 883 |
|
| 884 |
public function setName($name) |
| 885 |
{ |
| 886 |
$this->name = $name; |
| 887 |
} |
| 888 |
|
| 889 |
public function getName() |
| 890 |
{ |
| 891 |
return $this->name; |
| 892 |
} |
| 893 |
|
| 894 |
public function setOfficePhoneNumber($officePhoneNumber) |
| 895 |
{ |
| 896 |
$this->officePhoneNumber = $officePhoneNumber; |
| 897 |
} |
| 898 |
|
| 899 |
public function getOfficePhoneNumber() |
| 900 |
{ |
| 901 |
return $this->officePhoneNumber; |
| 902 |
} |
| 903 |
|
| 904 |
public function setTitle($title) |
| 905 |
{ |
| 906 |
$this->title = $title; |
| 907 |
} |
| 908 |
|
| 909 |
public function getTitle() |
| 910 |
{ |
| 911 |
return $this->title; |
| 912 |
} |
| 913 |
} |
| 914 |
|
| 915 |
class Google_Service_CivicInfo_ElectionsQueryResponse extends Google_Collection |
| 916 |
{ |
| 917 |
protected $electionsType = 'Google_Service_CivicInfo_Election'; |
| 918 |
protected $electionsDataType = 'array'; |
| 919 |
public $kind; |
| 920 |
|
| 921 |
public function setElections($elections) |
| 922 |
{ |
| 923 |
$this->elections = $elections; |
| 924 |
} |
| 925 |
|
| 926 |
public function getElections() |
| 927 |
{ |
| 928 |
return $this->elections; |
| 929 |
} |
| 930 |
|
| 931 |
public function setKind($kind) |
| 932 |
{ |
| 933 |
$this->kind = $kind; |
| 934 |
} |
| 935 |
|
| 936 |
public function getKind() |
| 937 |
{ |
| 938 |
return $this->kind; |
| 939 |
} |
| 940 |
} |
| 941 |
|
| 942 |
class Google_Service_CivicInfo_ElectoralDistrict extends Google_Model |
| 943 |
{ |
| 944 |
public $id; |
| 945 |
public $name; |
| 946 |
public $scope; |
| 947 |
|
| 948 |
public function setId($id) |
| 949 |
{ |
| 950 |
$this->id = $id; |
| 951 |
} |
| 952 |
|
| 953 |
public function getId() |
| 954 |
{ |
| 955 |
return $this->id; |
| 956 |
} |
| 957 |
|
| 958 |
public function setName($name) |
| 959 |
{ |
| 960 |
$this->name = $name; |
| 961 |
} |
| 962 |
|
| 963 |
public function getName() |
| 964 |
{ |
| 965 |
return $this->name; |
| 966 |
} |
| 967 |
|
| 968 |
public function setScope($scope) |
| 969 |
{ |
| 970 |
$this->scope = $scope; |
| 971 |
} |
| 972 |
|
| 973 |
public function getScope() |
| 974 |
{ |
| 975 |
return $this->scope; |
| 976 |
} |
| 977 |
} |
| 978 |
|
| 979 |
class Google_Service_CivicInfo_GeographicDivision extends Google_Collection |
| 980 |
{ |
| 981 |
public $name; |
| 982 |
public $officeIds; |
| 983 |
public $scope; |
| 984 |
|
| 985 |
public function setName($name) |
| 986 |
{ |
| 987 |
$this->name = $name; |
| 988 |
} |
| 989 |
|
| 990 |
public function getName() |
| 991 |
{ |
| 992 |
return $this->name; |
| 993 |
} |
| 994 |
|
| 995 |
public function setOfficeIds($officeIds) |
| 996 |
{ |
| 997 |
$this->officeIds = $officeIds; |
| 998 |
} |
| 999 |
|
| 1000 |
public function getOfficeIds() |
| 1001 |
{ |
| 1002 |
return $this->officeIds; |
| 1003 |
} |
| 1004 |
|
| 1005 |
public function setScope($scope) |
| 1006 |
{ |
| 1007 |
$this->scope = $scope; |
| 1008 |
} |
| 1009 |
|
| 1010 |
public function getScope() |
| 1011 |
{ |
| 1012 |
return $this->scope; |
| 1013 |
} |
| 1014 |
} |
| 1015 |
|
| 1016 |
class Google_Service_CivicInfo_Office extends Google_Collection |
| 1017 |
{ |
| 1018 |
public $level; |
| 1019 |
public $name; |
| 1020 |
public $officialIds; |
| 1021 |
protected $sourcesType = 'Google_Service_CivicInfo_Source'; |
| 1022 |
protected $sourcesDataType = 'array'; |
| 1023 |
|
| 1024 |
public function setLevel($level) |
| 1025 |
{ |
| 1026 |
$this->level = $level; |
| 1027 |
} |
| 1028 |
|
| 1029 |
public function getLevel() |
| 1030 |
{ |
| 1031 |
return $this->level; |
| 1032 |
} |
| 1033 |
|
| 1034 |
public function setName($name) |
| 1035 |
{ |
| 1036 |
$this->name = $name; |
| 1037 |
} |
| 1038 |
|
| 1039 |
public function getName() |
| 1040 |
{ |
| 1041 |
return $this->name; |
| 1042 |
} |
| 1043 |
|
| 1044 |
public function setOfficialIds($officialIds) |
| 1045 |
{ |
| 1046 |
$this->officialIds = $officialIds; |
| 1047 |
} |
| 1048 |
|
| 1049 |
public function getOfficialIds() |
| 1050 |
{ |
| 1051 |
return $this->officialIds; |
| 1052 |
} |
| 1053 |
|
| 1054 |
public function setSources($sources) |
| 1055 |
{ |
| 1056 |
$this->sources = $sources; |
| 1057 |
} |
| 1058 |
|
| 1059 |
public function getSources() |
| 1060 |
{ |
| 1061 |
return $this->sources; |
| 1062 |
} |
| 1063 |
} |
| 1064 |
|
| 1065 |
class Google_Service_CivicInfo_Official extends Google_Collection |
| 1066 |
{ |
| 1067 |
protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 1068 |
protected $addressDataType = 'array'; |
| 1069 |
protected $channelsType = 'Google_Service_CivicInfo_Channel'; |
| 1070 |
protected $channelsDataType = 'array'; |
| 1071 |
public $emails; |
| 1072 |
public $name; |
| 1073 |
public $party; |
| 1074 |
public $phones; |
| 1075 |
public $photoUrl; |
| 1076 |
public $urls; |
| 1077 |
|
| 1078 |
public function setAddress($address) |
| 1079 |
{ |
| 1080 |
$this->address = $address; |
| 1081 |
} |
| 1082 |
|
| 1083 |
public function getAddress() |
| 1084 |
{ |
| 1085 |
return $this->address; |
| 1086 |
} |
| 1087 |
|
| 1088 |
public function setChannels($channels) |
| 1089 |
{ |
| 1090 |
$this->channels = $channels; |
| 1091 |
} |
| 1092 |
|
| 1093 |
public function getChannels() |
| 1094 |
{ |
| 1095 |
return $this->channels; |
| 1096 |
} |
| 1097 |
|
| 1098 |
public function setEmails($emails) |
| 1099 |
{ |
| 1100 |
$this->emails = $emails; |
| 1101 |
} |
| 1102 |
|
| 1103 |
public function getEmails() |
| 1104 |
{ |
| 1105 |
return $this->emails; |
| 1106 |
} |
| 1107 |
|
| 1108 |
public function setName($name) |
| 1109 |
{ |
| 1110 |
$this->name = $name; |
| 1111 |
} |
| 1112 |
|
| 1113 |
public function getName() |
| 1114 |
{ |
| 1115 |
return $this->name; |
| 1116 |
} |
| 1117 |
|
| 1118 |
public function setParty($party) |
| 1119 |
{ |
| 1120 |
$this->party = $party; |
| 1121 |
} |
| 1122 |
|
| 1123 |
public function getParty() |
| 1124 |
{ |
| 1125 |
return $this->party; |
| 1126 |
} |
| 1127 |
|
| 1128 |
public function setPhones($phones) |
| 1129 |
{ |
| 1130 |
$this->phones = $phones; |
| 1131 |
} |
| 1132 |
|
| 1133 |
public function getPhones() |
| 1134 |
{ |
| 1135 |
return $this->phones; |
| 1136 |
} |
| 1137 |
|
| 1138 |
public function setPhotoUrl($photoUrl) |
| 1139 |
{ |
| 1140 |
$this->photoUrl = $photoUrl; |
| 1141 |
} |
| 1142 |
|
| 1143 |
public function getPhotoUrl() |
| 1144 |
{ |
| 1145 |
return $this->photoUrl; |
| 1146 |
} |
| 1147 |
|
| 1148 |
public function setUrls($urls) |
| 1149 |
{ |
| 1150 |
$this->urls = $urls; |
| 1151 |
} |
| 1152 |
|
| 1153 |
public function getUrls() |
| 1154 |
{ |
| 1155 |
return $this->urls; |
| 1156 |
} |
| 1157 |
} |
| 1158 |
|
| 1159 |
class Google_Service_CivicInfo_PollingLocation extends Google_Collection |
| 1160 |
{ |
| 1161 |
protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 1162 |
protected $addressDataType = ''; |
| 1163 |
public $endDate; |
| 1164 |
public $id; |
| 1165 |
public $name; |
| 1166 |
public $notes; |
| 1167 |
public $pollingHours; |
| 1168 |
protected $sourcesType = 'Google_Service_CivicInfo_Source'; |
| 1169 |
protected $sourcesDataType = 'array'; |
| 1170 |
public $startDate; |
| 1171 |
public $voterServices; |
| 1172 |
|
| 1173 |
public function setAddress(Google_Service_CivicInfo_SimpleAddressType $address) |
| 1174 |
{ |
| 1175 |
$this->address = $address; |
| 1176 |
} |
| 1177 |
|
| 1178 |
public function getAddress() |
| 1179 |
{ |
| 1180 |
return $this->address; |
| 1181 |
} |
| 1182 |
|
| 1183 |
public function setEndDate($endDate) |
| 1184 |
{ |
| 1185 |
$this->endDate = $endDate; |
| 1186 |
} |
| 1187 |
|
| 1188 |
public function getEndDate() |
| 1189 |
{ |
| 1190 |
return $this->endDate; |
| 1191 |
} |
| 1192 |
|
| 1193 |
public function setId($id) |
| 1194 |
{ |
| 1195 |
$this->id = $id; |
| 1196 |
} |
| 1197 |
|
| 1198 |
public function getId() |
| 1199 |
{ |
| 1200 |
return $this->id; |
| 1201 |
} |
| 1202 |
|
| 1203 |
public function setName($name) |
| 1204 |
{ |
| 1205 |
$this->name = $name; |
| 1206 |
} |
| 1207 |
|
| 1208 |
public function getName() |
| 1209 |
{ |
| 1210 |
return $this->name; |
| 1211 |
} |
| 1212 |
|
| 1213 |
public function setNotes($notes) |
| 1214 |
{ |
| 1215 |
$this->notes = $notes; |
| 1216 |
} |
| 1217 |
|
| 1218 |
public function getNotes() |
| 1219 |
{ |
| 1220 |
return $this->notes; |
| 1221 |
} |
| 1222 |
|
| 1223 |
public function setPollingHours($pollingHours) |
| 1224 |
{ |
| 1225 |
$this->pollingHours = $pollingHours; |
| 1226 |
} |
| 1227 |
|
| 1228 |
public function getPollingHours() |
| 1229 |
{ |
| 1230 |
return $this->pollingHours; |
| 1231 |
} |
| 1232 |
|
| 1233 |
public function setSources($sources) |
| 1234 |
{ |
| 1235 |
$this->sources = $sources; |
| 1236 |
} |
| 1237 |
|
| 1238 |
public function getSources() |
| 1239 |
{ |
| 1240 |
return $this->sources; |
| 1241 |
} |
| 1242 |
|
| 1243 |
public function setStartDate($startDate) |
| 1244 |
{ |
| 1245 |
$this->startDate = $startDate; |
| 1246 |
} |
| 1247 |
|
| 1248 |
public function getStartDate() |
| 1249 |
{ |
| 1250 |
return $this->startDate; |
| 1251 |
} |
| 1252 |
|
| 1253 |
public function setVoterServices($voterServices) |
| 1254 |
{ |
| 1255 |
$this->voterServices = $voterServices; |
| 1256 |
} |
| 1257 |
|
| 1258 |
public function getVoterServices() |
| 1259 |
{ |
| 1260 |
return $this->voterServices; |
| 1261 |
} |
| 1262 |
} |
| 1263 |
|
| 1264 |
class Google_Service_CivicInfo_RepresentativeInfoRequest extends Google_Model |
| 1265 |
{ |
| 1266 |
public $address; |
| 1267 |
|
| 1268 |
public function setAddress($address) |
| 1269 |
{ |
| 1270 |
$this->address = $address; |
| 1271 |
} |
| 1272 |
|
| 1273 |
public function getAddress() |
| 1274 |
{ |
| 1275 |
return $this->address; |
| 1276 |
} |
| 1277 |
} |
| 1278 |
|
| 1279 |
class Google_Service_CivicInfo_RepresentativeInfoResponse extends Google_Model |
| 1280 |
{ |
| 1281 |
protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision'; |
| 1282 |
protected $divisionsDataType = 'map'; |
| 1283 |
public $kind; |
| 1284 |
protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 1285 |
protected $normalizedInputDataType = ''; |
| 1286 |
protected $officesType = 'Google_Service_CivicInfo_Office'; |
| 1287 |
protected $officesDataType = 'map'; |
| 1288 |
protected $officialsType = 'Google_Service_CivicInfo_Official'; |
| 1289 |
protected $officialsDataType = 'map'; |
| 1290 |
public $status; |
| 1291 |
|
| 1292 |
public function setDivisions($divisions) |
| 1293 |
{ |
| 1294 |
$this->divisions = $divisions; |
| 1295 |
} |
| 1296 |
|
| 1297 |
public function getDivisions() |
| 1298 |
{ |
| 1299 |
return $this->divisions; |
| 1300 |
} |
| 1301 |
|
| 1302 |
public function setKind($kind) |
| 1303 |
{ |
| 1304 |
$this->kind = $kind; |
| 1305 |
} |
| 1306 |
|
| 1307 |
public function getKind() |
| 1308 |
{ |
| 1309 |
return $this->kind; |
| 1310 |
} |
| 1311 |
|
| 1312 |
public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) |
| 1313 |
{ |
| 1314 |
$this->normalizedInput = $normalizedInput; |
| 1315 |
} |
| 1316 |
|
| 1317 |
public function getNormalizedInput() |
| 1318 |
{ |
| 1319 |
return $this->normalizedInput; |
| 1320 |
} |
| 1321 |
|
| 1322 |
public function setOffices($offices) |
| 1323 |
{ |
| 1324 |
$this->offices = $offices; |
| 1325 |
} |
| 1326 |
|
| 1327 |
public function getOffices() |
| 1328 |
{ |
| 1329 |
return $this->offices; |
| 1330 |
} |
| 1331 |
|
| 1332 |
public function setOfficials($officials) |
| 1333 |
{ |
| 1334 |
$this->officials = $officials; |
| 1335 |
} |
| 1336 |
|
| 1337 |
public function getOfficials() |
| 1338 |
{ |
| 1339 |
return $this->officials; |
| 1340 |
} |
| 1341 |
|
| 1342 |
public function setStatus($status) |
| 1343 |
{ |
| 1344 |
$this->status = $status; |
| 1345 |
} |
| 1346 |
|
| 1347 |
public function getStatus() |
| 1348 |
{ |
| 1349 |
return $this->status; |
| 1350 |
} |
| 1351 |
} |
| 1352 |
|
| 1353 |
class Google_Service_CivicInfo_SimpleAddressType extends Google_Model |
| 1354 |
{ |
| 1355 |
public $city; |
| 1356 |
public $line1; |
| 1357 |
public $line2; |
| 1358 |
public $line3; |
| 1359 |
public $locationName; |
| 1360 |
public $state; |
| 1361 |
public $zip; |
| 1362 |
|
| 1363 |
public function setCity($city) |
| 1364 |
{ |
| 1365 |
$this->city = $city; |
| 1366 |
} |
| 1367 |
|
| 1368 |
public function getCity() |
| 1369 |
{ |
| 1370 |
return $this->city; |
| 1371 |
} |
| 1372 |
|
| 1373 |
public function setLine1($line1) |
| 1374 |
{ |
| 1375 |
$this->line1 = $line1; |
| 1376 |
} |
| 1377 |
|
| 1378 |
public function getLine1() |
| 1379 |
{ |
| 1380 |
return $this->line1; |
| 1381 |
} |
| 1382 |
|
| 1383 |
public function setLine2($line2) |
| 1384 |
{ |
| 1385 |
$this->line2 = $line2; |
| 1386 |
} |
| 1387 |
|
| 1388 |
public function getLine2() |
| 1389 |
{ |
| 1390 |
return $this->line2; |
| 1391 |
} |
| 1392 |
|
| 1393 |
public function setLine3($line3) |
| 1394 |
{ |
| 1395 |
$this->line3 = $line3; |
| 1396 |
} |
| 1397 |
|
| 1398 |
public function getLine3() |
| 1399 |
{ |
| 1400 |
return $this->line3; |
| 1401 |
} |
| 1402 |
|
| 1403 |
public function setLocationName($locationName) |
| 1404 |
{ |
| 1405 |
$this->locationName = $locationName; |
| 1406 |
} |
| 1407 |
|
| 1408 |
public function getLocationName() |
| 1409 |
{ |
| 1410 |
return $this->locationName; |
| 1411 |
} |
| 1412 |
|
| 1413 |
public function setState($state) |
| 1414 |
{ |
| 1415 |
$this->state = $state; |
| 1416 |
} |
| 1417 |
|
| 1418 |
public function getState() |
| 1419 |
{ |
| 1420 |
return $this->state; |
| 1421 |
} |
| 1422 |
|
| 1423 |
public function setZip($zip) |
| 1424 |
{ |
| 1425 |
$this->zip = $zip; |
| 1426 |
} |
| 1427 |
|
| 1428 |
public function getZip() |
| 1429 |
{ |
| 1430 |
return $this->zip; |
| 1431 |
} |
| 1432 |
} |
| 1433 |
|
| 1434 |
class Google_Service_CivicInfo_Source extends Google_Model |
| 1435 |
{ |
| 1436 |
public $name; |
| 1437 |
public $official; |
| 1438 |
|
| 1439 |
public function setName($name) |
| 1440 |
{ |
| 1441 |
$this->name = $name; |
| 1442 |
} |
| 1443 |
|
| 1444 |
public function getName() |
| 1445 |
{ |
| 1446 |
return $this->name; |
| 1447 |
} |
| 1448 |
|
| 1449 |
public function setOfficial($official) |
| 1450 |
{ |
| 1451 |
$this->official = $official; |
| 1452 |
} |
| 1453 |
|
| 1454 |
public function getOfficial() |
| 1455 |
{ |
| 1456 |
return $this->official; |
| 1457 |
} |
| 1458 |
} |
| 1459 |
|
| 1460 |
class Google_Service_CivicInfo_VoterInfoRequest extends Google_Model |
| 1461 |
{ |
| 1462 |
public $address; |
| 1463 |
|
| 1464 |
public function setAddress($address) |
| 1465 |
{ |
| 1466 |
$this->address = $address; |
| 1467 |
} |
| 1468 |
|
| 1469 |
public function getAddress() |
| 1470 |
{ |
| 1471 |
return $this->address; |
| 1472 |
} |
| 1473 |
} |
| 1474 |
|
| 1475 |
class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection |
| 1476 |
{ |
| 1477 |
protected $contestsType = 'Google_Service_CivicInfo_Contest'; |
| 1478 |
protected $contestsDataType = 'array'; |
| 1479 |
protected $earlyVoteSitesType = 'Google_Service_CivicInfo_PollingLocation'; |
| 1480 |
protected $earlyVoteSitesDataType = 'array'; |
| 1481 |
protected $electionType = 'Google_Service_CivicInfo_Election'; |
| 1482 |
protected $electionDataType = ''; |
| 1483 |
public $kind; |
| 1484 |
protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType'; |
| 1485 |
protected $normalizedInputDataType = ''; |
| 1486 |
protected $pollingLocationsType = 'Google_Service_CivicInfo_PollingLocation'; |
| 1487 |
protected $pollingLocationsDataType = 'array'; |
| 1488 |
protected $stateType = 'Google_Service_CivicInfo_AdministrationRegion'; |
| 1489 |
protected $stateDataType = 'array'; |
| 1490 |
public $status; |
| 1491 |
|
| 1492 |
public function setContests($contests) |
| 1493 |
{ |
| 1494 |
$this->contests = $contests; |
| 1495 |
} |
| 1496 |
|
| 1497 |
public function getContests() |
| 1498 |
{ |
| 1499 |
return $this->contests; |
| 1500 |
} |
| 1501 |
|
| 1502 |
public function setEarlyVoteSites($earlyVoteSites) |
| 1503 |
{ |
| 1504 |
$this->earlyVoteSites = $earlyVoteSites; |
| 1505 |
} |
| 1506 |
|
| 1507 |
public function getEarlyVoteSites() |
| 1508 |
{ |
| 1509 |
return $this->earlyVoteSites; |
| 1510 |
} |
| 1511 |
|
| 1512 |
public function setElection(Google_Service_CivicInfo_Election $election) |
| 1513 |
{ |
| 1514 |
$this->election = $election; |
| 1515 |
} |
| 1516 |
|
| 1517 |
public function getElection() |
| 1518 |
{ |
| 1519 |
return $this->election; |
| 1520 |
} |
| 1521 |
|
| 1522 |
public function setKind($kind) |
| 1523 |
{ |
| 1524 |
$this->kind = $kind; |
| 1525 |
} |
| 1526 |
|
| 1527 |
public function getKind() |
| 1528 |
{ |
| 1529 |
return $this->kind; |
| 1530 |
} |
| 1531 |
|
| 1532 |
public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) |
| 1533 |
{ |
| 1534 |
$this->normalizedInput = $normalizedInput; |
| 1535 |
} |
| 1536 |
|
| 1537 |
public function getNormalizedInput() |
| 1538 |
{ |
| 1539 |
return $this->normalizedInput; |
| 1540 |
} |
| 1541 |
|
| 1542 |
public function setPollingLocations($pollingLocations) |
| 1543 |
{ |
| 1544 |
$this->pollingLocations = $pollingLocations; |
| 1545 |
} |
| 1546 |
|
| 1547 |
public function getPollingLocations() |
| 1548 |
{ |
| 1549 |
return $this->pollingLocations; |
| 1550 |
} |
| 1551 |
|
| 1552 |
public function setState($state) |
| 1553 |
{ |
| 1554 |
$this->state = $state; |
| 1555 |
} |
| 1556 |
|
| 1557 |
public function getState() |
| 1558 |
{ |
| 1559 |
return $this->state; |
| 1560 |
} |
| 1561 |
|
| 1562 |
public function setStatus($status) |
| 1563 |
{ |
| 1564 |
$this->status = $status; |
| 1565 |
} |
| 1566 |
|
| 1567 |
public function getStatus() |
| 1568 |
{ |
| 1569 |
return $this->status; |
| 1570 |
} |
| 1571 |
} |
| 1572 |
|