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

- old
+ new

@@ -6,31 +6,31 @@ # @return [String] def type "schema:OwnershipInfo" end - # @return [DateTime,nil] - define_property :owned_from, as: "ownedFrom", types: [ - "DateTime", - "null", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :acquired_from, as: "acquiredFrom", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", ] - # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::Service,URI] + # @return [OpenActive::Models::Schema::Service,OpenActive::Models::Schema::Product,URI] define_property :type_of_good, as: "typeOfGood", types: [ - "OpenActive::Models::Schema::Product", "OpenActive::Models::Schema::Service", + "OpenActive::Models::Schema::Product", "URI", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :acquired_from, as: "acquiredFrom", types: [ - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", - "URI", + # @return [DateTime,nil] + define_property :owned_through, as: "ownedThrough", types: [ + "DateTime", + "null", ] # @return [DateTime,nil] - define_property :owned_through, as: "ownedThrough", types: [ + define_property :owned_from, as: "ownedFrom", types: [ "DateTime", "null", ] end end