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.



2262
2263
2264
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2262

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)


2196
2197
2198
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2196

def balcony
  @balcony
end

#balcony_exceptionString

Balcony exception. Corresponds to the JSON property balconyException

Returns:

  • (String)


2202
2203
2204
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2202

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)


2208
2209
2210
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2208

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)


2213
2214
2215
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2213

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)


2219
2220
2221
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2219

def loft
  @loft
end

#loft_exceptionString

Loft exception. Corresponds to the JSON property loftException

Returns:

  • (String)


2225
2226
2227
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2225

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)


2231
2232
2233
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2231

def non_smoking
  @non_smoking
end

#non_smoking_exceptionString

Non smoking exception. Corresponds to the JSON property nonSmokingException

Returns:

  • (String)


2237
2238
2239
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2237

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)


2243
2244
2245
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2243

def patio
  @patio
end

#patio_exceptionString

Patio exception. Corresponds to the JSON property patioException

Returns:

  • (String)


2249
2250
2251
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2249

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)


2254
2255
2256
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2254

def stairs
  @stairs
end

#stairs_exceptionString

Stairs exception. Corresponds to the JSON property stairsException

Returns:

  • (String)


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

def stairs_exception
  @stairs_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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