Sha256: a57a0a9e99c916807ef4fe3e87ff78bea9a1f5fa88af51f13934696c013a2235

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

module OpenActive
  module Models
    module Schema
      class BusTrip < ::OpenActive::Models::Schema::Trip
        # @!attribute type
        # @return [String]
        def type
          "schema:BusTrip"
        end

        # @return [OpenActive::Models::Schema::BusStop,OpenActive::Models::Schema::BusStation,URI]
        define_property :departure_bus_stop, as: "departureBusStop", types: [
          "OpenActive::Models::Schema::BusStop",
          "OpenActive::Models::Schema::BusStation",
          "URI",
        ]

        # @return [String]
        define_property :bus_name, as: "busName", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::BusStation,OpenActive::Models::Schema::BusStop,URI]
        define_property :arrival_bus_stop, as: "arrivalBusStop", types: [
          "OpenActive::Models::Schema::BusStation",
          "OpenActive::Models::Schema::BusStop",
          "URI",
        ]

        # @return [String]
        define_property :bus_number, as: "busNumber", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/bus_trip.rb