Class: Google::Apis::MybusinesslodgingV1::LivingArea

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

An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LivingArea

Returns a new instance of LivingArea.



1308
1309
1310
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1308

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

Instance Attribute Details

#accessibilityGoogle::Apis::MybusinesslodgingV1::LivingAreaAccessibility

Accessibility features of the living area. Corresponds to the JSON property accessibility



1286
1287
1288
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1286

def accessibility
  @accessibility
end

#eatingGoogle::Apis::MybusinesslodgingV1::LivingAreaEating

Information about eating features in the living area. Corresponds to the JSON property eating



1291
1292
1293
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1291

def eating
  @eating
end

#featuresGoogle::Apis::MybusinesslodgingV1::LivingAreaFeatures

Features in the living area. Corresponds to the JSON property features



1296
1297
1298
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1296

def features
  @features
end

#layoutGoogle::Apis::MybusinesslodgingV1::LivingAreaLayout

Information about the layout of the living area. Corresponds to the JSON property layout



1301
1302
1303
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1301

def layout
  @layout
end

#sleepingGoogle::Apis::MybusinesslodgingV1::LivingAreaSleeping

Information about sleeping features in the living area. Corresponds to the JSON property sleeping



1306
1307
1308
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1306

def sleeping
  @sleeping
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1313
1314
1315
1316
1317
1318
1319
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1313

def update!(**args)
  @accessibility = args[:accessibility] if args.key?(:accessibility)
  @eating = args[:eating] if args.key?(:eating)
  @features = args[:features] if args.key?(:features)
  @layout = args[:layout] if args.key?(:layout)
  @sleeping = args[:sleeping] if args.key?(:sleeping)
end