lib/openactive/models/schema/monetary_grant.rb in openactive-0.1.2 vs lib/openactive/models/schema/monetary_grant.rb in openactive-0.2.0
- old
+ new
@@ -5,9 +5,24 @@
# @!attribute type
# @return [String]
def type
"schema:MonetaryGrant"
end
+
+ # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
+ define_property :amount, as: "amount", types: [
+ "Number",
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :funder, as: "funder", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
end
end
end
end