Class: Seatsio::ChartObjectInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ChartObjectInfo

Returns a new instance of ChartObjectInfo.



381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
# File 'lib/seatsio/domain.rb', line 381

def initialize(data)
  @label = data['label']
  @labels = data['labels']
  @ids = data['ids']
  @category_label = data['categoryLabel']
  @category_key = data['categoryKey']
  @section = data['section']
  @entrance = data['entrance']
  @capacity = data['capacity']
  @object_type = data['objectType']
  @left_neighbour = data['leftNeighbour']
  @right_neighbour = data['rightNeighbour']
  @book_as_a_whole = data['bookAsAWhole']
  @distance_to_focal_point = data['distanceToFocalPoint']
  @num_seats = data['numSeats']
  @is_accessible = data['isAccessible']
  @has_lift_up_armrests = data['hasLiftUpArmrests']
  @is_hearing_impaired = data['isHearingImpaired']
  @is_semi_ambulatory_seat = data['isSemiAmbulatorySeat']
  @has_sign_language_interpretation = data['hasSignLanguageInterpretation']
  @is_plus_size = data['isPlusSize']
  @is_companion_seat = data['isCompanionSeat']
  @has_restricted_view = data['hasRestrictedView']
  @zone = data['zone']
  @floor = data['floor']
end

Instance Attribute Details

#book_as_a_wholeObject (readonly)

Returns the value of attribute book_as_a_whole.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def book_as_a_whole
  @book_as_a_whole
end

#capacityObject (readonly)

Returns the value of attribute capacity.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def capacity
  @capacity
end

#category_keyObject (readonly)

Returns the value of attribute category_key.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def category_key
  @category_key
end

#category_labelObject (readonly)

Returns the value of attribute category_label.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def category_label
  @category_label
end

#distance_to_focal_pointObject (readonly)

Returns the value of attribute distance_to_focal_point.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def distance_to_focal_point
  @distance_to_focal_point
end

#entranceObject (readonly)

Returns the value of attribute entrance.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def entrance
  @entrance
end

#floorObject (readonly)

Returns the value of attribute floor.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def floor
  @floor
end

#has_lift_up_armrestsObject (readonly)

Returns the value of attribute has_lift_up_armrests.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def has_lift_up_armrests
  @has_lift_up_armrests
end

#has_restricted_viewObject (readonly)

Returns the value of attribute has_restricted_view.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def has_restricted_view
  @has_restricted_view
end

#has_sign_language_interpretationObject (readonly)

Returns the value of attribute has_sign_language_interpretation.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def has_sign_language_interpretation
  @has_sign_language_interpretation
end

#idsObject (readonly)

Returns the value of attribute ids.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def ids
  @ids
end

#is_accessibleObject (readonly)

Returns the value of attribute is_accessible.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def is_accessible
  @is_accessible
end

#is_companion_seatObject (readonly)

Returns the value of attribute is_companion_seat.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def is_companion_seat
  @is_companion_seat
end

#is_hearing_impairedObject (readonly)

Returns the value of attribute is_hearing_impaired.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def is_hearing_impaired
  @is_hearing_impaired
end

#is_plus_sizeObject (readonly)

Returns the value of attribute is_plus_size.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def is_plus_size
  @is_plus_size
end

#is_semi_ambulatory_seatObject (readonly)

Returns the value of attribute is_semi_ambulatory_seat.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def is_semi_ambulatory_seat
  @is_semi_ambulatory_seat
end

#labelObject (readonly)

Returns the value of attribute label.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def label
  @label
end

#labelsObject (readonly)

Returns the value of attribute labels.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def labels
  @labels
end

#left_neighbourObject (readonly)

Returns the value of attribute left_neighbour.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def left_neighbour
  @left_neighbour
end

#num_seatsObject (readonly)

Returns the value of attribute num_seats.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def num_seats
  @num_seats
end

#object_typeObject (readonly)

Returns the value of attribute object_type.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def object_type
  @object_type
end

#right_neighbourObject (readonly)

Returns the value of attribute right_neighbour.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def right_neighbour
  @right_neighbour
end

#sectionObject (readonly)

Returns the value of attribute section.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def section
  @section
end

#zoneObject (readonly)

Returns the value of attribute zone.



376
377
378
# File 'lib/seatsio/domain.rb', line 376

def zone
  @zone
end