public final class Sustainability
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the My Business Lodging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Sustainability() |
Modifier and Type | Method and Description |
---|---|
Sustainability |
clone() |
EnergyEfficiency |
getEnergyEfficiency()
Energy efficiency practices implemented at the hotel.
|
SustainabilityCertifications |
getSustainabilityCertifications()
Sustainability certifications the hotel has been awarded.
|
SustainableSourcing |
getSustainableSourcing()
Sustainable sourcing practices implemented at the hotel.
|
WasteReduction |
getWasteReduction()
Waste reduction practices implemented at the hotel.
|
WaterConservation |
getWaterConservation()
Water conservation practices implemented at the hotel.
|
Sustainability |
set(String fieldName,
Object value) |
Sustainability |
setEnergyEfficiency(EnergyEfficiency energyEfficiency)
Energy efficiency practices implemented at the hotel.
|
Sustainability |
setSustainabilityCertifications(SustainabilityCertifications sustainabilityCertifications)
Sustainability certifications the hotel has been awarded.
|
Sustainability |
setSustainableSourcing(SustainableSourcing sustainableSourcing)
Sustainable sourcing practices implemented at the hotel.
|
Sustainability |
setWasteReduction(WasteReduction wasteReduction)
Waste reduction practices implemented at the hotel.
|
Sustainability |
setWaterConservation(WaterConservation waterConservation)
Water conservation practices implemented at the hotel.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public EnergyEfficiency getEnergyEfficiency()
null
for nonepublic Sustainability setEnergyEfficiency(EnergyEfficiency energyEfficiency)
energyEfficiency
- energyEfficiency or null
for nonepublic SustainabilityCertifications getSustainabilityCertifications()
null
for nonepublic Sustainability setSustainabilityCertifications(SustainabilityCertifications sustainabilityCertifications)
sustainabilityCertifications
- sustainabilityCertifications or null
for nonepublic SustainableSourcing getSustainableSourcing()
null
for nonepublic Sustainability setSustainableSourcing(SustainableSourcing sustainableSourcing)
sustainableSourcing
- sustainableSourcing or null
for nonepublic WasteReduction getWasteReduction()
null
for nonepublic Sustainability setWasteReduction(WasteReduction wasteReduction)
wasteReduction
- wasteReduction or null
for nonepublic WaterConservation getWaterConservation()
null
for nonepublic Sustainability setWaterConservation(WaterConservation waterConservation)
waterConservation
- waterConservation or null
for nonepublic Sustainability set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Sustainability clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.