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.



3157
3158
3159
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3157

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)


3105
3106
3107
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3105

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)


3111
3112
3113
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3111

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)


3116
3117
3118
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3116

def physical_distancing_required
  @physical_distancing_required
end

#physical_distancing_required_exceptionString

Physical distancing required exception. Corresponds to the JSON property physicalDistancingRequiredException

Returns:

  • (String)


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

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)


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

def safety_dividers
  @safety_dividers
end

#safety_dividers_exceptionString

Safety dividers exception. Corresponds to the JSON property safetyDividersException

Returns:

  • (String)


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

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)


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

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)


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

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)


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

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)


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

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



3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3162

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