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 Sustainability extends \Google\Model
21{
22  protected $energyEfficiencyType = EnergyEfficiency::class;
23  protected $energyEfficiencyDataType = '';
24  protected $sustainabilityCertificationsType = SustainabilityCertifications::class;
25  protected $sustainabilityCertificationsDataType = '';
26  protected $sustainableSourcingType = SustainableSourcing::class;
27  protected $sustainableSourcingDataType = '';
28  protected $wasteReductionType = WasteReduction::class;
29  protected $wasteReductionDataType = '';
30  protected $waterConservationType = WaterConservation::class;
31  protected $waterConservationDataType = '';
32
33  /**
34   * @param EnergyEfficiency
35   */
36  public function setEnergyEfficiency(EnergyEfficiency $energyEfficiency)
37  {
38    $this->energyEfficiency = $energyEfficiency;
39  }
40  /**
41   * @return EnergyEfficiency
42   */
43  public function getEnergyEfficiency()
44  {
45    return $this->energyEfficiency;
46  }
47  /**
48   * @param SustainabilityCertifications
49   */
50  public function setSustainabilityCertifications(SustainabilityCertifications $sustainabilityCertifications)
51  {
52    $this->sustainabilityCertifications = $sustainabilityCertifications;
53  }
54  /**
55   * @return SustainabilityCertifications
56   */
57  public function getSustainabilityCertifications()
58  {
59    return $this->sustainabilityCertifications;
60  }
61  /**
62   * @param SustainableSourcing
63   */
64  public function setSustainableSourcing(SustainableSourcing $sustainableSourcing)
65  {
66    $this->sustainableSourcing = $sustainableSourcing;
67  }
68  /**
69   * @return SustainableSourcing
70   */
71  public function getSustainableSourcing()
72  {
73    return $this->sustainableSourcing;
74  }
75  /**
76   * @param WasteReduction
77   */
78  public function setWasteReduction(WasteReduction $wasteReduction)
79  {
80    $this->wasteReduction = $wasteReduction;
81  }
82  /**
83   * @return WasteReduction
84   */
85  public function getWasteReduction()
86  {
87    return $this->wasteReduction;
88  }
89  /**
90   * @param WaterConservation
91   */
92  public function setWaterConservation(WaterConservation $waterConservation)
93  {
94    $this->waterConservation = $waterConservation;
95  }
96  /**
97   * @return WaterConservation
98   */
99  public function getWaterConservation()
100  {
101    return $this->waterConservation;
102  }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(Sustainability::class, 'Google_Service_MyBusinessLodging_Sustainability');
107