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 18class Google_Service_CivicInfo_Contest extends Google_Collection 19{ 20 protected $collection_key = 'sources'; 21 public $ballotPlacement; 22 public $ballotTitle; 23 protected $candidatesType = 'Google_Service_CivicInfo_Candidate'; 24 protected $candidatesDataType = 'array'; 25 protected $districtType = 'Google_Service_CivicInfo_ElectoralDistrict'; 26 protected $districtDataType = ''; 27 public $electorateSpecifications; 28 public $id; 29 public $level; 30 public $numberElected; 31 public $numberVotingFor; 32 public $office; 33 public $primaryParty; 34 public $referendumBallotResponses; 35 public $referendumBrief; 36 public $referendumConStatement; 37 public $referendumEffectOfAbstain; 38 public $referendumPassageThreshold; 39 public $referendumProStatement; 40 public $referendumSubtitle; 41 public $referendumText; 42 public $referendumTitle; 43 public $referendumUrl; 44 public $roles; 45 protected $sourcesType = 'Google_Service_CivicInfo_Source'; 46 protected $sourcesDataType = 'array'; 47 public $special; 48 public $type; 49 50 public function setBallotPlacement($ballotPlacement) 51 { 52 $this->ballotPlacement = $ballotPlacement; 53 } 54 public function getBallotPlacement() 55 { 56 return $this->ballotPlacement; 57 } 58 public function setBallotTitle($ballotTitle) 59 { 60 $this->ballotTitle = $ballotTitle; 61 } 62 public function getBallotTitle() 63 { 64 return $this->ballotTitle; 65 } 66 /** 67 * @param Google_Service_CivicInfo_Candidate 68 */ 69 public function setCandidates($candidates) 70 { 71 $this->candidates = $candidates; 72 } 73 /** 74 * @return Google_Service_CivicInfo_Candidate 75 */ 76 public function getCandidates() 77 { 78 return $this->candidates; 79 } 80 /** 81 * @param Google_Service_CivicInfo_ElectoralDistrict 82 */ 83 public function setDistrict(Google_Service_CivicInfo_ElectoralDistrict $district) 84 { 85 $this->district = $district; 86 } 87 /** 88 * @return Google_Service_CivicInfo_ElectoralDistrict 89 */ 90 public function getDistrict() 91 { 92 return $this->district; 93 } 94 public function setElectorateSpecifications($electorateSpecifications) 95 { 96 $this->electorateSpecifications = $electorateSpecifications; 97 } 98 public function getElectorateSpecifications() 99 { 100 return $this->electorateSpecifications; 101 } 102 public function setId($id) 103 { 104 $this->id = $id; 105 } 106 public function getId() 107 { 108 return $this->id; 109 } 110 public function setLevel($level) 111 { 112 $this->level = $level; 113 } 114 public function getLevel() 115 { 116 return $this->level; 117 } 118 public function setNumberElected($numberElected) 119 { 120 $this->numberElected = $numberElected; 121 } 122 public function getNumberElected() 123 { 124 return $this->numberElected; 125 } 126 public function setNumberVotingFor($numberVotingFor) 127 { 128 $this->numberVotingFor = $numberVotingFor; 129 } 130 public function getNumberVotingFor() 131 { 132 return $this->numberVotingFor; 133 } 134 public function setOffice($office) 135 { 136 $this->office = $office; 137 } 138 public function getOffice() 139 { 140 return $this->office; 141 } 142 public function setPrimaryParty($primaryParty) 143 { 144 $this->primaryParty = $primaryParty; 145 } 146 public function getPrimaryParty() 147 { 148 return $this->primaryParty; 149 } 150 public function setReferendumBallotResponses($referendumBallotResponses) 151 { 152 $this->referendumBallotResponses = $referendumBallotResponses; 153 } 154 public function getReferendumBallotResponses() 155 { 156 return $this->referendumBallotResponses; 157 } 158 public function setReferendumBrief($referendumBrief) 159 { 160 $this->referendumBrief = $referendumBrief; 161 } 162 public function getReferendumBrief() 163 { 164 return $this->referendumBrief; 165 } 166 public function setReferendumConStatement($referendumConStatement) 167 { 168 $this->referendumConStatement = $referendumConStatement; 169 } 170 public function getReferendumConStatement() 171 { 172 return $this->referendumConStatement; 173 } 174 public function setReferendumEffectOfAbstain($referendumEffectOfAbstain) 175 { 176 $this->referendumEffectOfAbstain = $referendumEffectOfAbstain; 177 } 178 public function getReferendumEffectOfAbstain() 179 { 180 return $this->referendumEffectOfAbstain; 181 } 182 public function setReferendumPassageThreshold($referendumPassageThreshold) 183 { 184 $this->referendumPassageThreshold = $referendumPassageThreshold; 185 } 186 public function getReferendumPassageThreshold() 187 { 188 return $this->referendumPassageThreshold; 189 } 190 public function setReferendumProStatement($referendumProStatement) 191 { 192 $this->referendumProStatement = $referendumProStatement; 193 } 194 public function getReferendumProStatement() 195 { 196 return $this->referendumProStatement; 197 } 198 public function setReferendumSubtitle($referendumSubtitle) 199 { 200 $this->referendumSubtitle = $referendumSubtitle; 201 } 202 public function getReferendumSubtitle() 203 { 204 return $this->referendumSubtitle; 205 } 206 public function setReferendumText($referendumText) 207 { 208 $this->referendumText = $referendumText; 209 } 210 public function getReferendumText() 211 { 212 return $this->referendumText; 213 } 214 public function setReferendumTitle($referendumTitle) 215 { 216 $this->referendumTitle = $referendumTitle; 217 } 218 public function getReferendumTitle() 219 { 220 return $this->referendumTitle; 221 } 222 public function setReferendumUrl($referendumUrl) 223 { 224 $this->referendumUrl = $referendumUrl; 225 } 226 public function getReferendumUrl() 227 { 228 return $this->referendumUrl; 229 } 230 public function setRoles($roles) 231 { 232 $this->roles = $roles; 233 } 234 public function getRoles() 235 { 236 return $this->roles; 237 } 238 /** 239 * @param Google_Service_CivicInfo_Source 240 */ 241 public function setSources($sources) 242 { 243 $this->sources = $sources; 244 } 245 /** 246 * @return Google_Service_CivicInfo_Source 247 */ 248 public function getSources() 249 { 250 return $this->sources; 251 } 252 public function setSpecial($special) 253 { 254 $this->special = $special; 255 } 256 public function getSpecial() 257 { 258 return $this->special; 259 } 260 public function setType($type) 261 { 262 $this->type = $type; 263 } 264 public function getType() 265 { 266 return $this->type; 267 } 268} 269