public final class FoodAndDrink
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 |
---|
FoodAndDrink() |
Modifier and Type | Method and Description |
---|---|
FoodAndDrink |
clone() |
Boolean |
getBar()
Bar.
|
String |
getBarException()
Bar exception.
|
Boolean |
getBreakfastAvailable()
Breakfast available.
|
String |
getBreakfastAvailableException()
Breakfast available exception.
|
Boolean |
getBreakfastBuffet()
Breakfast buffet.
|
String |
getBreakfastBuffetException()
Breakfast buffet exception.
|
Boolean |
getBuffet()
Buffet.
|
String |
getBuffetException()
Buffet exception.
|
Boolean |
getDinnerBuffet()
Dinner buffet.
|
String |
getDinnerBuffetException()
Dinner buffet exception.
|
Boolean |
getFreeBreakfast()
Free breakfast.
|
String |
getFreeBreakfastException()
Free breakfast exception.
|
Boolean |
getRestaurant()
Restaurant.
|
String |
getRestaurantException()
Restaurant exception.
|
Integer |
getRestaurantsCount()
Restaurants count.
|
String |
getRestaurantsCountException()
Restaurants count exception.
|
Boolean |
getRoomService()
Room service.
|
String |
getRoomServiceException()
Room service exception.
|
Boolean |
getTableService()
Table service.
|
String |
getTableServiceException()
Table service exception.
|
Boolean |
getTwentyFourHourRoomService()
24hr room service.
|
String |
getTwentyFourHourRoomServiceException()
24hr room service exception.
|
Boolean |
getVendingMachine()
Vending machine.
|
String |
getVendingMachineException()
Vending machine exception.
|
FoodAndDrink |
set(String fieldName,
Object value) |
FoodAndDrink |
setBar(Boolean bar)
Bar.
|
FoodAndDrink |
setBarException(String barException)
Bar exception.
|
FoodAndDrink |
setBreakfastAvailable(Boolean breakfastAvailable)
Breakfast available.
|
FoodAndDrink |
setBreakfastAvailableException(String breakfastAvailableException)
Breakfast available exception.
|
FoodAndDrink |
setBreakfastBuffet(Boolean breakfastBuffet)
Breakfast buffet.
|
FoodAndDrink |
setBreakfastBuffetException(String breakfastBuffetException)
Breakfast buffet exception.
|
FoodAndDrink |
setBuffet(Boolean buffet)
Buffet.
|
FoodAndDrink |
setBuffetException(String buffetException)
Buffet exception.
|
FoodAndDrink |
setDinnerBuffet(Boolean dinnerBuffet)
Dinner buffet.
|
FoodAndDrink |
setDinnerBuffetException(String dinnerBuffetException)
Dinner buffet exception.
|
FoodAndDrink |
setFreeBreakfast(Boolean freeBreakfast)
Free breakfast.
|
FoodAndDrink |
setFreeBreakfastException(String freeBreakfastException)
Free breakfast exception.
|
FoodAndDrink |
setRestaurant(Boolean restaurant)
Restaurant.
|
FoodAndDrink |
setRestaurantException(String restaurantException)
Restaurant exception.
|
FoodAndDrink |
setRestaurantsCount(Integer restaurantsCount)
Restaurants count.
|
FoodAndDrink |
setRestaurantsCountException(String restaurantsCountException)
Restaurants count exception.
|
FoodAndDrink |
setRoomService(Boolean roomService)
Room service.
|
FoodAndDrink |
setRoomServiceException(String roomServiceException)
Room service exception.
|
FoodAndDrink |
setTableService(Boolean tableService)
Table service.
|
FoodAndDrink |
setTableServiceException(String tableServiceException)
Table service exception.
|
FoodAndDrink |
setTwentyFourHourRoomService(Boolean twentyFourHourRoomService)
24hr room service.
|
FoodAndDrink |
setTwentyFourHourRoomServiceException(String twentyFourHourRoomServiceException)
24hr room service exception.
|
FoodAndDrink |
setVendingMachine(Boolean vendingMachine)
Vending machine.
|
FoodAndDrink |
setVendingMachineException(String vendingMachineException)
Vending machine exception.
|
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 Boolean getBar()
null
for nonepublic FoodAndDrink setBar(Boolean bar)
bar
- bar or null
for nonepublic String getBarException()
null
for nonepublic FoodAndDrink setBarException(String barException)
barException
- barException or null
for nonepublic Boolean getBreakfastAvailable()
null
for nonepublic FoodAndDrink setBreakfastAvailable(Boolean breakfastAvailable)
breakfastAvailable
- breakfastAvailable or null
for nonepublic String getBreakfastAvailableException()
null
for nonepublic FoodAndDrink setBreakfastAvailableException(String breakfastAvailableException)
breakfastAvailableException
- breakfastAvailableException or null
for nonepublic Boolean getBreakfastBuffet()
null
for nonepublic FoodAndDrink setBreakfastBuffet(Boolean breakfastBuffet)
breakfastBuffet
- breakfastBuffet or null
for nonepublic String getBreakfastBuffetException()
null
for nonepublic FoodAndDrink setBreakfastBuffetException(String breakfastBuffetException)
breakfastBuffetException
- breakfastBuffetException or null
for nonepublic Boolean getBuffet()
null
for nonepublic FoodAndDrink setBuffet(Boolean buffet)
buffet
- buffet or null
for nonepublic String getBuffetException()
null
for nonepublic FoodAndDrink setBuffetException(String buffetException)
buffetException
- buffetException or null
for nonepublic Boolean getDinnerBuffet()
null
for nonepublic FoodAndDrink setDinnerBuffet(Boolean dinnerBuffet)
dinnerBuffet
- dinnerBuffet or null
for nonepublic String getDinnerBuffetException()
null
for nonepublic FoodAndDrink setDinnerBuffetException(String dinnerBuffetException)
dinnerBuffetException
- dinnerBuffetException or null
for nonepublic Boolean getFreeBreakfast()
null
for nonepublic FoodAndDrink setFreeBreakfast(Boolean freeBreakfast)
freeBreakfast
- freeBreakfast or null
for nonepublic String getFreeBreakfastException()
null
for nonepublic FoodAndDrink setFreeBreakfastException(String freeBreakfastException)
freeBreakfastException
- freeBreakfastException or null
for nonepublic Boolean getRestaurant()
null
for nonepublic FoodAndDrink setRestaurant(Boolean restaurant)
restaurant
- restaurant or null
for nonepublic String getRestaurantException()
null
for nonepublic FoodAndDrink setRestaurantException(String restaurantException)
restaurantException
- restaurantException or null
for nonepublic Integer getRestaurantsCount()
null
for nonepublic FoodAndDrink setRestaurantsCount(Integer restaurantsCount)
restaurantsCount
- restaurantsCount or null
for nonepublic String getRestaurantsCountException()
null
for nonepublic FoodAndDrink setRestaurantsCountException(String restaurantsCountException)
restaurantsCountException
- restaurantsCountException or null
for nonepublic Boolean getRoomService()
null
for nonepublic FoodAndDrink setRoomService(Boolean roomService)
roomService
- roomService or null
for nonepublic String getRoomServiceException()
null
for nonepublic FoodAndDrink setRoomServiceException(String roomServiceException)
roomServiceException
- roomServiceException or null
for nonepublic Boolean getTableService()
null
for nonepublic FoodAndDrink setTableService(Boolean tableService)
tableService
- tableService or null
for nonepublic String getTableServiceException()
null
for nonepublic FoodAndDrink setTableServiceException(String tableServiceException)
tableServiceException
- tableServiceException or null
for nonepublic Boolean getTwentyFourHourRoomService()
null
for nonepublic FoodAndDrink setTwentyFourHourRoomService(Boolean twentyFourHourRoomService)
twentyFourHourRoomService
- twentyFourHourRoomService or null
for nonepublic String getTwentyFourHourRoomServiceException()
null
for nonepublic FoodAndDrink setTwentyFourHourRoomServiceException(String twentyFourHourRoomServiceException)
twentyFourHourRoomServiceException
- twentyFourHourRoomServiceException or null
for nonepublic Boolean getVendingMachine()
null
for nonepublic FoodAndDrink setVendingMachine(Boolean vendingMachine)
vendingMachine
- vendingMachine or null
for nonepublic String getVendingMachineException()
null
for nonepublic FoodAndDrink setVendingMachineException(String vendingMachineException)
vendingMachineException
- vendingMachineException or null
for nonepublic FoodAndDrink set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FoodAndDrink clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.