lib/openactive/models/schema/enumeration.rb in openactive-0.1.2 vs lib/openactive/models/schema/enumeration.rb in openactive-0.2.0

- old
+ new

@@ -5,9 +5,18 @@ # @!attribute type # @return [String] def type "schema:Enumeration" end + + # @return [OpenActive::Enums::PropertyEnumeration,OpenActive::Models::Schema::Enumeration,OpenActive::Models::Schema::Class,URI,nil] + define_property :superseded_by, as: "supersededBy", types: [ + "OpenActive::Enums::PropertyEnumeration", + "OpenActive::Models::Schema::Enumeration", + "OpenActive::Models::Schema::Class", + "URI", + "null", + ] end end end end