Class: Seatsio::Domain::EventReportItem
- Inherits:
-
Object
- Object
- Seatsio::Domain::EventReportItem
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#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.
-
#displayed_object_type ⇒ Object
readonly
Returns the value of attribute displayed_object_type.
-
#entrance ⇒ Object
readonly
Returns the value of attribute entrance.
-
#extra_data ⇒ Object
readonly
Returns the value of attribute extra_data.
-
#for_sale ⇒ Object
readonly
Returns the value of attribute for_sale.
-
#has_restricted_view ⇒ Object
readonly
Returns the value of attribute has_restricted_view.
-
#hold_token ⇒ Object
readonly
Returns the value of attribute hold_token.
-
#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_disabled_by_social_distancing ⇒ Object
readonly
Returns the value of attribute is_disabled_by_social_distancing.
-
#is_selectable ⇒ Object
readonly
Returns the value of attribute is_selectable.
-
#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_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.
-
#object_type ⇒ Object
readonly
Returns the value of attribute object_type.
-
#order_id ⇒ Object
readonly
Returns the value of attribute order_id.
-
#right_neighbour ⇒ Object
readonly
Returns the value of attribute right_neighbour.
-
#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.
Instance Method Summary collapse
-
#initialize(data) ⇒ EventReportItem
constructor
A new instance of EventReportItem.
Constructor Details
#initialize(data) ⇒ EventReportItem
Returns a new instance of EventReportItem.
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'lib/seatsio/domain.rb', line 290 def initialize(data) @status = data['status'] @label = data['label'] @labels = data['labels'] @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_restricted_view = data['hasRestrictedView'] @displayed_object_type = data['displayedObjectType'] @left_neighbour = data['leftNeighbour'] @right_neighbour = data['rightNeighbour'] @is_selectable = data['isSelectable'] @is_disabled_by_social_distancing = data['isDisabledBySocialDistancing'] end |
Instance Attribute Details
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def capacity @capacity end |
#category_key ⇒ Object (readonly)
Returns the value of attribute category_key.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def category_key @category_key end |
#category_label ⇒ Object (readonly)
Returns the value of attribute category_label.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def category_label @category_label end |
#displayed_object_type ⇒ Object (readonly)
Returns the value of attribute displayed_object_type.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def displayed_object_type @displayed_object_type end |
#entrance ⇒ Object (readonly)
Returns the value of attribute entrance.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def entrance @entrance end |
#extra_data ⇒ Object (readonly)
Returns the value of attribute extra_data.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def extra_data @extra_data end |
#for_sale ⇒ Object (readonly)
Returns the value of attribute for_sale.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def for_sale @for_sale end |
#has_restricted_view ⇒ Object (readonly)
Returns the value of attribute has_restricted_view.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def has_restricted_view @has_restricted_view end |
#hold_token ⇒ Object (readonly)
Returns the value of attribute hold_token.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def hold_token @hold_token end |
#is_accessible ⇒ Object (readonly)
Returns the value of attribute is_accessible.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def is_accessible @is_accessible end |
#is_companion_seat ⇒ Object (readonly)
Returns the value of attribute is_companion_seat.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def is_companion_seat @is_companion_seat end |
#is_disabled_by_social_distancing ⇒ Object (readonly)
Returns the value of attribute is_disabled_by_social_distancing.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def @is_disabled_by_social_distancing end |
#is_selectable ⇒ Object (readonly)
Returns the value of attribute is_selectable.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def is_selectable @is_selectable end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def label @label end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def labels @labels end |
#left_neighbour ⇒ Object (readonly)
Returns the value of attribute left_neighbour.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def left_neighbour @left_neighbour end |
#num_booked ⇒ Object (readonly)
Returns the value of attribute num_booked.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def num_booked @num_booked end |
#num_free ⇒ Object (readonly)
Returns the value of attribute num_free.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def num_free @num_free end |
#num_held ⇒ Object (readonly)
Returns the value of attribute num_held.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def num_held @num_held end |
#object_type ⇒ Object (readonly)
Returns the value of attribute object_type.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def object_type @object_type end |
#order_id ⇒ Object (readonly)
Returns the value of attribute order_id.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def order_id @order_id end |
#right_neighbour ⇒ Object (readonly)
Returns the value of attribute right_neighbour.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def right_neighbour @right_neighbour end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def section @section end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def status @status end |
#ticket_type ⇒ Object (readonly)
Returns the value of attribute ticket_type.
284 285 286 |
# File 'lib/seatsio/domain.rb', line 284 def ticket_type @ticket_type end |