Sha256: 3ce114f6966623b3ee0da28917cdc387d1c677fc5562b81d394afdfa576de0ce

Contents?: true

Size: 994 Bytes

Versions: 1

Compression:

Stored size: 994 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,URI]
        define_property :dropoff_location, as: "dropoffLocation", types: [
          "OpenActive::Models::Schema::Place",
          "URI",
        ]

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

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

        # @return [OpenActive::Models::Schema::Place,URI]
        define_property :pickup_location, as: "pickupLocation", types: [
          "OpenActive::Models::Schema::Place",
          "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/rental_car_reservation.rb