Class: Google::Apis::MybusinesslodgingV1::LivingAreaSleeping

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 sleeping features in the living area.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LivingAreaSleeping

Returns a new instance of LivingAreaSleeping.



2438
2439
2440
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2438

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

Instance Attribute Details

#beds_countFixnum

Beds count. The number of permanent beds present in a guestroom. Does not include rollaway beds, cribs or sofabeds. Corresponds to the JSON property bedsCount

Returns:

  • (Fixnum)


2274
2275
2276
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2274

def beds_count
  @beds_count
end

#beds_count_exceptionString

Beds count exception. Corresponds to the JSON property bedsCountException

Returns:

  • (String)


2279
2280
2281
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2279

def beds_count_exception
  @beds_count_exception
end

#bunk_beds_countFixnum

Bunk beds count. The number of furniture pieces in which one framed mattress is fixed directly above another by means of a physical frame. This allows one person(s) to sleep in the bottom bunk and one person(s) to sleep in the top bunk. Also known as double decker bed. Corresponds to the JSON property bunkBedsCount

Returns:

  • (Fixnum)


2287
2288
2289
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2287

def bunk_beds_count
  @bunk_beds_count
end

#bunk_beds_count_exceptionString

Bunk beds count exception. Corresponds to the JSON property bunkBedsCountException

Returns:

  • (String)


2292
2293
2294
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2292

def bunk_beds_count_exception
  @bunk_beds_count_exception
end

#cribs_countFixnum

Cribs count. The number of small beds for an infant or toddler that the guestroom can obtain. The bed is surrounded by a high railing to prevent the child from falling or climbing out of the bed Corresponds to the JSON property cribsCount

Returns:

  • (Fixnum)


2299
2300
2301
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2299

def cribs_count
  @cribs_count
end

#cribs_count_exceptionString

Cribs count exception. Corresponds to the JSON property cribsCountException

Returns:

  • (String)


2304
2305
2306
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2304

def cribs_count_exception
  @cribs_count_exception
end

#double_beds_countFixnum

Double beds count. The number of medium beds measuring 53"W x 75"L (135cm x 191cm). Also known as full size bed. Corresponds to the JSON property doubleBedsCount

Returns:

  • (Fixnum)


2310
2311
2312
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2310

def double_beds_count
  @double_beds_count
end

#double_beds_count_exceptionString

Double beds count exception. Corresponds to the JSON property doubleBedsCountException

Returns:

  • (String)


2315
2316
2317
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2315

def double_beds_count_exception
  @double_beds_count_exception
end

#feather_pillowsBoolean Also known as: feather_pillows?

Feather pillows. The option for guests to obtain bed pillows that are stuffed with the feathers and down of ducks or geese. Corresponds to the JSON property featherPillows

Returns:

  • (Boolean)


2321
2322
2323
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2321

def feather_pillows
  @feather_pillows
end

#feather_pillows_exceptionString

Feather pillows exception. Corresponds to the JSON property featherPillowsException

Returns:

  • (String)


2327
2328
2329
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2327

def feather_pillows_exception
  @feather_pillows_exception
end

#hypoallergenic_beddingBoolean Also known as: hypoallergenic_bedding?

Hypoallergenic bedding. Bedding such as linens, pillows, mattress covers and/ or mattresses that are made of materials known to be resistant to allergens such as mold, dust and dander. Corresponds to the JSON property hypoallergenicBedding

Returns:

  • (Boolean)


2334
2335
2336
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2334

def hypoallergenic_bedding
  @hypoallergenic_bedding
end

#hypoallergenic_bedding_exceptionString

Hypoallergenic bedding exception. Corresponds to the JSON property hypoallergenicBeddingException

Returns:

  • (String)


2340
2341
2342
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2340

def hypoallergenic_bedding_exception
  @hypoallergenic_bedding_exception
end

#king_beds_countFixnum

King beds count. The number of large beds measuring 76"W x 80"L (193cm x 102cm) . Most often meant to accompany two people. Includes California king and super king. Corresponds to the JSON property kingBedsCount

Returns:

  • (Fixnum)


2347
2348
2349
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2347

def king_beds_count
  @king_beds_count
end

#king_beds_count_exceptionString

King beds count exception. Corresponds to the JSON property kingBedsCountException

Returns:

  • (String)


2352
2353
2354
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2352

def king_beds_count_exception
  @king_beds_count_exception
end

#memory_foam_pillowsBoolean Also known as: memory_foam_pillows?

Memory foam pillows. The option for guests to obtain bed pillows that are stuffed with a man-made foam that responds to body heat by conforming to the body closely, and then recovers its shape when the pillow cools down. Corresponds to the JSON property memoryFoamPillows

Returns:

  • (Boolean)


2359
2360
2361
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2359

def memory_foam_pillows
  @memory_foam_pillows
end

#memory_foam_pillows_exceptionString

Memory foam pillows exception. Corresponds to the JSON property memoryFoamPillowsException

Returns:

  • (String)


2365
2366
2367
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2365

def memory_foam_pillows_exception
  @memory_foam_pillows_exception
end

#other_beds_countFixnum

Other beds count. The number of beds that are not standard mattress and boxspring setups such as Japanese tatami mats, trundle beds, air mattresses and cots. Corresponds to the JSON property otherBedsCount

Returns:

  • (Fixnum)


2372
2373
2374
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2372

def other_beds_count
  @other_beds_count
end

#other_beds_count_exceptionString

Other beds count exception. Corresponds to the JSON property otherBedsCountException

Returns:

  • (String)


2377
2378
2379
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2377

def other_beds_count_exception
  @other_beds_count_exception
end

#queen_beds_countFixnum

Queen beds count. The number of medium-large beds measuring 60"W x 80"L (152cm x 102cm). Corresponds to the JSON property queenBedsCount

Returns:

  • (Fixnum)


2383
2384
2385
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2383

def queen_beds_count
  @queen_beds_count
end

#queen_beds_count_exceptionString

Queen beds count exception. Corresponds to the JSON property queenBedsCountException

Returns:

  • (String)


2388
2389
2390
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2388

def queen_beds_count_exception
  @queen_beds_count_exception
end

#roll_away_beds_countFixnum

Roll away beds count. The number of mattresses on wheeled frames that can be folded in half and rolled away for easy storage that the guestroom can obtain upon request. Corresponds to the JSON property rollAwayBedsCount

Returns:

  • (Fixnum)


2395
2396
2397
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2395

def roll_away_beds_count
  @roll_away_beds_count
end

#roll_away_beds_count_exceptionString

Roll away beds count exception. Corresponds to the JSON property rollAwayBedsCountException

Returns:

  • (String)


2400
2401
2402
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2400

def roll_away_beds_count_exception
  @roll_away_beds_count_exception
end

#single_or_twin_beds_countFixnum

Single or twin count beds. The number of smaller beds measuring 38"W x 75"L ( 97cm x 191cm) that can accommodate one adult. Corresponds to the JSON property singleOrTwinBedsCount

Returns:

  • (Fixnum)


2406
2407
2408
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2406

def single_or_twin_beds_count
  @single_or_twin_beds_count
end

#single_or_twin_beds_count_exceptionString

Single or twin beds count exception. Corresponds to the JSON property singleOrTwinBedsCountException

Returns:

  • (String)


2411
2412
2413
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2411

def single_or_twin_beds_count_exception
  @single_or_twin_beds_count_exception
end

#sofa_beds_countFixnum

Sofa beds count. The number of specially designed sofas that can be made to serve as a bed by lowering its hinged upholstered back to horizontal position or by pulling out a concealed mattress. Corresponds to the JSON property sofaBedsCount

Returns:

  • (Fixnum)


2418
2419
2420
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2418

def sofa_beds_count
  @sofa_beds_count
end

#sofa_beds_count_exceptionString

Sofa beds count exception. Corresponds to the JSON property sofaBedsCountException

Returns:

  • (String)


2423
2424
2425
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2423

def sofa_beds_count_exception
  @sofa_beds_count_exception
end

#synthetic_pillowsBoolean Also known as: synthetic_pillows?

Synthetic pillows. The option for guests to obtain bed pillows stuffed with polyester material crafted to reproduce the feel of a pillow stuffed with down and feathers. Corresponds to the JSON property syntheticPillows

Returns:

  • (Boolean)


2430
2431
2432
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2430

def synthetic_pillows
  @synthetic_pillows
end

#synthetic_pillows_exceptionString

Synthetic pillows exception. Corresponds to the JSON property syntheticPillowsException

Returns:

  • (String)


2436
2437
2438
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2436

def synthetic_pillows_exception
  @synthetic_pillows_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2443

def update!(**args)
  @beds_count = args[:beds_count] if args.key?(:beds_count)
  @beds_count_exception = args[:beds_count_exception] if args.key?(:beds_count_exception)
  @bunk_beds_count = args[:bunk_beds_count] if args.key?(:bunk_beds_count)
  @bunk_beds_count_exception = args[:bunk_beds_count_exception] if args.key?(:bunk_beds_count_exception)
  @cribs_count = args[:cribs_count] if args.key?(:cribs_count)
  @cribs_count_exception = args[:cribs_count_exception] if args.key?(:cribs_count_exception)
  @double_beds_count = args[:double_beds_count] if args.key?(:double_beds_count)
  @double_beds_count_exception = args[:double_beds_count_exception] if args.key?(:double_beds_count_exception)
  @feather_pillows = args[:feather_pillows] if args.key?(:feather_pillows)
  @feather_pillows_exception = args[:feather_pillows_exception] if args.key?(:feather_pillows_exception)
  @hypoallergenic_bedding = args[:hypoallergenic_bedding] if args.key?(:hypoallergenic_bedding)
  @hypoallergenic_bedding_exception = args[:hypoallergenic_bedding_exception] if args.key?(:hypoallergenic_bedding_exception)
  @king_beds_count = args[:king_beds_count] if args.key?(:king_beds_count)
  @king_beds_count_exception = args[:king_beds_count_exception] if args.key?(:king_beds_count_exception)
  @memory_foam_pillows = args[:memory_foam_pillows] if args.key?(:memory_foam_pillows)
  @memory_foam_pillows_exception = args[:memory_foam_pillows_exception] if args.key?(:memory_foam_pillows_exception)
  @other_beds_count = args[:other_beds_count] if args.key?(:other_beds_count)
  @other_beds_count_exception = args[:other_beds_count_exception] if args.key?(:other_beds_count_exception)
  @queen_beds_count = args[:queen_beds_count] if args.key?(:queen_beds_count)
  @queen_beds_count_exception = args[:queen_beds_count_exception] if args.key?(:queen_beds_count_exception)
  @roll_away_beds_count = args[:roll_away_beds_count] if args.key?(:roll_away_beds_count)
  @roll_away_beds_count_exception = args[:roll_away_beds_count_exception] if args.key?(:roll_away_beds_count_exception)
  @single_or_twin_beds_count = args[:single_or_twin_beds_count] if args.key?(:single_or_twin_beds_count)
  @single_or_twin_beds_count_exception = args[:single_or_twin_beds_count_exception] if args.key?(:single_or_twin_beds_count_exception)
  @sofa_beds_count = args[:sofa_beds_count] if args.key?(:sofa_beds_count)
  @sofa_beds_count_exception = args[:sofa_beds_count_exception] if args.key?(:sofa_beds_count_exception)
  @synthetic_pillows = args[:synthetic_pillows] if args.key?(:synthetic_pillows)
  @synthetic_pillows_exception = args[:synthetic_pillows_exception] if args.key?(:synthetic_pillows_exception)
end