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.



1281
1282
1283
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1281

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



1259
1260
1261
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1259

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



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

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



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

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



1274
1275
1276
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1274

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



1279
1280
1281
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1279

def physical_distancing
  @physical_distancing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1286
1287
1288
1289
1290
1291
1292
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1286

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