Class: Google::Apis::MybusinesslodgingV1::ViewsFromUnit
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::ViewsFromUnit
- 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
Views available from the guest unit itself.
Instance Attribute Summary collapse
-
#beach_view ⇒ Boolean
(also: #beach_view?)
Beach view.
-
#beach_view_exception ⇒ String
Beach view exception.
-
#city_view ⇒ Boolean
(also: #city_view?)
City view.
-
#city_view_exception ⇒ String
City view exception.
-
#garden_view ⇒ Boolean
(also: #garden_view?)
Garden view.
-
#garden_view_exception ⇒ String
Garden view exception.
-
#lake_view ⇒ Boolean
(also: #lake_view?)
Lake view.
-
#lake_view_exception ⇒ String
Lake view exception.
-
#landmark_view ⇒ Boolean
(also: #landmark_view?)
Landmark view.
-
#landmark_view_exception ⇒ String
Landmark view exception.
-
#ocean_view ⇒ Boolean
(also: #ocean_view?)
Ocean view.
-
#ocean_view_exception ⇒ String
Ocean view exception.
-
#pool_view ⇒ Boolean
(also: #pool_view?)
Pool view.
-
#pool_view_exception ⇒ String
Pool view exception.
-
#valley_view ⇒ Boolean
(also: #valley_view?)
Valley view.
-
#valley_view_exception ⇒ String
Valley view exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ViewsFromUnit
constructor
A new instance of ViewsFromUnit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ViewsFromUnit
Returns a new instance of ViewsFromUnit.
4296 4297 4298 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#beach_view ⇒ Boolean Also known as: beach_view?
Beach view. A guestroom that features a window through which guests can see
the beach.
Corresponds to the JSON property beachView
4204 4205 4206 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4204 def beach_view @beach_view end |
#beach_view_exception ⇒ String
Beach view exception.
Corresponds to the JSON property beachViewException
4210 4211 4212 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4210 def beach_view_exception @beach_view_exception end |
#city_view ⇒ Boolean Also known as: city_view?
City view. A guestroom that features a window through which guests can see the
buildings, parks and/or streets of the city.
Corresponds to the JSON property cityView
4216 4217 4218 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4216 def city_view @city_view end |
#city_view_exception ⇒ String
City view exception.
Corresponds to the JSON property cityViewException
4222 4223 4224 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4222 def city_view_exception @city_view_exception end |
#garden_view ⇒ Boolean Also known as: garden_view?
Garden view. A guestroom that features a window through which guests can see a
garden.
Corresponds to the JSON property gardenView
4228 4229 4230 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4228 def garden_view @garden_view end |
#garden_view_exception ⇒ String
Garden view exception.
Corresponds to the JSON property gardenViewException
4234 4235 4236 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4234 def garden_view_exception @garden_view_exception end |
#lake_view ⇒ Boolean Also known as: lake_view?
Lake view.
Corresponds to the JSON property lakeView
4239 4240 4241 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4239 def lake_view @lake_view end |
#lake_view_exception ⇒ String
Lake view exception.
Corresponds to the JSON property lakeViewException
4245 4246 4247 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4245 def lake_view_exception @lake_view_exception end |
#landmark_view ⇒ Boolean Also known as: landmark_view?
Landmark view. A guestroom that features a window through which guests can see
a landmark such as the countryside, a golf course, the forest, a park, a rain
forst, a mountain or a slope.
Corresponds to the JSON property landmarkView
4252 4253 4254 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4252 def landmark_view @landmark_view end |
#landmark_view_exception ⇒ String
Landmark view exception.
Corresponds to the JSON property landmarkViewException
4258 4259 4260 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4258 def landmark_view_exception @landmark_view_exception end |
#ocean_view ⇒ Boolean Also known as: ocean_view?
Ocean view. A guestroom that features a window through which guests can see
the ocean.
Corresponds to the JSON property oceanView
4264 4265 4266 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4264 def ocean_view @ocean_view end |
#ocean_view_exception ⇒ String
Ocean view exception.
Corresponds to the JSON property oceanViewException
4270 4271 4272 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4270 def ocean_view_exception @ocean_view_exception end |
#pool_view ⇒ Boolean Also known as: pool_view?
Pool view. A guestroom that features a window through which guests can see the
hotel's swimming pool.
Corresponds to the JSON property poolView
4276 4277 4278 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4276 def pool_view @pool_view end |
#pool_view_exception ⇒ String
Pool view exception.
Corresponds to the JSON property poolViewException
4282 4283 4284 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4282 def pool_view_exception @pool_view_exception end |
#valley_view ⇒ Boolean Also known as: valley_view?
Valley view. A guestroom that features a window through which guests can see
over a valley.
Corresponds to the JSON property valleyView
4288 4289 4290 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4288 def valley_view @valley_view end |
#valley_view_exception ⇒ String
Valley view exception.
Corresponds to the JSON property valleyViewException
4294 4295 4296 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4294 def valley_view_exception @valley_view_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4301 def update!(**args) @beach_view = args[:beach_view] if args.key?(:beach_view) @beach_view_exception = args[:beach_view_exception] if args.key?(:beach_view_exception) @city_view = args[:city_view] if args.key?(:city_view) @city_view_exception = args[:city_view_exception] if args.key?(:city_view_exception) @garden_view = args[:garden_view] if args.key?(:garden_view) @garden_view_exception = args[:garden_view_exception] if args.key?(:garden_view_exception) @lake_view = args[:lake_view] if args.key?(:lake_view) @lake_view_exception = args[:lake_view_exception] if args.key?(:lake_view_exception) @landmark_view = args[:landmark_view] if args.key?(:landmark_view) @landmark_view_exception = args[:landmark_view_exception] if args.key?(:landmark_view_exception) @ocean_view = args[:ocean_view] if args.key?(:ocean_view) @ocean_view_exception = args[:ocean_view_exception] if args.key?(:ocean_view_exception) @pool_view = args[:pool_view] if args.key?(:pool_view) @pool_view_exception = args[:pool_view_exception] if args.key?(:pool_view_exception) @valley_view = args[:valley_view] if args.key?(:valley_view) @valley_view_exception = args[:valley_view_exception] if args.key?(:valley_view_exception) end |