Sha256: 0837777248b482bea813f266e86bd17f2edfaae9b607d56b55b9e4ca72a23290

Contents?: true

Size: 846 Bytes

Versions: 4

Compression:

Stored size: 846 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Place]
        define_property :pickup_location, as: "pickupLocation", types: [
          "OpenActive::Models::Schema::Place",
        ]

        # @return [int,OpenActive::Models::Schema::QuantitativeValue,nil]
        define_property :party_size, as: "partySize", types: [
          "int",
          "OpenActive::Models::Schema::QuantitativeValue",
          "null",
        ]

        # @return [DateTime,nil]
        define_property :pickup_time, as: "pickupTime", types: [
          "DateTime",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/taxi_reservation.rb
openactive-0.1.1 lib/openactive/models/schema/taxi_reservation.rb
openactive-0.1.0 lib/openactive/models/schema/taxi_reservation.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/taxi_reservation.rb