public final class Lodging
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 |
---|
Lodging() |
Modifier and Type | Method and Description |
---|---|
Lodging |
clone() |
Accessibility |
getAccessibility()
Physical adaptations made to the property in consideration of varying levels of human physical
ability.
|
Activities |
getActivities()
Amenities and features related to leisure and play.
|
GuestUnitFeatures |
getAllUnits()
Output only.
|
Business |
getBusiness()
Features of the property of specific interest to the business traveler.
|
LivingArea |
getCommonLivingArea()
Features of the shared living areas available in this Lodging.
|
Connectivity |
getConnectivity()
The ways in which the property provides guests with the ability to access the internet.
|
Families |
getFamilies()
Services and amenities for families and young guests.
|
FoodAndDrink |
getFoodAndDrink()
Meals, snacks, and beverages available at the property.
|
List<GuestUnitType> |
getGuestUnits()
Individual GuestUnitTypes that are available in this Lodging.
|
HealthAndSafety |
getHealthAndSafety()
Health and safety measures implemented by the hotel during COVID-19.
|
Housekeeping |
getHousekeeping()
Conveniences provided in guest units to facilitate an easier, more comfortable stay.
|
LodgingMetadata |
getMetadata()
Required.
|
String |
getName()
Required.
|
Parking |
getParking()
Parking options at the property.
|
Pets |
getPets()
Policies regarding guest-owned animals.
|
Policies |
getPolicies()
Property rules that impact guests.
|
Pools |
getPools()
Swimming pool or recreational water facilities available at the hotel.
|
Property |
getProperty()
General factual information about the property's physical structure and important dates.
|
Services |
getServices()
Conveniences or help provided by the property to facilitate an easier, more comfortable stay.
|
GuestUnitFeatures |
getSomeUnits()
Output only.
|
Sustainability |
getSustainability()
Sustainability practices implemented at the hotel.
|
Transportation |
getTransportation()
Vehicles or vehicular services facilitated or owned by the property.
|
Wellness |
getWellness()
Guest facilities at the property to promote or maintain health, beauty, and fitness.
|
Lodging |
set(String fieldName,
Object value) |
Lodging |
setAccessibility(Accessibility accessibility)
Physical adaptations made to the property in consideration of varying levels of human physical
ability.
|
Lodging |
setActivities(Activities activities)
Amenities and features related to leisure and play.
|
Lodging |
setAllUnits(GuestUnitFeatures allUnits)
Output only.
|
Lodging |
setBusiness(Business business)
Features of the property of specific interest to the business traveler.
|
Lodging |
setCommonLivingArea(LivingArea commonLivingArea)
Features of the shared living areas available in this Lodging.
|
Lodging |
setConnectivity(Connectivity connectivity)
The ways in which the property provides guests with the ability to access the internet.
|
Lodging |
setFamilies(Families families)
Services and amenities for families and young guests.
|
Lodging |
setFoodAndDrink(FoodAndDrink foodAndDrink)
Meals, snacks, and beverages available at the property.
|
Lodging |
setGuestUnits(List<GuestUnitType> guestUnits)
Individual GuestUnitTypes that are available in this Lodging.
|
Lodging |
setHealthAndSafety(HealthAndSafety healthAndSafety)
Health and safety measures implemented by the hotel during COVID-19.
|
Lodging |
setHousekeeping(Housekeeping housekeeping)
Conveniences provided in guest units to facilitate an easier, more comfortable stay.
|
Lodging |
setMetadata(LodgingMetadata metadata)
Required.
|
Lodging |
setName(String name)
Required.
|
Lodging |
setParking(Parking parking)
Parking options at the property.
|
Lodging |
setPets(Pets pets)
Policies regarding guest-owned animals.
|
Lodging |
setPolicies(Policies policies)
Property rules that impact guests.
|
Lodging |
setPools(Pools pools)
Swimming pool or recreational water facilities available at the hotel.
|
Lodging |
setProperty(Property property)
General factual information about the property's physical structure and important dates.
|
Lodging |
setServices(Services services)
Conveniences or help provided by the property to facilitate an easier, more comfortable stay.
|
Lodging |
setSomeUnits(GuestUnitFeatures someUnits)
Output only.
|
Lodging |
setSustainability(Sustainability sustainability)
Sustainability practices implemented at the hotel.
|
Lodging |
setTransportation(Transportation transportation)
Vehicles or vehicular services facilitated or owned by the property.
|
Lodging |
setWellness(Wellness wellness)
Guest facilities at the property to promote or maintain health, beauty, and fitness.
|
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 Accessibility getAccessibility()
null
for nonepublic Lodging setAccessibility(Accessibility accessibility)
accessibility
- accessibility or null
for nonepublic Activities getActivities()
null
for nonepublic Lodging setActivities(Activities activities)
activities
- activities or null
for nonepublic GuestUnitFeatures getAllUnits()
null
for nonepublic Lodging setAllUnits(GuestUnitFeatures allUnits)
allUnits
- allUnits or null
for nonepublic Business getBusiness()
null
for nonepublic Lodging setBusiness(Business business)
business
- business or null
for nonepublic LivingArea getCommonLivingArea()
null
for nonepublic Lodging setCommonLivingArea(LivingArea commonLivingArea)
commonLivingArea
- commonLivingArea or null
for nonepublic Connectivity getConnectivity()
null
for nonepublic Lodging setConnectivity(Connectivity connectivity)
connectivity
- connectivity or null
for nonepublic Families getFamilies()
null
for nonepublic Lodging setFamilies(Families families)
families
- families or null
for nonepublic FoodAndDrink getFoodAndDrink()
null
for nonepublic Lodging setFoodAndDrink(FoodAndDrink foodAndDrink)
foodAndDrink
- foodAndDrink or null
for nonepublic List<GuestUnitType> getGuestUnits()
null
for nonepublic Lodging setGuestUnits(List<GuestUnitType> guestUnits)
guestUnits
- guestUnits or null
for nonepublic HealthAndSafety getHealthAndSafety()
null
for nonepublic Lodging setHealthAndSafety(HealthAndSafety healthAndSafety)
healthAndSafety
- healthAndSafety or null
for nonepublic Housekeeping getHousekeeping()
null
for nonepublic Lodging setHousekeeping(Housekeeping housekeeping)
housekeeping
- housekeeping or null
for nonepublic LodgingMetadata getMetadata()
null
for nonepublic Lodging setMetadata(LodgingMetadata metadata)
metadata
- metadata or null
for nonepublic String getName()
null
for nonepublic Lodging setName(String name)
name
- name or null
for nonepublic Parking getParking()
null
for nonepublic Lodging setParking(Parking parking)
parking
- parking or null
for nonepublic Pets getPets()
null
for nonepublic Lodging setPets(Pets pets)
pets
- pets or null
for nonepublic Policies getPolicies()
null
for nonepublic Lodging setPolicies(Policies policies)
policies
- policies or null
for nonepublic Pools getPools()
null
for nonepublic Lodging setPools(Pools pools)
pools
- pools or null
for nonepublic Property getProperty()
null
for nonepublic Lodging setProperty(Property property)
property
- property or null
for nonepublic Services getServices()
null
for nonepublic Lodging setServices(Services services)
services
- services or null
for nonepublic GuestUnitFeatures getSomeUnits()
null
for nonepublic Lodging setSomeUnits(GuestUnitFeatures someUnits)
someUnits
- someUnits or null
for nonepublic Sustainability getSustainability()
null
for nonepublic Lodging setSustainability(Sustainability sustainability)
sustainability
- sustainability or null
for nonepublic Transportation getTransportation()
null
for nonepublic Lodging setTransportation(Transportation transportation)
transportation
- transportation or null
for nonepublic Wellness getWellness()
null
for nonepublic Lodging setWellness(Wellness wellness)
wellness
- wellness or null
for nonepublic Lodging set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Lodging clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.