Class: Google::Apis::MybusinesslodgingV1::PhysicalDistancing

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

Physical distancing measures implemented by the hotel during COVID-19.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PhysicalDistancing

Returns a new instance of PhysicalDistancing.



3174
3175
3176
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3174

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

Instance Attribute Details

#common_areas_physical_distancing_arrangedBoolean Also known as: common_areas_physical_distancing_arranged?

Common areas arranged to maintain physical distancing. Corresponds to the JSON property commonAreasPhysicalDistancingArranged

Returns:

  • (Boolean)


3122
3123
3124
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3122

def common_areas_physical_distancing_arranged
  @common_areas_physical_distancing_arranged
end

#common_areas_physical_distancing_arranged_exceptionString

Common areas physical distancing arranged exception. Corresponds to the JSON property commonAreasPhysicalDistancingArrangedException

Returns:

  • (String)


3128
3129
3130
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3128

def common_areas_physical_distancing_arranged_exception
  @common_areas_physical_distancing_arranged_exception
end

#physical_distancing_requiredBoolean Also known as: physical_distancing_required?

Physical distancing required. Corresponds to the JSON property physicalDistancingRequired

Returns:

  • (Boolean)


3133
3134
3135
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3133

def physical_distancing_required
  @physical_distancing_required
end

#physical_distancing_required_exceptionString

Physical distancing required exception. Corresponds to the JSON property physicalDistancingRequiredException

Returns:

  • (String)


3139
3140
3141
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3139

def physical_distancing_required_exception
  @physical_distancing_required_exception
end

#safety_dividersBoolean Also known as: safety_dividers?

Safety dividers at front desk and other locations. Corresponds to the JSON property safetyDividers

Returns:

  • (Boolean)


3144
3145
3146
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3144

def safety_dividers
  @safety_dividers
end

#safety_dividers_exceptionString

Safety dividers exception. Corresponds to the JSON property safetyDividersException

Returns:

  • (String)


3150
3151
3152
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3150

def safety_dividers_exception
  @safety_dividers_exception
end

#shared_areas_limited_occupancyBoolean Also known as: shared_areas_limited_occupancy?

Guest occupancy limited within shared facilities. Corresponds to the JSON property sharedAreasLimitedOccupancy

Returns:

  • (Boolean)


3155
3156
3157
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3155

def shared_areas_limited_occupancy
  @shared_areas_limited_occupancy
end

#shared_areas_limited_occupancy_exceptionString

Shared areas limited occupancy exception. Corresponds to the JSON property sharedAreasLimitedOccupancyException

Returns:

  • (String)


3161
3162
3163
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3161

def shared_areas_limited_occupancy_exception
  @shared_areas_limited_occupancy_exception
end

#wellness_areas_have_private_spacesBoolean Also known as: wellness_areas_have_private_spaces?

Private spaces designated in spa and wellness areas. Corresponds to the JSON property wellnessAreasHavePrivateSpaces

Returns:

  • (Boolean)


3166
3167
3168
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3166

def wellness_areas_have_private_spaces
  @wellness_areas_have_private_spaces
end

#wellness_areas_have_private_spaces_exceptionString

Wellness areas have private spaces exception. Corresponds to the JSON property wellnessAreasHavePrivateSpacesException

Returns:

  • (String)


3172
3173
3174
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3172

def wellness_areas_have_private_spaces_exception
  @wellness_areas_have_private_spaces_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3179

def update!(**args)
  @common_areas_physical_distancing_arranged = args[:common_areas_physical_distancing_arranged] if args.key?(:common_areas_physical_distancing_arranged)
  @common_areas_physical_distancing_arranged_exception = args[:common_areas_physical_distancing_arranged_exception] if args.key?(:common_areas_physical_distancing_arranged_exception)
  @physical_distancing_required = args[:physical_distancing_required] if args.key?(:physical_distancing_required)
  @physical_distancing_required_exception = args[:physical_distancing_required_exception] if args.key?(:physical_distancing_required_exception)
  @safety_dividers = args[:safety_dividers] if args.key?(:safety_dividers)
  @safety_dividers_exception = args[:safety_dividers_exception] if args.key?(:safety_dividers_exception)
  @shared_areas_limited_occupancy = args[:shared_areas_limited_occupancy] if args.key?(:shared_areas_limited_occupancy)
  @shared_areas_limited_occupancy_exception = args[:shared_areas_limited_occupancy_exception] if args.key?(:shared_areas_limited_occupancy_exception)
  @wellness_areas_have_private_spaces = args[:wellness_areas_have_private_spaces] if args.key?(:wellness_areas_have_private_spaces)
  @wellness_areas_have_private_spaces_exception = args[:wellness_areas_have_private_spaces_exception] if args.key?(:wellness_areas_have_private_spaces_exception)
end