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

- old
+ new

@@ -6,46 +6,47 @@ # @return [String] def type "schema:MonetaryAmount" end + # @return [DateTime,Date,nil] + define_property :valid_from, as: "validFrom", types: [ + "DateTime", + "Date", + "null", + ] + # @return [BigDecimal,nil] define_property :max_value, as: "maxValue", types: [ "Number", "null", ] - # @return [Date,DateTime,nil] - define_property :valid_through, as: "validThrough", types: [ - "Date", - "DateTime", + # @return [BigDecimal,nil] + define_property :min_value, as: "minValue", types: [ + "Number", "null", ] - # @return [DateTime,Date,nil] - define_property :valid_from, as: "validFrom", types: [ - "DateTime", - "Date", + # @return [BigDecimal,OpenActive::Models::Schema::StructuredValue,Boolean,String,URI,nil] + define_property :value, as: "value", types: [ + "Number", + "OpenActive::Models::Schema::StructuredValue", + "bool", + "string", + "URI", "null", ] # @return [String] define_property :currency, as: "currency", types: [ "string", ] - # @return [OpenActive::Models::Schema::StructuredValue,String,BigDecimal,Boolean,nil] - define_property :value, as: "value", types: [ - "OpenActive::Models::Schema::StructuredValue", - "string", - "Number", - "bool", - "null", - ] - - # @return [BigDecimal,nil] - define_property :min_value, as: "minValue", types: [ - "Number", + # @return [DateTime,Date,nil] + define_property :valid_through, as: "validThrough", types: [ + "DateTime", + "Date", "null", ] end end end