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.



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

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)


2289
2290
2291
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2289

def beds_count
  @beds_count
end

#beds_count_exceptionString

Beds count exception. Corresponds to the JSON property bedsCountException

Returns:

  • (String)


2294
2295
2296
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2294

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)


2302
2303
2304
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2302

def bunk_beds_count
  @bunk_beds_count
end

#bunk_beds_count_exceptionString

Bunk beds count exception. Corresponds to the JSON property bunkBedsCountException

Returns:

  • (String)


2307
2308
2309
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2307

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)


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

def cribs_count
  @cribs_count
end

#cribs_count_exceptionString

Cribs count exception. Corresponds to the JSON property cribsCountException

Returns:

  • (String)


2319
2320
2321
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2319

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)


2325
2326
2327
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2325

def double_beds_count
  @double_beds_count
end

#double_beds_count_exceptionString

Double beds count exception. Corresponds to the JSON property doubleBedsCountException

Returns:

  • (String)


2330
2331
2332
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2330

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)


2336
2337
2338
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2336

def feather_pillows
  @feather_pillows
end

#feather_pillows_exceptionString

Feather pillows exception. Corresponds to the JSON property featherPillowsException

Returns:

  • (String)


2342
2343
2344
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2342

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)


2349
2350
2351
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2349

def hypoallergenic_bedding
  @hypoallergenic_bedding
end

#hypoallergenic_bedding_exceptionString

Hypoallergenic bedding exception. Corresponds to the JSON property hypoallergenicBeddingException

Returns:

  • (String)


2355
2356
2357
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2355

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)


2362
2363
2364
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2362

def king_beds_count
  @king_beds_count
end

#king_beds_count_exceptionString

King beds count exception. Corresponds to the JSON property kingBedsCountException

Returns:

  • (String)


2367
2368
2369
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2367

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)


2374
2375
2376
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2374

def memory_foam_pillows
  @memory_foam_pillows
end

#memory_foam_pillows_exceptionString

Memory foam pillows exception. Corresponds to the JSON property memoryFoamPillowsException

Returns:

  • (String)


2380
2381
2382
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2380

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)


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

def other_beds_count
  @other_beds_count
end

#other_beds_count_exceptionString

Other beds count exception. Corresponds to the JSON property otherBedsCountException

Returns:

  • (String)


2392
2393
2394
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2392

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)


2398
2399
2400
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2398

def queen_beds_count
  @queen_beds_count
end

#queen_beds_count_exceptionString

Queen beds count exception. Corresponds to the JSON property queenBedsCountException

Returns:

  • (String)


2403
2404
2405
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2403

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)


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

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)


2415
2416
2417
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2415

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)


2421
2422
2423
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2421

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)


2426
2427
2428
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2426

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)


2433
2434
2435
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2433

def sofa_beds_count
  @sofa_beds_count
end

#sofa_beds_count_exceptionString

Sofa beds count exception. Corresponds to the JSON property sofaBedsCountException

Returns:

  • (String)


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

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)


2445
2446
2447
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2445

def synthetic_pillows
  @synthetic_pillows
end

#synthetic_pillows_exceptionString

Synthetic pillows exception. Corresponds to the JSON property syntheticPillowsException

Returns:

  • (String)


2451
2452
2453
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2451

def synthetic_pillows_exception
  @synthetic_pillows_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2458
2459
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
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2458

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