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.



1493
1494
1495
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1493

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



1471
1472
1473
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1471

def accessibility
  @accessibility
end

#eatingGoogle::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

#featuresGoogle::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

#layoutGoogle::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

#sleepingGoogle::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