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.



1491
1492
1493
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1491

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



1469
1470
1471
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1469

def accessibility
  @accessibility
end

#eatingGoogle::Apis::MybusinesslodgingV1::LivingAreaEating

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



1474
1475
1476
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1474

def eating
  @eating
end

#featuresGoogle::Apis::MybusinesslodgingV1::LivingAreaFeatures

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



1479
1480
1481
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1479

def features
  @features
end

#layoutGoogle::Apis::MybusinesslodgingV1::LivingAreaLayout

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



1484
1485
1486
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1484

def layout
  @layout
end

#sleepingGoogle::Apis::MybusinesslodgingV1::LivingAreaSleeping

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



1489
1490
1491
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1489

def sleeping
  @sleeping
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1496
1497
1498
1499
1500
1501
1502
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1496

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