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.
3024 3025 3026 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3024 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
2983 2984 2985 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2983 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
2989 2990 2991 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2989 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
2994 2995 2996 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2994 def face_mask_required @face_mask_required end |
#face_mask_required_exception ⇒ String
Face mask required exception.
Corresponds to the JSON property faceMaskRequiredException
3000 3001 3002 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3000 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
3005 3006 3007 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3005 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
3011 3012 3013 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3011 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
3016 3017 3018 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3016 def protective_equipment_available @protective_equipment_available end |
#protective_equipment_available_exception ⇒ String
Protective equipment available exception.
Corresponds to the JSON property protectiveEquipmentAvailableException
3022 3023 3024 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3022 def protective_equipment_available_exception @protective_equipment_available_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3029 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 |