Class: Google::Apis::MybusinesslodgingV1::PersonalProtection
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::PersonalProtection
- 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
Personal protection measures implemented by the hotel during COVID-19.
Instance Attribute Summary collapse
-
#common_areas_offer_sanitizing_items ⇒ Boolean
(also: #common_areas_offer_sanitizing_items?)
Hand-sanitizer and/or sanitizing wipes are offered in common areas.
-
#common_areas_offer_sanitizing_items_exception ⇒ String
Common areas offer sanitizing items exception.
-
#face_mask_required ⇒ Boolean
(also: #face_mask_required?)
Masks required on the property.
-
#face_mask_required_exception ⇒ String
Face mask required exception.
-
#guest_room_hygiene_kits_available ⇒ Boolean
(also: #guest_room_hygiene_kits_available?)
In-room hygiene kits with masks, hand sanitizer, and/or antibacterial wipes.
-
#guest_room_hygiene_kits_available_exception ⇒ String
Guest room hygiene kits available exception.
-
#protective_equipment_available ⇒ Boolean
(also: #protective_equipment_available?)
Masks and/or gloves available for guests.
-
#protective_equipment_available_exception ⇒ String
Protective equipment available exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PersonalProtection
constructor
A new instance of PersonalProtection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PersonalProtection
Returns a new instance of PersonalProtection.
2835 2836 2837 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2835 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_areas_offer_sanitizing_items ⇒ Boolean Also known as: common_areas_offer_sanitizing_items?
Hand-sanitizer and/or sanitizing wipes are offered in common areas.
Corresponds to the JSON property commonAreasOfferSanitizingItems
2794 2795 2796 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2794 def common_areas_offer_sanitizing_items @common_areas_offer_sanitizing_items end |
#common_areas_offer_sanitizing_items_exception ⇒ String
Common areas offer sanitizing items exception.
Corresponds to the JSON property commonAreasOfferSanitizingItemsException
2800 2801 2802 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2800 def common_areas_offer_sanitizing_items_exception @common_areas_offer_sanitizing_items_exception end |
#face_mask_required ⇒ Boolean Also known as: face_mask_required?
Masks required on the property.
Corresponds to the JSON property faceMaskRequired
2805 2806 2807 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2805 def face_mask_required @face_mask_required end |
#face_mask_required_exception ⇒ String
Face mask required exception.
Corresponds to the JSON property faceMaskRequiredException
2811 2812 2813 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2811 def face_mask_required_exception @face_mask_required_exception end |
#guest_room_hygiene_kits_available ⇒ Boolean Also known as: guest_room_hygiene_kits_available?
In-room hygiene kits with masks, hand sanitizer, and/or antibacterial wipes.
Corresponds to the JSON property guestRoomHygieneKitsAvailable
2816 2817 2818 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2816 def guest_room_hygiene_kits_available @guest_room_hygiene_kits_available end |
#guest_room_hygiene_kits_available_exception ⇒ String
Guest room hygiene kits available exception.
Corresponds to the JSON property guestRoomHygieneKitsAvailableException
2822 2823 2824 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2822 def guest_room_hygiene_kits_available_exception @guest_room_hygiene_kits_available_exception end |
#protective_equipment_available ⇒ Boolean Also known as: protective_equipment_available?
Masks and/or gloves available for guests.
Corresponds to the JSON property protectiveEquipmentAvailable
2827 2828 2829 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2827 def protective_equipment_available @protective_equipment_available end |
#protective_equipment_available_exception ⇒ String
Protective equipment available exception.
Corresponds to the JSON property protectiveEquipmentAvailableException
2833 2834 2835 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2833 def protective_equipment_available_exception @protective_equipment_available_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2840 def update!(**args) @common_areas_offer_sanitizing_items = args[:common_areas_offer_sanitizing_items] if args.key?(:common_areas_offer_sanitizing_items) @common_areas_offer_sanitizing_items_exception = args[:common_areas_offer_sanitizing_items_exception] if args.key?(:common_areas_offer_sanitizing_items_exception) @face_mask_required = args[:face_mask_required] if args.key?(:face_mask_required) @face_mask_required_exception = args[:face_mask_required_exception] if args.key?(:face_mask_required_exception) @guest_room_hygiene_kits_available = args[:guest_room_hygiene_kits_available] if args.key?(:guest_room_hygiene_kits_available) @guest_room_hygiene_kits_available_exception = args[:guest_room_hygiene_kits_available_exception] if args.key?(:guest_room_hygiene_kits_available_exception) @protective_equipment_available = args[:protective_equipment_available] if args.key?(:protective_equipment_available) @protective_equipment_available_exception = args[:protective_equipment_available_exception] if args.key?(:protective_equipment_available_exception) end |