Class: Google::Apis::MybusinesslodgingV1::LivingArea
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::LivingArea
- 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
-
#accessibility ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaAccessibility
Accessibility features of the living area.
-
#eating ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaEating
Information about eating features in the living area.
-
#features ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaFeatures
Features in the living area.
-
#layout ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaLayout
Information about the layout of the living area.
-
#sleeping ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaSleeping
Information about sleeping features in the living area.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LivingArea
constructor
A new instance of LivingArea.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#accessibility ⇒ Google::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 |
#eating ⇒ Google::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 |
#features ⇒ Google::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 |
#layout ⇒ Google::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 |
#sleeping ⇒ Google::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 |