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 LivingArea extends \Google\Model 21{ 22 protected $accessibilityType = LivingAreaAccessibility::class; 23 protected $accessibilityDataType = ''; 24 protected $eatingType = LivingAreaEating::class; 25 protected $eatingDataType = ''; 26 protected $featuresType = LivingAreaFeatures::class; 27 protected $featuresDataType = ''; 28 protected $layoutType = LivingAreaLayout::class; 29 protected $layoutDataType = ''; 30 protected $sleepingType = LivingAreaSleeping::class; 31 protected $sleepingDataType = ''; 32 33 /** 34 * @param LivingAreaAccessibility 35 */ 36 public function setAccessibility(LivingAreaAccessibility $accessibility) 37 { 38 $this->accessibility = $accessibility; 39 } 40 /** 41 * @return LivingAreaAccessibility 42 */ 43 public function getAccessibility() 44 { 45 return $this->accessibility; 46 } 47 /** 48 * @param LivingAreaEating 49 */ 50 public function setEating(LivingAreaEating $eating) 51 { 52 $this->eating = $eating; 53 } 54 /** 55 * @return LivingAreaEating 56 */ 57 public function getEating() 58 { 59 return $this->eating; 60 } 61 /** 62 * @param LivingAreaFeatures 63 */ 64 public function setFeatures(LivingAreaFeatures $features) 65 { 66 $this->features = $features; 67 } 68 /** 69 * @return LivingAreaFeatures 70 */ 71 public function getFeatures() 72 { 73 return $this->features; 74 } 75 /** 76 * @param LivingAreaLayout 77 */ 78 public function setLayout(LivingAreaLayout $layout) 79 { 80 $this->layout = $layout; 81 } 82 /** 83 * @return LivingAreaLayout 84 */ 85 public function getLayout() 86 { 87 return $this->layout; 88 } 89 /** 90 * @param LivingAreaSleeping 91 */ 92 public function setSleeping(LivingAreaSleeping $sleeping) 93 { 94 $this->sleeping = $sleeping; 95 } 96 /** 97 * @return LivingAreaSleeping 98 */ 99 public function getSleeping() 100 { 101 return $this->sleeping; 102 } 103} 104 105// Adding a class alias for backwards compatibility with the previous class name. 106class_alias(LivingArea::class, 'Google_Service_MyBusinessLodging_LivingArea'); 107