Ei kuvausta

VoterInfoResponse.php 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
  18. {
  19. protected $collection_key = 'state';
  20. protected $contestsType = 'Google_Service_CivicInfo_Contest';
  21. protected $contestsDataType = 'array';
  22. protected $dropOffLocationsType = 'Google_Service_CivicInfo_PollingLocation';
  23. protected $dropOffLocationsDataType = 'array';
  24. protected $earlyVoteSitesType = 'Google_Service_CivicInfo_PollingLocation';
  25. protected $earlyVoteSitesDataType = 'array';
  26. protected $electionType = 'Google_Service_CivicInfo_Election';
  27. protected $electionDataType = '';
  28. public $kind;
  29. public $mailOnly;
  30. protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
  31. protected $normalizedInputDataType = '';
  32. protected $otherElectionsType = 'Google_Service_CivicInfo_Election';
  33. protected $otherElectionsDataType = 'array';
  34. protected $pollingLocationsType = 'Google_Service_CivicInfo_PollingLocation';
  35. protected $pollingLocationsDataType = 'array';
  36. public $precinctId;
  37. protected $stateType = 'Google_Service_CivicInfo_AdministrationRegion';
  38. protected $stateDataType = 'array';
  39. /**
  40. * @param Google_Service_CivicInfo_Contest
  41. */
  42. public function setContests($contests)
  43. {
  44. $this->contests = $contests;
  45. }
  46. /**
  47. * @return Google_Service_CivicInfo_Contest
  48. */
  49. public function getContests()
  50. {
  51. return $this->contests;
  52. }
  53. /**
  54. * @param Google_Service_CivicInfo_PollingLocation
  55. */
  56. public function setDropOffLocations($dropOffLocations)
  57. {
  58. $this->dropOffLocations = $dropOffLocations;
  59. }
  60. /**
  61. * @return Google_Service_CivicInfo_PollingLocation
  62. */
  63. public function getDropOffLocations()
  64. {
  65. return $this->dropOffLocations;
  66. }
  67. /**
  68. * @param Google_Service_CivicInfo_PollingLocation
  69. */
  70. public function setEarlyVoteSites($earlyVoteSites)
  71. {
  72. $this->earlyVoteSites = $earlyVoteSites;
  73. }
  74. /**
  75. * @return Google_Service_CivicInfo_PollingLocation
  76. */
  77. public function getEarlyVoteSites()
  78. {
  79. return $this->earlyVoteSites;
  80. }
  81. /**
  82. * @param Google_Service_CivicInfo_Election
  83. */
  84. public function setElection(Google_Service_CivicInfo_Election $election)
  85. {
  86. $this->election = $election;
  87. }
  88. /**
  89. * @return Google_Service_CivicInfo_Election
  90. */
  91. public function getElection()
  92. {
  93. return $this->election;
  94. }
  95. public function setKind($kind)
  96. {
  97. $this->kind = $kind;
  98. }
  99. public function getKind()
  100. {
  101. return $this->kind;
  102. }
  103. public function setMailOnly($mailOnly)
  104. {
  105. $this->mailOnly = $mailOnly;
  106. }
  107. public function getMailOnly()
  108. {
  109. return $this->mailOnly;
  110. }
  111. /**
  112. * @param Google_Service_CivicInfo_SimpleAddressType
  113. */
  114. public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput)
  115. {
  116. $this->normalizedInput = $normalizedInput;
  117. }
  118. /**
  119. * @return Google_Service_CivicInfo_SimpleAddressType
  120. */
  121. public function getNormalizedInput()
  122. {
  123. return $this->normalizedInput;
  124. }
  125. /**
  126. * @param Google_Service_CivicInfo_Election
  127. */
  128. public function setOtherElections($otherElections)
  129. {
  130. $this->otherElections = $otherElections;
  131. }
  132. /**
  133. * @return Google_Service_CivicInfo_Election
  134. */
  135. public function getOtherElections()
  136. {
  137. return $this->otherElections;
  138. }
  139. /**
  140. * @param Google_Service_CivicInfo_PollingLocation
  141. */
  142. public function setPollingLocations($pollingLocations)
  143. {
  144. $this->pollingLocations = $pollingLocations;
  145. }
  146. /**
  147. * @return Google_Service_CivicInfo_PollingLocation
  148. */
  149. public function getPollingLocations()
  150. {
  151. return $this->pollingLocations;
  152. }
  153. public function setPrecinctId($precinctId)
  154. {
  155. $this->precinctId = $precinctId;
  156. }
  157. public function getPrecinctId()
  158. {
  159. return $this->precinctId;
  160. }
  161. /**
  162. * @param Google_Service_CivicInfo_AdministrationRegion
  163. */
  164. public function setState($state)
  165. {
  166. $this->state = $state;
  167. }
  168. /**
  169. * @return Google_Service_CivicInfo_AdministrationRegion
  170. */
  171. public function getState()
  172. {
  173. return $this->state;
  174. }
  175. }