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.
3026 3027 3028 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3026 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
2985 2986 2987 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2985 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
2991 2992 2993 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2991 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
2996 2997 2998 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2996 def face_mask_required @face_mask_required end |
#face_mask_required_exception ⇒ String
Face mask required exception.
Corresponds to the JSON property faceMaskRequiredException
3002 3003 3004 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3002 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
3007 3008 3009 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3007 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
3013 3014 3015 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3013 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
3018 3019 3020 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3018 def protective_equipment_available @protective_equipment_available end |
#protective_equipment_available_exception ⇒ String
Protective equipment available exception.
Corresponds to the JSON property protectiveEquipmentAvailableException
3024 3025 3026 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3024 def protective_equipment_available_exception @protective_equipment_available_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3031 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 |