Class: Google::Apis::MybusinesslodgingV1::LivingAreaLayout

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

Information about the layout of the living area.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LivingAreaLayout

Returns a new instance of LivingAreaLayout.



2077
2078
2079
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2077

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

Instance Attribute Details

#balconyBoolean Also known as: balcony?

Balcony. An outdoor platform attached to a building and surrounded by a short wall, fence or other safety railing. The balcony is accessed through a door in a guestroom or suite and is for use by the guest staying in that room. May or may not include seating or outdoor furniture. Is not located on the ground floor. Also lanai. Corresponds to the JSON property balcony

Returns:

  • (Boolean)


2011
2012
2013
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2011

def balcony
  @balcony
end

#balcony_exceptionString

Balcony exception. Corresponds to the JSON property balconyException

Returns:

  • (String)


2017
2018
2019
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2017

def balcony_exception
  @balcony_exception
end

#living_area_sq_metersFloat

Living area sq meters. The measurement in meters of the area of a guestroom's living space. Corresponds to the JSON property livingAreaSqMeters

Returns:

  • (Float)


2023
2024
2025
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2023

def living_area_sq_meters
  @living_area_sq_meters
end

#living_area_sq_meters_exceptionString

Living area sq meters exception. Corresponds to the JSON property livingAreaSqMetersException

Returns:

  • (String)


2028
2029
2030
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2028

def living_area_sq_meters_exception
  @living_area_sq_meters_exception
end

#loftBoolean Also known as: loft?

Loft. A three-walled upper area accessed by stairs or a ladder that overlooks the lower area of a room. Corresponds to the JSON property loft

Returns:

  • (Boolean)


2034
2035
2036
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2034

def loft
  @loft
end

#loft_exceptionString

Loft exception. Corresponds to the JSON property loftException

Returns:

  • (String)


2040
2041
2042
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2040

def loft_exception
  @loft_exception
end

#non_smokingBoolean Also known as: non_smoking?

Non smoking. A guestroom in which the smoking of cigarettes, cigars and pipes is prohibited. Corresponds to the JSON property nonSmoking

Returns:

  • (Boolean)


2046
2047
2048
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2046

def non_smoking
  @non_smoking
end

#non_smoking_exceptionString

Non smoking exception. Corresponds to the JSON property nonSmokingException

Returns:

  • (String)


2052
2053
2054
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2052

def non_smoking_exception
  @non_smoking_exception
end

#patioBoolean Also known as: patio?

Patio. A paved, outdoor area with seating attached to and accessed through a ground-floor guestroom for use by the occupants of the guestroom. Corresponds to the JSON property patio

Returns:

  • (Boolean)


2058
2059
2060
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2058

def patio
  @patio
end

#patio_exceptionString

Patio exception. Corresponds to the JSON property patioException

Returns:

  • (String)


2064
2065
2066
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2064

def patio_exception
  @patio_exception
end

#stairsBoolean Also known as: stairs?

Stairs. There are steps leading from one level or story to another in the unit. Corresponds to the JSON property stairs

Returns:

  • (Boolean)


2069
2070
2071
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2069

def stairs
  @stairs
end

#stairs_exceptionString

Stairs exception. Corresponds to the JSON property stairsException

Returns:

  • (String)


2075
2076
2077
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2075

def stairs_exception
  @stairs_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2082

def update!(**args)
  @balcony = args[:balcony] if args.key?(:balcony)
  @balcony_exception = args[:balcony_exception] if args.key?(:balcony_exception)
  @living_area_sq_meters = args[:living_area_sq_meters] if args.key?(:living_area_sq_meters)
  @living_area_sq_meters_exception = args[:living_area_sq_meters_exception] if args.key?(:living_area_sq_meters_exception)
  @loft = args[:loft] if args.key?(:loft)
  @loft_exception = args[:loft_exception] if args.key?(:loft_exception)
  @non_smoking = args[:non_smoking] if args.key?(:non_smoking)
  @non_smoking_exception = args[:non_smoking_exception] if args.key?(:non_smoking_exception)
  @patio = args[:patio] if args.key?(:patio)
  @patio_exception = args[:patio_exception] if args.key?(:patio_exception)
  @stairs = args[:stairs] if args.key?(:stairs)
  @stairs_exception = args[:stairs_exception] if args.key?(:stairs_exception)
end