Class: Seatsio::EventObjectInfo
- Inherits:
-
Object
- Object
- Seatsio::EventObjectInfo
- Defined in:
- lib/seatsio/domain.rb
Constant Summary collapse
- FREE =
'free'- BOOKED =
'booked'- HELD =
'reservedByToken'- RESALE =
'resale'
Instance Attribute Summary collapse
-
#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.
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#displayed_object_type ⇒ Object
readonly
Returns the value of attribute displayed_object_type.
-
#distance_to_focal_point ⇒ Object
readonly
Returns the value of attribute distance_to_focal_point.
-
#entrance ⇒ Object
readonly
Returns the value of attribute entrance.
-
#extra_data ⇒ Object
readonly
Returns the value of attribute extra_data.
-
#floor ⇒ Object
readonly
Returns the value of attribute floor.
-
#for_sale ⇒ Object
readonly
Returns the value of attribute for_sale.
-
#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.
-
#hold_token ⇒ Object
readonly
Returns the value of attribute hold_token.
-
#holds ⇒ Object
readonly
Returns the value of attribute holds.
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
-
#is_accessible ⇒ Object
readonly
Returns the value of attribute is_accessible.
-
#is_available ⇒ Object
readonly
Returns the value of attribute is_available.
-
#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.
-
#max_occupancy ⇒ Object
readonly
Returns the value of attribute max_occupancy.
-
#min_occupancy ⇒ Object
readonly
Returns the value of attribute min_occupancy.
-
#num_booked ⇒ Object
readonly
Returns the value of attribute num_booked.
-
#num_free ⇒ Object
readonly
Returns the value of attribute num_free.
-
#num_held ⇒ Object
readonly
Returns the value of attribute num_held.
-
#num_not_for_sale ⇒ Object
readonly
Returns the value of attribute num_not_for_sale.
-
#num_seats ⇒ Object
readonly
Returns the value of attribute num_seats.
-
#object_type ⇒ Object
readonly
Returns the value of attribute object_type.
-
#order_id ⇒ Object
readonly
Returns the value of attribute order_id.
-
#parent_displayed_object_type ⇒ Object
readonly
Returns the value of attribute parent_displayed_object_type.
-
#resale_listing_id ⇒ Object
readonly
Returns the value of attribute resale_listing_id.
-
#right_neighbour ⇒ Object
readonly
Returns the value of attribute right_neighbour.
-
#season_status_overridden_quantity ⇒ Object
readonly
Returns the value of attribute season_status_overridden_quantity.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#ticket_type ⇒ Object
readonly
Returns the value of attribute ticket_type.
-
#variable_occupancy ⇒ Object
readonly
Returns the value of attribute variable_occupancy.
-
#zone ⇒ Object
readonly
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(data) ⇒ EventObjectInfo
constructor
A new instance of EventObjectInfo.
Constructor Details
#initialize(data) ⇒ EventObjectInfo
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/seatsio/domain.rb', line 474 def initialize(data) @status = data['status'] @label = data['label'] @labels = data['labels'] @ids = data['ids'] @category_label = data['categoryLabel'] @category_key = data['categoryKey'] @ticket_type = data['ticketType'] @order_id = data['orderId'] @for_sale = data['forSale'] @hold_token = data['holdToken'] @section = data['section'] @entrance = data['entrance'] @num_booked = data['numBooked'] @num_free = data['numFree'] @num_held = data['numHeld'] @capacity = data['capacity'] @object_type = data['objectType'] @extra_data = data['extraData'] @is_accessible = data['isAccessible'] @is_companion_seat = data['isCompanionSeat'] @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'] @has_restricted_view = data['hasRestrictedView'] @displayed_object_type = data['displayedObjectType'] @parent_displayed_object_type = data['parentDisplayedObjectType'] @left_neighbour = data['leftNeighbour'] @right_neighbour = data['rightNeighbour'] @is_available = data['isAvailable'] @channel = data['channel'] @book_as_a_whole = data['bookAsAWhole'] @distance_to_focal_point = data['distanceToFocalPoint'] @holds = data['holds'] @num_seats = data['numSeats'] @variable_occupancy = data['variableOccupancy'] @min_occupancy = data['minOccupancy'] @max_occupancy = data['maxOccupancy'] @season_status_overridden_quantity = data['seasonStatusOverriddenQuantity'] @num_not_for_sale = data['numNotForSale'] @zone = data['zone'] @floor = data['floor'] @resale_listing_id = data['resaleListingId'] end |
Instance Attribute Details
#book_as_a_whole ⇒ Object (readonly)
Returns the value of attribute book_as_a_whole.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def book_as_a_whole @book_as_a_whole end |
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def capacity @capacity end |
#category_key ⇒ Object (readonly)
Returns the value of attribute category_key.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def category_key @category_key end |
#category_label ⇒ Object (readonly)
Returns the value of attribute category_label.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def category_label @category_label end |
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def channel @channel end |
#displayed_object_type ⇒ Object (readonly)
Returns the value of attribute displayed_object_type.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def displayed_object_type @displayed_object_type end |
#distance_to_focal_point ⇒ Object (readonly)
Returns the value of attribute distance_to_focal_point.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def distance_to_focal_point @distance_to_focal_point end |
#entrance ⇒ Object (readonly)
Returns the value of attribute entrance.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def entrance @entrance end |
#extra_data ⇒ Object (readonly)
Returns the value of attribute extra_data.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def extra_data @extra_data end |
#floor ⇒ Object (readonly)
Returns the value of attribute floor.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def floor @floor end |
#for_sale ⇒ Object (readonly)
Returns the value of attribute for_sale.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def for_sale @for_sale end |
#has_lift_up_armrests ⇒ Object (readonly)
Returns the value of attribute has_lift_up_armrests.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def has_lift_up_armrests @has_lift_up_armrests end |
#has_restricted_view ⇒ Object (readonly)
Returns the value of attribute has_restricted_view.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def has_restricted_view @has_restricted_view end |
#has_sign_language_interpretation ⇒ Object (readonly)
Returns the value of attribute has_sign_language_interpretation.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def has_sign_language_interpretation @has_sign_language_interpretation end |
#hold_token ⇒ Object (readonly)
Returns the value of attribute hold_token.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def hold_token @hold_token end |
#holds ⇒ Object (readonly)
Returns the value of attribute holds.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def holds @holds end |
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def ids @ids end |
#is_accessible ⇒ Object (readonly)
Returns the value of attribute is_accessible.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_accessible @is_accessible end |
#is_available ⇒ Object (readonly)
Returns the value of attribute is_available.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_available @is_available end |
#is_companion_seat ⇒ Object (readonly)
Returns the value of attribute is_companion_seat.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_companion_seat @is_companion_seat end |
#is_hearing_impaired ⇒ Object (readonly)
Returns the value of attribute is_hearing_impaired.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_hearing_impaired @is_hearing_impaired end |
#is_plus_size ⇒ Object (readonly)
Returns the value of attribute is_plus_size.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_plus_size @is_plus_size end |
#is_semi_ambulatory_seat ⇒ Object (readonly)
Returns the value of attribute is_semi_ambulatory_seat.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def is_semi_ambulatory_seat @is_semi_ambulatory_seat end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def label @label end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def labels @labels end |
#left_neighbour ⇒ Object (readonly)
Returns the value of attribute left_neighbour.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def left_neighbour @left_neighbour end |
#max_occupancy ⇒ Object (readonly)
Returns the value of attribute max_occupancy.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def max_occupancy @max_occupancy end |
#min_occupancy ⇒ Object (readonly)
Returns the value of attribute min_occupancy.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def min_occupancy @min_occupancy end |
#num_booked ⇒ Object (readonly)
Returns the value of attribute num_booked.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def num_booked @num_booked end |
#num_free ⇒ Object (readonly)
Returns the value of attribute num_free.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def num_free @num_free end |
#num_held ⇒ Object (readonly)
Returns the value of attribute num_held.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def num_held @num_held end |
#num_not_for_sale ⇒ Object (readonly)
Returns the value of attribute num_not_for_sale.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def num_not_for_sale @num_not_for_sale end |
#num_seats ⇒ Object (readonly)
Returns the value of attribute num_seats.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def num_seats @num_seats end |
#object_type ⇒ Object (readonly)
Returns the value of attribute object_type.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def object_type @object_type end |
#order_id ⇒ Object (readonly)
Returns the value of attribute order_id.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def order_id @order_id end |
#parent_displayed_object_type ⇒ Object (readonly)
Returns the value of attribute parent_displayed_object_type.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def parent_displayed_object_type @parent_displayed_object_type end |
#resale_listing_id ⇒ Object (readonly)
Returns the value of attribute resale_listing_id.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def resale_listing_id @resale_listing_id end |
#right_neighbour ⇒ Object (readonly)
Returns the value of attribute right_neighbour.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def right_neighbour @right_neighbour end |
#season_status_overridden_quantity ⇒ Object (readonly)
Returns the value of attribute season_status_overridden_quantity.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def season_status_overridden_quantity @season_status_overridden_quantity end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def section @section end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def status @status end |
#ticket_type ⇒ Object (readonly)
Returns the value of attribute ticket_type.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def ticket_type @ticket_type end |
#variable_occupancy ⇒ Object (readonly)
Returns the value of attribute variable_occupancy.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def variable_occupancy @variable_occupancy end |
#zone ⇒ Object (readonly)
Returns the value of attribute zone.
464 465 466 |
# File 'lib/seatsio/domain.rb', line 464 def zone @zone end |