Class: Google::Apis::MybusinesslodgingV1::ViewsFromUnit

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

Views available from the guest unit itself.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ViewsFromUnit

Returns a new instance of ViewsFromUnit.



4275
4276
4277
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4275

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#beach_viewBoolean 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

Returns:

  • (Boolean)


4183
4184
4185
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4183

def beach_view
  @beach_view
end

#beach_view_exceptionString

Beach view exception. Corresponds to the JSON property beachViewException

Returns:

  • (String)


4189
4190
4191
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4189

def beach_view_exception
  @beach_view_exception
end

#city_viewBoolean 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

Returns:

  • (Boolean)


4195
4196
4197
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4195

def city_view
  @city_view
end

#city_view_exceptionString

City view exception. Corresponds to the JSON property cityViewException

Returns:

  • (String)


4201
4202
4203
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4201

def city_view_exception
  @city_view_exception
end

#garden_viewBoolean 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

Returns:

  • (Boolean)


4207
4208
4209
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4207

def garden_view
  @garden_view
end

#garden_view_exceptionString

Garden view exception. Corresponds to the JSON property gardenViewException

Returns:

  • (String)


4213
4214
4215
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4213

def garden_view_exception
  @garden_view_exception
end

#lake_viewBoolean Also known as: lake_view?

Lake view. Corresponds to the JSON property lakeView

Returns:

  • (Boolean)


4218
4219
4220
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4218

def lake_view
  @lake_view
end

#lake_view_exceptionString

Lake view exception. Corresponds to the JSON property lakeViewException

Returns:

  • (String)


4224
4225
4226
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4224

def lake_view_exception
  @lake_view_exception
end

#landmark_viewBoolean 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

Returns:

  • (Boolean)


4231
4232
4233
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4231

def landmark_view
  @landmark_view
end

#landmark_view_exceptionString

Landmark view exception. Corresponds to the JSON property landmarkViewException

Returns:

  • (String)


4237
4238
4239
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4237

def landmark_view_exception
  @landmark_view_exception
end

#ocean_viewBoolean 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

Returns:

  • (Boolean)


4243
4244
4245
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4243

def ocean_view
  @ocean_view
end

#ocean_view_exceptionString

Ocean view exception. Corresponds to the JSON property oceanViewException

Returns:

  • (String)


4249
4250
4251
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4249

def ocean_view_exception
  @ocean_view_exception
end

#pool_viewBoolean 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

Returns:

  • (Boolean)


4255
4256
4257
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4255

def pool_view
  @pool_view
end

#pool_view_exceptionString

Pool view exception. Corresponds to the JSON property poolViewException

Returns:

  • (String)


4261
4262
4263
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4261

def pool_view_exception
  @pool_view_exception
end

#valley_viewBoolean 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

Returns:

  • (Boolean)


4267
4268
4269
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4267

def valley_view
  @valley_view
end

#valley_view_exceptionString

Valley view exception. Corresponds to the JSON property valleyViewException

Returns:

  • (String)


4273
4274
4275
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4273

def valley_view_exception
  @valley_view_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4280

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