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

- old
+ new

@@ -6,27 +6,27 @@ # @return [String] def type "schema:AggregateOffer" end - # @return [String,BigDecimal,nil] - define_property :high_price, as: "highPrice", types: [ - "string", - "Number", - "null", - ] - - # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI] + # @return [OpenActive::Models::Schema::Demand,OpenActive::Models::Schema::Offer,URI] define_property :offers, as: "offers", types: [ - "OpenActive::Models::Schema::Offer", "OpenActive::Models::Schema::Demand", + "OpenActive::Models::Schema::Offer", "URI", ] - # @return [String,BigDecimal,nil] - define_property :low_price, as: "lowPrice", types: [ + # @return [BigDecimal,String,nil] + define_property :high_price, as: "highPrice", types: [ + "Number", "string", + "null", + ] + + # @return [BigDecimal,String,nil] + define_property :low_price, as: "lowPrice", types: [ "Number", + "string", "null", ] # @return [int,nil] define_property :offer_count, as: "offerCount", types: [