Sha256: e2c3ab8006dd087428a85f19a0543d58d744e058c4e1c93b8bf748b5dbfb9a05

Contents?: true

Size: 952 Bytes

Versions: 4

Compression:

Stored size: 952 Bytes

Contents

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

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

        # @return [DateTime,nil]
        define_property :dropoff_time, as: "dropoffTime", types: [
          "DateTime",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Place]
        define_property :dropoff_location, as: "dropoffLocation", types: [
          "OpenActive::Models::Schema::Place",
        ]

        # @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/rental_car_reservation.rb
openactive-0.1.1 lib/openactive/models/schema/rental_car_reservation.rb
openactive-0.1.0 lib/openactive/models/schema/rental_car_reservation.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/rental_car_reservation.rb