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 AdministrativeBody extends \Google\Collection 21{ 22 protected $collection_key = 'voter_services'; 23 protected $internal_gapi_mappings = [ 24 "voterServices" => "voter_services", 25 ]; 26 /** 27 * @var string 28 */ 29 public $absenteeVotingInfoUrl; 30 /** 31 * @var string 32 */ 33 public $ballotInfoUrl; 34 protected $correspondenceAddressType = SimpleAddressType::class; 35 protected $correspondenceAddressDataType = ''; 36 /** 37 * @var string 38 */ 39 public $electionInfoUrl; 40 /** 41 * @var string 42 */ 43 public $electionNoticeText; 44 /** 45 * @var string 46 */ 47 public $electionNoticeUrl; 48 protected $electionOfficialsType = ElectionOfficial::class; 49 protected $electionOfficialsDataType = 'array'; 50 /** 51 * @var string 52 */ 53 public $electionRegistrationConfirmationUrl; 54 /** 55 * @var string 56 */ 57 public $electionRegistrationUrl; 58 /** 59 * @var string 60 */ 61 public $electionRulesUrl; 62 /** 63 * @var string 64 */ 65 public $hoursOfOperation; 66 /** 67 * @var string 68 */ 69 public $name; 70 protected $physicalAddressType = SimpleAddressType::class; 71 protected $physicalAddressDataType = ''; 72 /** 73 * @var string[] 74 */ 75 public $voterServices; 76 /** 77 * @var string 78 */ 79 public $votingLocationFinderUrl; 80 81 /** 82 * @param string 83 */ 84 public function setAbsenteeVotingInfoUrl($absenteeVotingInfoUrl) 85 { 86 $this->absenteeVotingInfoUrl = $absenteeVotingInfoUrl; 87 } 88 /** 89 * @return string 90 */ 91 public function getAbsenteeVotingInfoUrl() 92 { 93 return $this->absenteeVotingInfoUrl; 94 } 95 /** 96 * @param string 97 */ 98 public function setBallotInfoUrl($ballotInfoUrl) 99 { 100 $this->ballotInfoUrl = $ballotInfoUrl; 101 } 102 /** 103 * @return string 104 */ 105 public function getBallotInfoUrl() 106 { 107 return $this->ballotInfoUrl; 108 } 109 /** 110 * @param SimpleAddressType 111 */ 112 public function setCorrespondenceAddress(SimpleAddressType $correspondenceAddress) 113 { 114 $this->correspondenceAddress = $correspondenceAddress; 115 } 116 /** 117 * @return SimpleAddressType 118 */ 119 public function getCorrespondenceAddress() 120 { 121 return $this->correspondenceAddress; 122 } 123 /** 124 * @param string 125 */ 126 public function setElectionInfoUrl($electionInfoUrl) 127 { 128 $this->electionInfoUrl = $electionInfoUrl; 129 } 130 /** 131 * @return string 132 */ 133 public function getElectionInfoUrl() 134 { 135 return $this->electionInfoUrl; 136 } 137 /** 138 * @param string 139 */ 140 public function setElectionNoticeText($electionNoticeText) 141 { 142 $this->electionNoticeText = $electionNoticeText; 143 } 144 /** 145 * @return string 146 */ 147 public function getElectionNoticeText() 148 { 149 return $this->electionNoticeText; 150 } 151 /** 152 * @param string 153 */ 154 public function setElectionNoticeUrl($electionNoticeUrl) 155 { 156 $this->electionNoticeUrl = $electionNoticeUrl; 157 } 158 /** 159 * @return string 160 */ 161 public function getElectionNoticeUrl() 162 { 163 return $this->electionNoticeUrl; 164 } 165 /** 166 * @param ElectionOfficial[] 167 */ 168 public function setElectionOfficials($electionOfficials) 169 { 170 $this->electionOfficials = $electionOfficials; 171 } 172 /** 173 * @return ElectionOfficial[] 174 */ 175 public function getElectionOfficials() 176 { 177 return $this->electionOfficials; 178 } 179 /** 180 * @param string 181 */ 182 public function setElectionRegistrationConfirmationUrl($electionRegistrationConfirmationUrl) 183 { 184 $this->electionRegistrationConfirmationUrl = $electionRegistrationConfirmationUrl; 185 } 186 /** 187 * @return string 188 */ 189 public function getElectionRegistrationConfirmationUrl() 190 { 191 return $this->electionRegistrationConfirmationUrl; 192 } 193 /** 194 * @param string 195 */ 196 public function setElectionRegistrationUrl($electionRegistrationUrl) 197 { 198 $this->electionRegistrationUrl = $electionRegistrationUrl; 199 } 200 /** 201 * @return string 202 */ 203 public function getElectionRegistrationUrl() 204 { 205 return $this->electionRegistrationUrl; 206 } 207 /** 208 * @param string 209 */ 210 public function setElectionRulesUrl($electionRulesUrl) 211 { 212 $this->electionRulesUrl = $electionRulesUrl; 213 } 214 /** 215 * @return string 216 */ 217 public function getElectionRulesUrl() 218 { 219 return $this->electionRulesUrl; 220 } 221 /** 222 * @param string 223 */ 224 public function setHoursOfOperation($hoursOfOperation) 225 { 226 $this->hoursOfOperation = $hoursOfOperation; 227 } 228 /** 229 * @return string 230 */ 231 public function getHoursOfOperation() 232 { 233 return $this->hoursOfOperation; 234 } 235 /** 236 * @param string 237 */ 238 public function setName($name) 239 { 240 $this->name = $name; 241 } 242 /** 243 * @return string 244 */ 245 public function getName() 246 { 247 return $this->name; 248 } 249 /** 250 * @param SimpleAddressType 251 */ 252 public function setPhysicalAddress(SimpleAddressType $physicalAddress) 253 { 254 $this->physicalAddress = $physicalAddress; 255 } 256 /** 257 * @return SimpleAddressType 258 */ 259 public function getPhysicalAddress() 260 { 261 return $this->physicalAddress; 262 } 263 /** 264 * @param string[] 265 */ 266 public function setVoterServices($voterServices) 267 { 268 $this->voterServices = $voterServices; 269 } 270 /** 271 * @return string[] 272 */ 273 public function getVoterServices() 274 { 275 return $this->voterServices; 276 } 277 /** 278 * @param string 279 */ 280 public function setVotingLocationFinderUrl($votingLocationFinderUrl) 281 { 282 $this->votingLocationFinderUrl = $votingLocationFinderUrl; 283 } 284 /** 285 * @return string 286 */ 287 public function getVotingLocationFinderUrl() 288 { 289 return $this->votingLocationFinderUrl; 290 } 291} 292 293// Adding a class alias for backwards compatibility with the previous class name. 294class_alias(AdministrativeBody::class, 'Google_Service_CivicInfo_AdministrativeBody'); 295