lib/openactive/models/schema/train_trip.rb in openactive-0.1.2 vs lib/openactive/models/schema/train_trip.rb in openactive-0.2.0

- old
+ new

@@ -6,37 +6,39 @@ # @return [String] def type "schema:TrainTrip" end - # @return [OpenActive::Models::Schema::TrainStation] - define_property :arrival_station, as: "arrivalStation", types: [ - "OpenActive::Models::Schema::TrainStation", - ] - # @return [String] - define_property :train_number, as: "trainNumber", types: [ + define_property :arrival_platform, as: "arrivalPlatform", types: [ "string", ] # @return [String] - define_property :train_name, as: "trainName", types: [ + define_property :departure_platform, as: "departurePlatform", types: [ "string", ] - # @return [String] - define_property :departure_platform, as: "departurePlatform", types: [ - "string", + # @return [OpenActive::Models::Schema::TrainStation,URI] + define_property :departure_station, as: "departureStation", types: [ + "OpenActive::Models::Schema::TrainStation", + "URI", ] # @return [String] - define_property :arrival_platform, as: "arrivalPlatform", types: [ + define_property :train_number, as: "trainNumber", types: [ "string", ] - # @return [OpenActive::Models::Schema::TrainStation] - define_property :departure_station, as: "departureStation", types: [ + # @return [OpenActive::Models::Schema::TrainStation,URI] + define_property :arrival_station, as: "arrivalStation", types: [ "OpenActive::Models::Schema::TrainStation", + "URI", + ] + + # @return [String] + define_property :train_name, as: "trainName", types: [ + "string", ] end end end end