Class: OpenActive::Models::Schema::Flight
- Inherits:
-
Trip
show all
- Defined in:
- lib/openactive/models/schema/flight.rb
Instance Attribute Summary collapse
Attributes inherited from Trip
#arrival_time, #departure_time, #itinerary, #offers, #part_of_trip, #provider, #sub_trip
Attributes inherited from Thing
#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
72
73
74
|
# File 'lib/openactive/models/schema/flight.rb', line 72
def aircraft
@aircraft
end
|
28
29
30
|
# File 'lib/openactive/models/schema/flight.rb', line 28
def arrival_airport
@arrival_airport
end
|
#arrival_gate ⇒ String
83
84
85
|
# File 'lib/openactive/models/schema/flight.rb', line 83
def arrival_gate
@arrival_gate
end
|
#arrival_terminal ⇒ String
49
50
51
|
# File 'lib/openactive/models/schema/flight.rb', line 49
def arrival_terminal
@arrival_terminal
end
|
43
44
45
|
# File 'lib/openactive/models/schema/flight.rb', line 43
def boarding_policy
@boarding_policy
end
|
78
79
80
|
# File 'lib/openactive/models/schema/flight.rb', line 78
def carrier
@carrier
end
|
18
19
20
|
# File 'lib/openactive/models/schema/flight.rb', line 18
def departure_airport
@departure_airport
end
|
#departure_gate ⇒ String
33
34
35
|
# File 'lib/openactive/models/schema/flight.rb', line 33
def departure_gate
@departure_gate
end
|
#departure_terminal ⇒ String
67
68
69
|
# File 'lib/openactive/models/schema/flight.rb', line 67
def departure_terminal
@departure_terminal
end
|
#estimated_flight_duration ⇒ String, ...
60
61
62
|
# File 'lib/openactive/models/schema/flight.rb', line 60
def estimated_flight_duration
@estimated_flight_duration
end
|
54
55
56
|
# File 'lib/openactive/models/schema/flight.rb', line 54
def flight_distance
@flight_distance
end
|
#flight_number ⇒ String
38
39
40
|
# File 'lib/openactive/models/schema/flight.rb', line 38
def flight_number
@flight_number
end
|
#meal_service ⇒ String
23
24
25
|
# File 'lib/openactive/models/schema/flight.rb', line 23
def meal_service
@meal_service
end
|
12
13
14
|
# File 'lib/openactive/models/schema/flight.rb', line 12
def seller
@seller
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/flight.rb', line 7
def type
"schema:Flight"
end
|
#web_checkin_time ⇒ DateTime?
88
89
90
|
# File 'lib/openactive/models/schema/flight.rb', line 88
def web_checkin_time
@web_checkin_time
end
|