Class: Google::Apis::MybusinesslodgingV1::Business

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

Features of the property of specific interest to the business traveler.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Business

Returns a new instance of Business.



424
425
426
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 424

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

Instance Attribute Details

#business_centerBoolean Also known as: business_center?

Business center. A designated room at the hotel with one or more desks and equipped with guest-use computers, printers, fax machines and/or photocopiers. May or may not be open 24/7. May or may not require a key to access. Not a meeting room or conference room. Corresponds to the JSON property businessCenter

Returns:

  • (Boolean)


392
393
394
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 392

def business_center
  @business_center
end

#business_center_exceptionString

Business center exception. Corresponds to the JSON property businessCenterException

Returns:

  • (String)


398
399
400
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 398

def business_center_exception
  @business_center_exception
end

#meeting_roomsBoolean Also known as: meeting_rooms?

Meeting rooms. Rooms at the hotel designated for business-related gatherings. Rooms are usually equipped with tables or desks, office chairs and audio/ visual facilities to allow for presentations and conference calls. Also known as conference rooms. Corresponds to the JSON property meetingRooms

Returns:

  • (Boolean)


406
407
408
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 406

def meeting_rooms
  @meeting_rooms
end

#meeting_rooms_countFixnum

Meeting rooms count. The number of meeting rooms at the property. Corresponds to the JSON property meetingRoomsCount

Returns:

  • (Fixnum)


412
413
414
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 412

def meeting_rooms_count
  @meeting_rooms_count
end

#meeting_rooms_count_exceptionString

Meeting rooms count exception. Corresponds to the JSON property meetingRoomsCountException

Returns:

  • (String)


417
418
419
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 417

def meeting_rooms_count_exception
  @meeting_rooms_count_exception
end

#meeting_rooms_exceptionString

Meeting rooms exception. Corresponds to the JSON property meetingRoomsException

Returns:

  • (String)


422
423
424
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 422

def meeting_rooms_exception
  @meeting_rooms_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



429
430
431
432
433
434
435
436
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 429

def update!(**args)
  @business_center = args[:business_center] if args.key?(:business_center)
  @business_center_exception = args[:business_center_exception] if args.key?(:business_center_exception)
  @meeting_rooms = args[:meeting_rooms] if args.key?(:meeting_rooms)
  @meeting_rooms_count = args[:meeting_rooms_count] if args.key?(:meeting_rooms_count)
  @meeting_rooms_count_exception = args[:meeting_rooms_count_exception] if args.key?(:meeting_rooms_count_exception)
  @meeting_rooms_exception = args[:meeting_rooms_exception] if args.key?(:meeting_rooms_exception)
end