lib/openactive/models/schema/monetary_amount.rb in openactive-0.3.0 vs lib/openactive/models/schema/monetary_amount.rb in openactive-0.4.0
- old
+ new
@@ -6,47 +6,47 @@
# @return [String]
def type
"schema:MonetaryAmount"
end
- # @return [BigDecimal,nil]
- define_property :max_value, as: "maxValue", types: [
- "Number",
+ # @return [Date,DateTime,nil]
+ define_property :valid_from, as: "validFrom", types: [
+ "Date",
+ "DateTime",
"null",
]
- # @return [BigDecimal,nil]
- define_property :min_value, as: "minValue", types: [
+ # @return [String]
+ define_property :currency, as: "currency", types: [
+ "string",
+ ]
+
+ # @return [BigDecimal,Boolean,String,OpenActive::Models::Schema::StructuredValue,URI,nil]
+ define_property :value, as: "value", types: [
"Number",
+ "bool",
+ "string",
+ "OpenActive::Models::Schema::StructuredValue",
+ "URI",
"null",
]
- # @return [DateTime,Date,nil]
- define_property :valid_from, as: "validFrom", types: [
- "DateTime",
+ # @return [Date,DateTime,nil]
+ define_property :valid_through, as: "validThrough", types: [
"Date",
+ "DateTime",
"null",
]
- # @return [String,BigDecimal,OpenActive::Models::Schema::StructuredValue,Boolean,URI,nil]
- define_property :value, as: "value", types: [
- "string",
+ # @return [BigDecimal,nil]
+ define_property :max_value, as: "maxValue", types: [
"Number",
- "OpenActive::Models::Schema::StructuredValue",
- "bool",
- "URI",
"null",
]
- # @return [String]
- define_property :currency, as: "currency", types: [
- "string",
- ]
-
- # @return [DateTime,Date,nil]
- define_property :valid_through, as: "validThrough", types: [
- "DateTime",
- "Date",
+ # @return [BigDecimal,nil]
+ define_property :min_value, as: "minValue", types: [
+ "Number",
"null",
]
end
end
end