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.



2270
2271
2272
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2270

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)


2106
2107
2108
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2106

def beds_count
  @beds_count
end

#beds_count_exceptionString

Beds count exception. Corresponds to the JSON property bedsCountException

Returns:

  • (String)


2111
2112
2113
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2111

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)


2119
2120
2121
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2119

def bunk_beds_count
  @bunk_beds_count
end

#bunk_beds_count_exceptionString

Bunk beds count exception. Corresponds to the JSON property bunkBedsCountException

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2124

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)


2131
2132
2133
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2131

def cribs_count
  @cribs_count
end

#cribs_count_exceptionString

Cribs count exception. Corresponds to the JSON property cribsCountException

Returns:

  • (String)


2136
2137
2138
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2136

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)


2142
2143
2144
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2142

def double_beds_count
  @double_beds_count
end

#double_beds_count_exceptionString

Double beds count exception. Corresponds to the JSON property doubleBedsCountException

Returns:

  • (String)


2147
2148
2149
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2147

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)


2153
2154
2155
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2153

def feather_pillows
  @feather_pillows
end

#feather_pillows_exceptionString

Feather pillows exception. Corresponds to the JSON property featherPillowsException

Returns:

  • (String)


2159
2160
2161
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2159

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)


2166
2167
2168
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2166

def hypoallergenic_bedding
  @hypoallergenic_bedding
end

#hypoallergenic_bedding_exceptionString

Hypoallergenic bedding exception. Corresponds to the JSON property hypoallergenicBeddingException

Returns:

  • (String)


2172
2173
2174
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2172

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)


2179
2180
2181
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2179

def king_beds_count
  @king_beds_count
end

#king_beds_count_exceptionString

King beds count exception. Corresponds to the JSON property kingBedsCountException

Returns:

  • (String)


2184
2185
2186
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2184

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)


2191
2192
2193
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2191

def memory_foam_pillows
  @memory_foam_pillows
end

#memory_foam_pillows_exceptionString

Memory foam pillows exception. Corresponds to the JSON property memoryFoamPillowsException

Returns:

  • (String)


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

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)


2204
2205
2206
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2204

def other_beds_count
  @other_beds_count
end

#other_beds_count_exceptionString

Other beds count exception. Corresponds to the JSON property otherBedsCountException

Returns:

  • (String)


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

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)


2215
2216
2217
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2215

def queen_beds_count
  @queen_beds_count
end

#queen_beds_count_exceptionString

Queen beds count exception. Corresponds to the JSON property queenBedsCountException

Returns:

  • (String)


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

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)


2227
2228
2229
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2227

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)


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

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)


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

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)


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

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)


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

def sofa_beds_count
  @sofa_beds_count
end

#sofa_beds_count_exceptionString

Sofa beds count exception. Corresponds to the JSON property sofaBedsCountException

Returns:

  • (String)


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

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)


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

def synthetic_pillows
  @synthetic_pillows
end

#synthetic_pillows_exceptionString

Synthetic pillows exception. Corresponds to the JSON property syntheticPillowsException

Returns:

  • (String)


2268
2269
2270
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2268

def synthetic_pillows_exception
  @synthetic_pillows_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2275

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