lib/openactive/models/schema/flight.rb in openactive-0.3.0 vs lib/openactive/models/schema/flight.rb in openactive-0.4.0
- old
+ new
@@ -6,90 +6,90 @@
# @return [String]
def type
"schema:Flight"
end
- # @return [OpenActive::Models::Schema::Distance,String,URI]
- define_property :flight_distance, as: "flightDistance", types: [
- "OpenActive::Models::Schema::Distance",
+ # @return [ActiveSupport::Duration,String,URI,nil]
+ define_property :estimated_flight_duration, as: "estimatedFlightDuration", types: [
+ "DateInterval",
"string",
"URI",
- ]
-
- # @return [DateTime,nil]
- define_property :web_checkin_time, as: "webCheckinTime", types: [
- "DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::Vehicle,String,URI]
- define_property :aircraft, as: "aircraft", types: [
- "OpenActive::Models::Schema::Vehicle",
- "string",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
define_property :seller, as: "seller", types: [
"OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [OpenActive::Models::Schema::Airport,URI]
- define_property :arrival_airport, as: "arrivalAirport", types: [
- "OpenActive::Models::Schema::Airport",
- "URI",
+ # @return [String]
+ define_property :flight_number, as: "flightNumber", types: [
+ "string",
]
# @return [String]
- define_property :arrival_terminal, as: "arrivalTerminal", types: [
+ define_property :departure_gate, as: "departureGate", types: [
"string",
]
# @return [OpenActive::Models::Schema::Airport,URI]
define_property :departure_airport, as: "departureAirport", types: [
"OpenActive::Models::Schema::Airport",
"URI",
]
+ # @return [OpenActive::Models::Schema::Vehicle,String,URI]
+ define_property :aircraft, as: "aircraft", types: [
+ "OpenActive::Models::Schema::Vehicle",
+ "string",
+ "URI",
+ ]
+
# @return [String]
define_property :arrival_gate, as: "arrivalGate", types: [
"string",
]
+ # @return [OpenActive::Models::Schema::Airport,URI]
+ define_property :arrival_airport, as: "arrivalAirport", types: [
+ "OpenActive::Models::Schema::Airport",
+ "URI",
+ ]
+
# @return [String]
- define_property :departure_terminal, as: "departureTerminal", types: [
+ define_property :meal_service, as: "mealService", types: [
"string",
]
# @return [OpenActive::Models::Schema::Organization,URI]
define_property :carrier, as: "carrier", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [String,ActiveSupport::Duration,URI,nil]
- define_property :estimated_flight_duration, as: "estimatedFlightDuration", types: [
+ # @return [String]
+ define_property :departure_terminal, as: "departureTerminal", types: [
"string",
- "DateInterval",
- "URI",
- "null",
]
# @return [String]
- define_property :departure_gate, as: "departureGate", types: [
+ define_property :arrival_terminal, as: "arrivalTerminal", types: [
"string",
]
- # @return [String]
- define_property :flight_number, as: "flightNumber", types: [
+ # @return [String,OpenActive::Models::Schema::Distance,URI]
+ define_property :flight_distance, as: "flightDistance", types: [
"string",
+ "OpenActive::Models::Schema::Distance",
+ "URI",
]
- # @return [String]
- define_property :meal_service, as: "mealService", types: [
- "string",
+ # @return [DateTime,nil]
+ define_property :web_checkin_time, as: "webCheckinTime", types: [
+ "DateTime",
+ "null",
]
# @return [OpenActive::Enums::Schema::BoardingPolicyType,nil]
define_property :boarding_policy, as: "boardingPolicy", types: [
"OpenActive::Enums::Schema::BoardingPolicyType",