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.
1493 1494 1495 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1493 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
1471 1472 1473 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1471 def accessibility @accessibility end |
#eating ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaEating
Information about eating features in the living area.
Corresponds to the JSON property eating
1476 1477 1478 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1476 def eating @eating end |
#features ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaFeatures
Features in the living area.
Corresponds to the JSON property features
1481 1482 1483 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1481 def features @features end |
#layout ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaLayout
Information about the layout of the living area.
Corresponds to the JSON property layout
1486 1487 1488 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1486 def layout @layout end |
#sleeping ⇒ Google::Apis::MybusinesslodgingV1::LivingAreaSleeping
Information about sleeping features in the living area.
Corresponds to the JSON property sleeping
1491 1492 1493 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1491 def sleeping @sleeping end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1498 1499 1500 1501 1502 1503 1504 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1498 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 |