lib/openactive/models/schema/food_establishment_reservation.rb in openactive-0.1.2 vs lib/openactive/models/schema/food_establishment_reservation.rb in openactive-0.2.0

- old
+ new

@@ -6,27 +6,28 @@ # @return [String] def type "schema:FoodEstablishmentReservation" end - # @return [int,OpenActive::Models::Schema::QuantitativeValue,nil] + # @return [DateTime,Time,nil] + define_property :start_time, as: "startTime", types: [ + "DateTime", + "Time", + "null", + ] + + # @return [OpenActive::Models::Schema::QuantitativeValue,int,URI,nil] define_property :party_size, as: "partySize", types: [ - "int", "OpenActive::Models::Schema::QuantitativeValue", + "int", + "URI", "null", ] - # @return [Time,DateTime,nil] + # @return [DateTime,Time,nil] define_property :end_time, as: "endTime", types: [ - "Time", "DateTime", - "null", - ] - - # @return [Time,DateTime,nil] - define_property :start_time, as: "startTime", types: [ "Time", - "DateTime", "null", ] end end end