Sha256: 98e61716797061f8a8b9cc83e6d2fefb6919354ba0643e512863a801144c78cc
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
module OpenActive module Models module Schema class Trip < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:Trip" end # @return [Time,DateTime,nil] define_property :arrival_time, as: "arrivalTime", types: [ "Time", "DateTime", "null", ] # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI] define_property :offers, as: "offers", types: [ "OpenActive::Models::Schema::Offer", "OpenActive::Models::Schema::Demand", "URI", ] # @return [Time,DateTime,nil] define_property :departure_time, as: "departureTime", types: [ "Time", "DateTime", "null", ] # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] define_property :provider, as: "provider", types: [ "OpenActive::Models::Schema::Organization", "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::Trip,URI] define_property :sub_trip, as: "subTrip", types: [ "OpenActive::Models::Schema::Trip", "URI", ] # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::Place,URI] define_property :itinerary, as: "itinerary", types: [ "OpenActive::Models::Schema::ItemList", "OpenActive::Models::Schema::Place", "URI", ] # @return [OpenActive::Models::Schema::Trip,URI] define_property :part_of_trip, as: "partOfTrip", types: [ "OpenActive::Models::Schema::Trip", "URI", ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.3.0 | lib/openactive/models/schema/trip.rb |