lib/openactive/models/schema/dated_money_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/dated_money_specification.rb in openactive-0.4.0

- old
+ new

@@ -6,33 +6,33 @@ # @return [String] def type "schema:DatedMoneySpecification" end - # @return [DateTime,Date,nil] - define_property :start_date, as: "startDate", types: [ - "DateTime", - "Date", - "null", + # @return [String] + define_property :currency, as: "currency", types: [ + "string", ] # @return [Date,DateTime,nil] - define_property :end_date, as: "endDate", types: [ + define_property :start_date, as: "startDate", types: [ "Date", "DateTime", "null", ] - # @return [String] - define_property :currency, as: "currency", types: [ - "string", - ] - - # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil] + # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil] define_property :amount, as: "amount", types: [ - "Number", "OpenActive::Models::Schema::MonetaryAmount", + "Number", "URI", + "null", + ] + + # @return [Date,DateTime,nil] + define_property :end_date, as: "endDate", types: [ + "Date", + "DateTime", "null", ] end end end