lib/openactive/models/schema/aggregate_offer.rb in openactive-0.1.2 vs lib/openactive/models/schema/aggregate_offer.rb in openactive-0.2.0
- old
+ new
@@ -6,32 +6,34 @@
# @return [String]
def type
"schema:AggregateOffer"
end
+ # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI]
+ define_property :offers, as: "offers", types: [
+ "OpenActive::Models::Schema::Offer",
+ "OpenActive::Models::Schema::Demand",
+ "URI",
+ ]
+
# @return [BigDecimal,String,nil]
define_property :high_price, as: "highPrice", types: [
"Number",
"string",
"null",
]
- # @return [String,BigDecimal,nil]
- define_property :low_price, as: "lowPrice", types: [
- "string",
- "Number",
- "null",
- ]
-
# @return [int,nil]
define_property :offer_count, as: "offerCount", types: [
"int",
"null",
]
- # @return [OpenActive::Models::Schema::Offer]
- define_property :offers, as: "offers", types: [
- "OpenActive::Models::Schema::Offer",
+ # @return [String,BigDecimal,nil]
+ define_property :low_price, as: "lowPrice", types: [
+ "string",
+ "Number",
+ "null",
]
end
end
end
end