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\MyBusinessLodging; 19 20class Lodging extends \Google\Collection 21{ 22 protected $collection_key = 'guestUnits'; 23 protected $accessibilityType = Accessibility::class; 24 protected $accessibilityDataType = ''; 25 protected $activitiesType = Activities::class; 26 protected $activitiesDataType = ''; 27 protected $allUnitsType = GuestUnitFeatures::class; 28 protected $allUnitsDataType = ''; 29 protected $businessType = Business::class; 30 protected $businessDataType = ''; 31 protected $commonLivingAreaType = LivingArea::class; 32 protected $commonLivingAreaDataType = ''; 33 protected $connectivityType = Connectivity::class; 34 protected $connectivityDataType = ''; 35 protected $familiesType = Families::class; 36 protected $familiesDataType = ''; 37 protected $foodAndDrinkType = FoodAndDrink::class; 38 protected $foodAndDrinkDataType = ''; 39 protected $guestUnitsType = GuestUnitType::class; 40 protected $guestUnitsDataType = 'array'; 41 protected $healthAndSafetyType = HealthAndSafety::class; 42 protected $healthAndSafetyDataType = ''; 43 protected $housekeepingType = Housekeeping::class; 44 protected $housekeepingDataType = ''; 45 protected $metadataType = LodgingMetadata::class; 46 protected $metadataDataType = ''; 47 /** 48 * @var string 49 */ 50 public $name; 51 protected $parkingType = Parking::class; 52 protected $parkingDataType = ''; 53 protected $petsType = Pets::class; 54 protected $petsDataType = ''; 55 protected $policiesType = Policies::class; 56 protected $policiesDataType = ''; 57 protected $poolsType = Pools::class; 58 protected $poolsDataType = ''; 59 protected $propertyType = Property::class; 60 protected $propertyDataType = ''; 61 protected $servicesType = Services::class; 62 protected $servicesDataType = ''; 63 protected $someUnitsType = GuestUnitFeatures::class; 64 protected $someUnitsDataType = ''; 65 protected $sustainabilityType = Sustainability::class; 66 protected $sustainabilityDataType = ''; 67 protected $transportationType = Transportation::class; 68 protected $transportationDataType = ''; 69 protected $wellnessType = Wellness::class; 70 protected $wellnessDataType = ''; 71 72 /** 73 * @param Accessibility 74 */ 75 public function setAccessibility(Accessibility $accessibility) 76 { 77 $this->accessibility = $accessibility; 78 } 79 /** 80 * @return Accessibility 81 */ 82 public function getAccessibility() 83 { 84 return $this->accessibility; 85 } 86 /** 87 * @param Activities 88 */ 89 public function setActivities(Activities $activities) 90 { 91 $this->activities = $activities; 92 } 93 /** 94 * @return Activities 95 */ 96 public function getActivities() 97 { 98 return $this->activities; 99 } 100 /** 101 * @param GuestUnitFeatures 102 */ 103 public function setAllUnits(GuestUnitFeatures $allUnits) 104 { 105 $this->allUnits = $allUnits; 106 } 107 /** 108 * @return GuestUnitFeatures 109 */ 110 public function getAllUnits() 111 { 112 return $this->allUnits; 113 } 114 /** 115 * @param Business 116 */ 117 public function setBusiness(Business $business) 118 { 119 $this->business = $business; 120 } 121 /** 122 * @return Business 123 */ 124 public function getBusiness() 125 { 126 return $this->business; 127 } 128 /** 129 * @param LivingArea 130 */ 131 public function setCommonLivingArea(LivingArea $commonLivingArea) 132 { 133 $this->commonLivingArea = $commonLivingArea; 134 } 135 /** 136 * @return LivingArea 137 */ 138 public function getCommonLivingArea() 139 { 140 return $this->commonLivingArea; 141 } 142 /** 143 * @param Connectivity 144 */ 145 public function setConnectivity(Connectivity $connectivity) 146 { 147 $this->connectivity = $connectivity; 148 } 149 /** 150 * @return Connectivity 151 */ 152 public function getConnectivity() 153 { 154 return $this->connectivity; 155 } 156 /** 157 * @param Families 158 */ 159 public function setFamilies(Families $families) 160 { 161 $this->families = $families; 162 } 163 /** 164 * @return Families 165 */ 166 public function getFamilies() 167 { 168 return $this->families; 169 } 170 /** 171 * @param FoodAndDrink 172 */ 173 public function setFoodAndDrink(FoodAndDrink $foodAndDrink) 174 { 175 $this->foodAndDrink = $foodAndDrink; 176 } 177 /** 178 * @return FoodAndDrink 179 */ 180 public function getFoodAndDrink() 181 { 182 return $this->foodAndDrink; 183 } 184 /** 185 * @param GuestUnitType[] 186 */ 187 public function setGuestUnits($guestUnits) 188 { 189 $this->guestUnits = $guestUnits; 190 } 191 /** 192 * @return GuestUnitType[] 193 */ 194 public function getGuestUnits() 195 { 196 return $this->guestUnits; 197 } 198 /** 199 * @param HealthAndSafety 200 */ 201 public function setHealthAndSafety(HealthAndSafety $healthAndSafety) 202 { 203 $this->healthAndSafety = $healthAndSafety; 204 } 205 /** 206 * @return HealthAndSafety 207 */ 208 public function getHealthAndSafety() 209 { 210 return $this->healthAndSafety; 211 } 212 /** 213 * @param Housekeeping 214 */ 215 public function setHousekeeping(Housekeeping $housekeeping) 216 { 217 $this->housekeeping = $housekeeping; 218 } 219 /** 220 * @return Housekeeping 221 */ 222 public function getHousekeeping() 223 { 224 return $this->housekeeping; 225 } 226 /** 227 * @param LodgingMetadata 228 */ 229 public function setMetadata(LodgingMetadata $metadata) 230 { 231 $this->metadata = $metadata; 232 } 233 /** 234 * @return LodgingMetadata 235 */ 236 public function getMetadata() 237 { 238 return $this->metadata; 239 } 240 /** 241 * @param string 242 */ 243 public function setName($name) 244 { 245 $this->name = $name; 246 } 247 /** 248 * @return string 249 */ 250 public function getName() 251 { 252 return $this->name; 253 } 254 /** 255 * @param Parking 256 */ 257 public function setParking(Parking $parking) 258 { 259 $this->parking = $parking; 260 } 261 /** 262 * @return Parking 263 */ 264 public function getParking() 265 { 266 return $this->parking; 267 } 268 /** 269 * @param Pets 270 */ 271 public function setPets(Pets $pets) 272 { 273 $this->pets = $pets; 274 } 275 /** 276 * @return Pets 277 */ 278 public function getPets() 279 { 280 return $this->pets; 281 } 282 /** 283 * @param Policies 284 */ 285 public function setPolicies(Policies $policies) 286 { 287 $this->policies = $policies; 288 } 289 /** 290 * @return Policies 291 */ 292 public function getPolicies() 293 { 294 return $this->policies; 295 } 296 /** 297 * @param Pools 298 */ 299 public function setPools(Pools $pools) 300 { 301 $this->pools = $pools; 302 } 303 /** 304 * @return Pools 305 */ 306 public function getPools() 307 { 308 return $this->pools; 309 } 310 /** 311 * @param Property 312 */ 313 public function setProperty(Property $property) 314 { 315 $this->property = $property; 316 } 317 /** 318 * @return Property 319 */ 320 public function getProperty() 321 { 322 return $this->property; 323 } 324 /** 325 * @param Services 326 */ 327 public function setServices(Services $services) 328 { 329 $this->services = $services; 330 } 331 /** 332 * @return Services 333 */ 334 public function getServices() 335 { 336 return $this->services; 337 } 338 /** 339 * @param GuestUnitFeatures 340 */ 341 public function setSomeUnits(GuestUnitFeatures $someUnits) 342 { 343 $this->someUnits = $someUnits; 344 } 345 /** 346 * @return GuestUnitFeatures 347 */ 348 public function getSomeUnits() 349 { 350 return $this->someUnits; 351 } 352 /** 353 * @param Sustainability 354 */ 355 public function setSustainability(Sustainability $sustainability) 356 { 357 $this->sustainability = $sustainability; 358 } 359 /** 360 * @return Sustainability 361 */ 362 public function getSustainability() 363 { 364 return $this->sustainability; 365 } 366 /** 367 * @param Transportation 368 */ 369 public function setTransportation(Transportation $transportation) 370 { 371 $this->transportation = $transportation; 372 } 373 /** 374 * @return Transportation 375 */ 376 public function getTransportation() 377 { 378 return $this->transportation; 379 } 380 /** 381 * @param Wellness 382 */ 383 public function setWellness(Wellness $wellness) 384 { 385 $this->wellness = $wellness; 386 } 387 /** 388 * @return Wellness 389 */ 390 public function getWellness() 391 { 392 return $this->wellness; 393 } 394} 395 396// Adding a class alias for backwards compatibility with the previous class name. 397class_alias(Lodging::class, 'Google_Service_MyBusinessLodging_Lodging'); 398