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

- old
+ new

@@ -6,16 +6,22 @@ # @return [String] def type "schema:MusicRelease" end - # @return [OpenActive::Models::Schema::MusicAlbum,URI] - define_property :release_of, as: "releaseOf", types: [ - "OpenActive::Models::Schema::MusicAlbum", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :credited_to, as: "creditedTo", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", "URI", ] + # @return [String] + define_property :catalog_number, as: "catalogNumber", types: [ + "string", + ] + # @return [OpenActive::Enums::Schema::MusicReleaseFormatType,nil] define_property :music_release_format, as: "musicReleaseFormat", types: [ "OpenActive::Enums::Schema::MusicReleaseFormatType", "null", ] @@ -25,25 +31,19 @@ "DateInterval", "URI", "null", ] - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] - define_property :credited_to, as: "creditedTo", types: [ - "OpenActive::Models::Schema::Person", - "OpenActive::Models::Schema::Organization", - "URI", - ] - # @return [OpenActive::Models::Schema::Organization,URI] define_property :record_label, as: "recordLabel", types: [ "OpenActive::Models::Schema::Organization", "URI", ] - # @return [String] - define_property :catalog_number, as: "catalogNumber", types: [ - "string", + # @return [OpenActive::Models::Schema::MusicAlbum,URI] + define_property :release_of, as: "releaseOf", types: [ + "OpenActive::Models::Schema::MusicAlbum", + "URI", ] end end end end