Class: Seatsio::ChartObjectInfo
- Inherits:
-
Object
- Object
- Seatsio::ChartObjectInfo
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#area_type ⇒ Object
readonly
Returns the value of attribute area_type.
-
#book_as_a_whole ⇒ Object
readonly
Returns the value of attribute book_as_a_whole.
-
#capacity ⇒ Object
readonly
Returns the value of attribute capacity.
-
#category_key ⇒ Object
readonly
Returns the value of attribute category_key.
-
#category_label ⇒ Object
readonly
Returns the value of attribute category_label.
-
#distance_to_focal_point ⇒ Object
readonly
Returns the value of attribute distance_to_focal_point.
-
#entrance ⇒ Object
readonly
Returns the value of attribute entrance.
-
#floor ⇒ Object
readonly
Returns the value of attribute floor.
-
#has_lift_up_armrests ⇒ Object
readonly
Returns the value of attribute has_lift_up_armrests.
-
#has_restricted_view ⇒ Object
readonly
Returns the value of attribute has_restricted_view.
-
#has_sign_language_interpretation ⇒ Object
readonly
Returns the value of attribute has_sign_language_interpretation.
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
-
#is_accessible ⇒ Object
readonly
Returns the value of attribute is_accessible.
-
#is_companion_seat ⇒ Object
readonly
Returns the value of attribute is_companion_seat.
-
#is_hearing_impaired ⇒ Object
readonly
Returns the value of attribute is_hearing_impaired.
-
#is_plus_size ⇒ Object
readonly
Returns the value of attribute is_plus_size.
-
#is_semi_ambulatory_seat ⇒ Object
readonly
Returns the value of attribute is_semi_ambulatory_seat.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#left_neighbour ⇒ Object
readonly
Returns the value of attribute left_neighbour.
-
#num_seats ⇒ Object
readonly
Returns the value of attribute num_seats.
-
#object_type ⇒ Object
readonly
Returns the value of attribute object_type.
-
#right_neighbour ⇒ Object
readonly
Returns the value of attribute right_neighbour.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#zone ⇒ Object
readonly
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(data) ⇒ ChartObjectInfo
constructor
A new instance of ChartObjectInfo.
Constructor Details
#initialize(data) ⇒ ChartObjectInfo
Returns a new instance of ChartObjectInfo.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/seatsio/domain.rb', line 390 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'] @area_type = data['areaType'] @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
#area_type ⇒ Object (readonly)
Returns the value of attribute area_type.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def area_type @area_type end |
#book_as_a_whole ⇒ Object (readonly)
Returns the value of attribute book_as_a_whole.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def book_as_a_whole @book_as_a_whole end |
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def capacity @capacity end |
#category_key ⇒ Object (readonly)
Returns the value of attribute category_key.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def category_key @category_key end |
#category_label ⇒ Object (readonly)
Returns the value of attribute category_label.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def category_label @category_label end |
#distance_to_focal_point ⇒ Object (readonly)
Returns the value of attribute distance_to_focal_point.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def distance_to_focal_point @distance_to_focal_point end |
#entrance ⇒ Object (readonly)
Returns the value of attribute entrance.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def entrance @entrance end |
#floor ⇒ Object (readonly)
Returns the value of attribute floor.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def floor @floor end |
#has_lift_up_armrests ⇒ Object (readonly)
Returns the value of attribute has_lift_up_armrests.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def has_lift_up_armrests @has_lift_up_armrests end |
#has_restricted_view ⇒ Object (readonly)
Returns the value of attribute has_restricted_view.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def has_restricted_view @has_restricted_view end |
#has_sign_language_interpretation ⇒ Object (readonly)
Returns the value of attribute has_sign_language_interpretation.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def has_sign_language_interpretation @has_sign_language_interpretation end |
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def ids @ids end |
#is_accessible ⇒ Object (readonly)
Returns the value of attribute is_accessible.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def is_accessible @is_accessible end |
#is_companion_seat ⇒ Object (readonly)
Returns the value of attribute is_companion_seat.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def is_companion_seat @is_companion_seat end |
#is_hearing_impaired ⇒ Object (readonly)
Returns the value of attribute is_hearing_impaired.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def is_hearing_impaired @is_hearing_impaired end |
#is_plus_size ⇒ Object (readonly)
Returns the value of attribute is_plus_size.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def is_plus_size @is_plus_size end |
#is_semi_ambulatory_seat ⇒ Object (readonly)
Returns the value of attribute is_semi_ambulatory_seat.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def is_semi_ambulatory_seat @is_semi_ambulatory_seat end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def label @label end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def labels @labels end |
#left_neighbour ⇒ Object (readonly)
Returns the value of attribute left_neighbour.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def left_neighbour @left_neighbour end |
#num_seats ⇒ Object (readonly)
Returns the value of attribute num_seats.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def num_seats @num_seats end |
#object_type ⇒ Object (readonly)
Returns the value of attribute object_type.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def object_type @object_type end |
#right_neighbour ⇒ Object (readonly)
Returns the value of attribute right_neighbour.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def right_neighbour @right_neighbour end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def section @section end |
#zone ⇒ Object (readonly)
Returns the value of attribute zone.
385 386 387 |
# File 'lib/seatsio/domain.rb', line 385 def zone @zone end |