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.



2455
2456
2457
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2455

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)


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

def beds_count
  @beds_count
end

#beds_count_exceptionString

Beds count exception. Corresponds to the JSON property bedsCountException

Returns:

  • (String)


2296
2297
2298
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2296

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)


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

def bunk_beds_count
  @bunk_beds_count
end

#bunk_beds_count_exceptionString

Bunk beds count exception. Corresponds to the JSON property bunkBedsCountException

Returns:

  • (String)


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

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)


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

def cribs_count
  @cribs_count
end

#cribs_count_exceptionString

Cribs count exception. Corresponds to the JSON property cribsCountException

Returns:

  • (String)


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

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)


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

def double_beds_count
  @double_beds_count
end

#double_beds_count_exceptionString

Double beds count exception. Corresponds to the JSON property doubleBedsCountException

Returns:

  • (String)


2332
2333
2334
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2332

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)


2338
2339
2340
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2338

def feather_pillows
  @feather_pillows
end

#feather_pillows_exceptionString

Feather pillows exception. Corresponds to the JSON property featherPillowsException

Returns:

  • (String)


2344
2345
2346
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2344

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)


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

def hypoallergenic_bedding
  @hypoallergenic_bedding
end

#hypoallergenic_bedding_exceptionString

Hypoallergenic bedding exception. Corresponds to the JSON property hypoallergenicBeddingException

Returns:

  • (String)


2357
2358
2359
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2357

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)


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

def king_beds_count
  @king_beds_count
end

#king_beds_count_exceptionString

King beds count exception. Corresponds to the JSON property kingBedsCountException

Returns:

  • (String)


2369
2370
2371
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2369

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)


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

def memory_foam_pillows
  @memory_foam_pillows
end

#memory_foam_pillows_exceptionString

Memory foam pillows exception. Corresponds to the JSON property memoryFoamPillowsException

Returns:

  • (String)


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

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)


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

def other_beds_count
  @other_beds_count
end

#other_beds_count_exceptionString

Other beds count exception. Corresponds to the JSON property otherBedsCountException

Returns:

  • (String)


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

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)


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

def queen_beds_count
  @queen_beds_count
end

#queen_beds_count_exceptionString

Queen beds count exception. Corresponds to the JSON property queenBedsCountException

Returns:

  • (String)


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

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)


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

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)


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

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)


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

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)


2428
2429
2430
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2428

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)


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

def sofa_beds_count
  @sofa_beds_count
end

#sofa_beds_count_exceptionString

Sofa beds count exception. Corresponds to the JSON property sofaBedsCountException

Returns:

  • (String)


2440
2441
2442
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2440

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)


2447
2448
2449
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2447

def synthetic_pillows
  @synthetic_pillows
end

#synthetic_pillows_exceptionString

Synthetic pillows exception. Corresponds to the JSON property syntheticPillowsException

Returns:

  • (String)


2453
2454
2455
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2453

def synthetic_pillows_exception
  @synthetic_pillows_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2460

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