Class: Google::Apis::MybusinesslodgingV1::FoodAndDrink
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::FoodAndDrink
- 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
Meals, snacks, and beverages available at the property.
Instance Attribute Summary collapse
-
#bar ⇒ Boolean
(also: #bar?)
Bar.
-
#bar_exception ⇒ String
Bar exception.
-
#breakfast_available ⇒ Boolean
(also: #breakfast_available?)
Breakfast available.
-
#breakfast_available_exception ⇒ String
Breakfast available exception.
-
#breakfast_buffet ⇒ Boolean
(also: #breakfast_buffet?)
Breakfast buffet.
-
#breakfast_buffet_exception ⇒ String
Breakfast buffet exception.
-
#buffet ⇒ Boolean
(also: #buffet?)
Buffet.
-
#buffet_exception ⇒ String
Buffet exception.
-
#dinner_buffet ⇒ Boolean
(also: #dinner_buffet?)
Dinner buffet.
-
#dinner_buffet_exception ⇒ String
Dinner buffet exception.
-
#free_breakfast ⇒ Boolean
(also: #free_breakfast?)
Free breakfast.
-
#free_breakfast_exception ⇒ String
Free breakfast exception.
-
#restaurant ⇒ Boolean
(also: #restaurant?)
Restaurant.
-
#restaurant_exception ⇒ String
Restaurant exception.
-
#restaurants_count ⇒ Fixnum
Restaurants count.
-
#restaurants_count_exception ⇒ String
Restaurants count exception.
-
#room_service ⇒ Boolean
(also: #room_service?)
Room service.
-
#room_service_exception ⇒ String
Room service exception.
-
#table_service ⇒ Boolean
(also: #table_service?)
Table service.
-
#table_service_exception ⇒ String
Table service exception.
-
#twenty_four_hour_room_service ⇒ Boolean
(also: #twenty_four_hour_room_service?)
24hr room service.
-
#twenty_four_hour_room_service_exception ⇒ String
24hr room service exception.
-
#vending_machine ⇒ Boolean
(also: #vending_machine?)
Vending machine.
-
#vending_machine_exception ⇒ String
Vending machine exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FoodAndDrink
constructor
A new instance of FoodAndDrink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FoodAndDrink
Returns a new instance of FoodAndDrink.
1001 1002 1003 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bar ⇒ Boolean Also known as: bar?
Bar. A designated room, lounge or area of an on-site restaurant with seating
at a counter behind which a hotel staffer takes the guest's order and provides
the requested alcoholic drink. Can be indoors or outdoors. Also known as Pub.
Corresponds to the JSON property bar
857 858 859 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 857 def @bar end |
#bar_exception ⇒ String
Bar exception.
Corresponds to the JSON property barException
863 864 865 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 863 def @bar_exception end |
#breakfast_available ⇒ Boolean Also known as: breakfast_available?
Breakfast available. The morning meal is offered to all guests. Can be free or
for a fee.
Corresponds to the JSON property breakfastAvailable
869 870 871 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 869 def breakfast_available @breakfast_available end |
#breakfast_available_exception ⇒ String
Breakfast available exception.
Corresponds to the JSON property breakfastAvailableException
875 876 877 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 875 def breakfast_available_exception @breakfast_available_exception end |
#breakfast_buffet ⇒ Boolean Also known as: breakfast_buffet?
Breakfast buffet. Breakfast meal service where guests serve themselves from a
variety of dishes/foods that are put out on a table.
Corresponds to the JSON property breakfastBuffet
881 882 883 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 881 def breakfast_buffet @breakfast_buffet end |
#breakfast_buffet_exception ⇒ String
Breakfast buffet exception.
Corresponds to the JSON property breakfastBuffetException
887 888 889 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 887 def breakfast_buffet_exception @breakfast_buffet_exception end |
#buffet ⇒ Boolean Also known as: buffet?
Buffet. A type of meal where guests serve themselves from a variety of dishes/
foods that are put out on a table. Includes lunch and/or dinner meals. A
breakfast-only buffet is not sufficient.
Corresponds to the JSON property buffet
894 895 896 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 894 def buffet @buffet end |
#buffet_exception ⇒ String
Buffet exception.
Corresponds to the JSON property buffetException
900 901 902 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 900 def buffet_exception @buffet_exception end |
#dinner_buffet ⇒ Boolean Also known as: dinner_buffet?
Dinner buffet. Dinner meal service where guests serve themselves from a
variety of dishes/foods that are put out on a table.
Corresponds to the JSON property dinnerBuffet
906 907 908 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 906 def dinner_buffet @dinner_buffet end |
#dinner_buffet_exception ⇒ String
Dinner buffet exception.
Corresponds to the JSON property dinnerBuffetException
912 913 914 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 912 def dinner_buffet_exception @dinner_buffet_exception end |
#free_breakfast ⇒ Boolean Also known as: free_breakfast?
Free breakfast. Breakfast is offered for free to all guests. Does not apply if
limited to certain room packages.
Corresponds to the JSON property freeBreakfast
918 919 920 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 918 def free_breakfast @free_breakfast end |
#free_breakfast_exception ⇒ String
Free breakfast exception.
Corresponds to the JSON property freeBreakfastException
924 925 926 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 924 def free_breakfast_exception @free_breakfast_exception end |
#restaurant ⇒ Boolean Also known as: restaurant?
Restaurant. A business onsite at the hotel that is open to the public as well
as guests, and offers meals and beverages to consume at tables or counters.
May or may not include table service. Also known as cafe, buffet, eatery. A "
breakfast room" where the hotel serves breakfast only to guests (not the
general public) does not count as a restaurant.
Corresponds to the JSON property restaurant
933 934 935 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 933 def restaurant @restaurant end |
#restaurant_exception ⇒ String
Restaurant exception.
Corresponds to the JSON property restaurantException
939 940 941 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 939 def restaurant_exception @restaurant_exception end |
#restaurants_count ⇒ Fixnum
Restaurants count. The number of restaurants at the hotel.
Corresponds to the JSON property restaurantsCount
944 945 946 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 944 def restaurants_count @restaurants_count end |
#restaurants_count_exception ⇒ String
Restaurants count exception.
Corresponds to the JSON property restaurantsCountException
949 950 951 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 949 def restaurants_count_exception @restaurants_count_exception end |
#room_service ⇒ Boolean Also known as: room_service?
Room service. A hotel staffer delivers meals prepared onsite to a guest's room
as per their request. May or may not be available during specific hours.
Services should be available to all guests (not based on rate/room booked/
reward program, etc).
Corresponds to the JSON property roomService
957 958 959 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 957 def room_service @room_service end |
#room_service_exception ⇒ String
Room service exception.
Corresponds to the JSON property roomServiceException
963 964 965 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 963 def room_service_exception @room_service_exception end |
#table_service ⇒ Boolean Also known as: table_service?
Table service. A restaurant in which a staff member is assigned to a guest's
table to take their order, deliver and clear away food, and deliver the bill,
if applicable. Also known as sit-down restaurant.
Corresponds to the JSON property tableService
970 971 972 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 970 def table_service @table_service end |
#table_service_exception ⇒ String
Table service exception.
Corresponds to the JSON property tableServiceException
976 977 978 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 976 def table_service_exception @table_service_exception end |
#twenty_four_hour_room_service ⇒ Boolean Also known as: twenty_four_hour_room_service?
24hr room service. Room service is available 24 hours a day.
Corresponds to the JSON property twentyFourHourRoomService
981 982 983 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 981 def twenty_four_hour_room_service @twenty_four_hour_room_service end |
#twenty_four_hour_room_service_exception ⇒ String
24hr room service exception.
Corresponds to the JSON property twentyFourHourRoomServiceException
987 988 989 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 987 def twenty_four_hour_room_service_exception @twenty_four_hour_room_service_exception end |
#vending_machine ⇒ Boolean Also known as: vending_machine?
Vending machine. A glass-fronted mechanized cabinet displaying and dispensing
snacks and beverages for purchase by coins, paper money and/or credit cards.
Corresponds to the JSON property vendingMachine
993 994 995 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 993 def vending_machine @vending_machine end |
#vending_machine_exception ⇒ String
Vending machine exception.
Corresponds to the JSON property vendingMachineException
999 1000 1001 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 999 def vending_machine_exception @vending_machine_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1006 def update!(**args) @bar = args[:bar] if args.key?(:bar) @bar_exception = args[:bar_exception] if args.key?(:bar_exception) @breakfast_available = args[:breakfast_available] if args.key?(:breakfast_available) @breakfast_available_exception = args[:breakfast_available_exception] if args.key?(:breakfast_available_exception) @breakfast_buffet = args[:breakfast_buffet] if args.key?(:breakfast_buffet) @breakfast_buffet_exception = args[:breakfast_buffet_exception] if args.key?(:breakfast_buffet_exception) @buffet = args[:buffet] if args.key?(:buffet) @buffet_exception = args[:buffet_exception] if args.key?(:buffet_exception) @dinner_buffet = args[:dinner_buffet] if args.key?(:dinner_buffet) @dinner_buffet_exception = args[:dinner_buffet_exception] if args.key?(:dinner_buffet_exception) @free_breakfast = args[:free_breakfast] if args.key?(:free_breakfast) @free_breakfast_exception = args[:free_breakfast_exception] if args.key?(:free_breakfast_exception) @restaurant = args[:restaurant] if args.key?(:restaurant) @restaurant_exception = args[:restaurant_exception] if args.key?(:restaurant_exception) @restaurants_count = args[:restaurants_count] if args.key?(:restaurants_count) @restaurants_count_exception = args[:restaurants_count_exception] if args.key?(:restaurants_count_exception) @room_service = args[:room_service] if args.key?(:room_service) @room_service_exception = args[:room_service_exception] if args.key?(:room_service_exception) @table_service = args[:table_service] if args.key?(:table_service) @table_service_exception = args[:table_service_exception] if args.key?(:table_service_exception) @twenty_four_hour_room_service = args[:twenty_four_hour_room_service] if args.key?(:twenty_four_hour_room_service) @twenty_four_hour_room_service_exception = args[:twenty_four_hour_room_service_exception] if args.key?(:twenty_four_hour_room_service_exception) @vending_machine = args[:vending_machine] if args.key?(:vending_machine) @vending_machine_exception = args[:vending_machine_exception] if args.key?(:vending_machine_exception) end |