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.



2260
2261
2262
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2260

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)


2194
2195
2196
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2194

def balcony
  @balcony
end

#balcony_exceptionString

Balcony exception. Corresponds to the JSON property balconyException

Returns:

  • (String)


2200
2201
2202
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2200

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)


2206
2207
2208
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2206

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)


2211
2212
2213
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2211

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)


2217
2218
2219
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2217

def loft
  @loft
end

#loft_exceptionString

Loft exception. Corresponds to the JSON property loftException

Returns:

  • (String)


2223
2224
2225
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2223

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)


2229
2230
2231
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2229

def non_smoking
  @non_smoking
end

#non_smoking_exceptionString

Non smoking exception. Corresponds to the JSON property nonSmokingException

Returns:

  • (String)


2235
2236
2237
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2235

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)


2241
2242
2243
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2241

def patio
  @patio
end

#patio_exceptionString

Patio exception. Corresponds to the JSON property patioException

Returns:

  • (String)


2247
2248
2249
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2247

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)


2252
2253
2254
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2252

def stairs
  @stairs
end

#stairs_exceptionString

Stairs exception. Corresponds to the JSON property stairsException

Returns:

  • (String)


2258
2259
2260
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2258

def stairs_exception
  @stairs_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2265

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