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

- old
+ new

@@ -7,31 +7,31 @@ def type "schema:Grant" end # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :sponsor, as: "sponsor", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", + ] + + # @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", ] - # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::BioChemEntity,OpenActive::Models::Schema::Event,OpenActive::Models::Schema::MedicalEntity,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Organization,URI] + # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Event,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::MedicalEntity,OpenActive::Models::Schema::BioChemEntity,URI] define_property :funded_item, as: "fundedItem", types: [ "OpenActive::Models::Schema::Product", + "OpenActive::Models::Schema::CreativeWork", "OpenActive::Models::Schema::Person", - "OpenActive::Models::Schema::BioChemEntity", "OpenActive::Models::Schema::Event", - "OpenActive::Models::Schema::MedicalEntity", - "OpenActive::Models::Schema::CreativeWork", "OpenActive::Models::Schema::Organization", - "URI", - ] - - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :sponsor, as: "sponsor", types: [ - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::MedicalEntity", + "OpenActive::Models::Schema::BioChemEntity", "URI", ] end end end