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.



2983
2984
2985
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2983

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)


2931
2932
2933
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2931

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)


2937
2938
2939
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2937

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)


2942
2943
2944
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2942

def physical_distancing_required
  @physical_distancing_required
end

#physical_distancing_required_exceptionString

Physical distancing required exception. Corresponds to the JSON property physicalDistancingRequiredException

Returns:

  • (String)


2948
2949
2950
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2948

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)


2953
2954
2955
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2953

def safety_dividers
  @safety_dividers
end

#safety_dividers_exceptionString

Safety dividers exception. Corresponds to the JSON property safetyDividersException

Returns:

  • (String)


2959
2960
2961
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2959

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)


2964
2965
2966
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2964

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)


2970
2971
2972
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2970

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)


2975
2976
2977
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2975

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)


2981
2982
2983
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2981

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



2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2988

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