Class: Google::Apis::MybusinesslodgingV1::HealthAndSafety

Inherits:
Object
  • Object
show all
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

Health and safety measures implemented by the hotel during COVID-19.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HealthAndSafety

Returns a new instance of HealthAndSafety.



1264
1265
1266
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1264

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enhanced_cleaningGoogle::Apis::MybusinesslodgingV1::EnhancedCleaning

Enhanced cleaning measures implemented by the hotel during COVID-19. Corresponds to the JSON property enhancedCleaning



1242
1243
1244
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1242

def enhanced_cleaning
  @enhanced_cleaning
end

#increased_food_safetyGoogle::Apis::MybusinesslodgingV1::IncreasedFoodSafety

Increased food safety measures implemented by the hotel during COVID-19. Corresponds to the JSON property increasedFoodSafety



1247
1248
1249
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1247

def increased_food_safety
  @increased_food_safety
end

#minimized_contactGoogle::Apis::MybusinesslodgingV1::MinimizedContact

Minimized contact measures implemented by the hotel during COVID-19. Corresponds to the JSON property minimizedContact



1252
1253
1254
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1252

def minimized_contact
  @minimized_contact
end

#personal_protectionGoogle::Apis::MybusinesslodgingV1::PersonalProtection

Personal protection measures implemented by the hotel during COVID-19. Corresponds to the JSON property personalProtection



1257
1258
1259
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1257

def personal_protection
  @personal_protection
end

#physical_distancingGoogle::Apis::MybusinesslodgingV1::PhysicalDistancing

Physical distancing measures implemented by the hotel during COVID-19. Corresponds to the JSON property physicalDistancing



1262
1263
1264
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1262

def physical_distancing
  @physical_distancing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1269
1270
1271
1272
1273
1274
1275
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1269

def update!(**args)
  @enhanced_cleaning = args[:enhanced_cleaning] if args.key?(:enhanced_cleaning)
  @increased_food_safety = args[:increased_food_safety] if args.key?(:increased_food_safety)
  @minimized_contact = args[:minimized_contact] if args.key?(:minimized_contact)
  @personal_protection = args[:personal_protection] if args.key?(:personal_protection)
  @physical_distancing = args[:physical_distancing] if args.key?(:physical_distancing)
end