Class: Google::Apis::MybusinesslodgingV1::Sustainability
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::Sustainability
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinesslodging_v1/classes.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb
Overview
Sustainability practices implemented at the hotel.
Instance Attribute Summary collapse
-
#energy_efficiency ⇒ Google::Apis::MybusinesslodgingV1::EnergyEfficiency
Energy efficiency practices implemented at the hotel.
-
#sustainability_certifications ⇒ Google::Apis::MybusinesslodgingV1::SustainabilityCertifications
Sustainability certifications the hotel has been awarded.
-
#sustainable_sourcing ⇒ Google::Apis::MybusinesslodgingV1::SustainableSourcing
Sustainable sourcing practices implemented at the hotel.
-
#waste_reduction ⇒ Google::Apis::MybusinesslodgingV1::WasteReduction
Waste reduction practices implemented at the hotel.
-
#water_conservation ⇒ Google::Apis::MybusinesslodgingV1::WaterConservation
Water conservation practices implemented at the hotel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Sustainability
constructor
A new instance of Sustainability.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Sustainability
Returns a new instance of Sustainability.
3819 3820 3821 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3819 def initialize(**args) update!(**args) end |
Instance Attribute Details
#energy_efficiency ⇒ Google::Apis::MybusinesslodgingV1::EnergyEfficiency
Energy efficiency practices implemented at the hotel.
Corresponds to the JSON property energyEfficiency
3797 3798 3799 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3797 def energy_efficiency @energy_efficiency end |
#sustainability_certifications ⇒ Google::Apis::MybusinesslodgingV1::SustainabilityCertifications
Sustainability certifications the hotel has been awarded.
Corresponds to the JSON property sustainabilityCertifications
3802 3803 3804 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3802 def sustainability_certifications @sustainability_certifications end |
#sustainable_sourcing ⇒ Google::Apis::MybusinesslodgingV1::SustainableSourcing
Sustainable sourcing practices implemented at the hotel.
Corresponds to the JSON property sustainableSourcing
3807 3808 3809 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3807 def sustainable_sourcing @sustainable_sourcing end |
#waste_reduction ⇒ Google::Apis::MybusinesslodgingV1::WasteReduction
Waste reduction practices implemented at the hotel.
Corresponds to the JSON property wasteReduction
3812 3813 3814 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3812 def waste_reduction @waste_reduction end |
#water_conservation ⇒ Google::Apis::MybusinesslodgingV1::WaterConservation
Water conservation practices implemented at the hotel.
Corresponds to the JSON property waterConservation
3817 3818 3819 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3817 def water_conservation @water_conservation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3824 3825 3826 3827 3828 3829 3830 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3824 def update!(**args) @energy_efficiency = args[:energy_efficiency] if args.key?(:energy_efficiency) @sustainability_certifications = args[:sustainability_certifications] if args.key?(:sustainability_certifications) @sustainable_sourcing = args[:sustainable_sourcing] if args.key?(:sustainable_sourcing) @waste_reduction = args[:waste_reduction] if args.key?(:waste_reduction) @water_conservation = args[:water_conservation] if args.key?(:water_conservation) end |