lib/openactive/models/schema/music_group.rb in openactive-0.2.2 vs lib/openactive/models/schema/music_group.rb in openactive-0.3.0

- old
+ new

@@ -6,42 +6,42 @@ # @return [String] def type "schema:MusicGroup" end - # @return [OpenActive::Models::Schema::Person,URI] - define_property :music_group_member, as: "musicGroupMember", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::MusicRecording,URI] + define_property :tracks, as: "tracks", types: [ + "OpenActive::Models::Schema::MusicRecording", "URI", ] # @return [URI,String] define_property :genre, as: "genre", types: [ "URI", "string", ] - # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::MusicRecording,URI] - define_property :track, as: "track", types: [ - "OpenActive::Models::Schema::ItemList", - "OpenActive::Models::Schema::MusicRecording", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :music_group_member, as: "musicGroupMember", types: [ + "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::MusicAlbum,URI] - define_property :album, as: "album", types: [ + define_property :albums, as: "albums", types: [ "OpenActive::Models::Schema::MusicAlbum", "URI", ] - # @return [OpenActive::Models::Schema::MusicRecording,URI] - define_property :tracks, as: "tracks", types: [ + # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::MusicRecording,URI] + define_property :track, as: "track", types: [ + "OpenActive::Models::Schema::ItemList", "OpenActive::Models::Schema::MusicRecording", "URI", ] # @return [OpenActive::Models::Schema::MusicAlbum,URI] - define_property :albums, as: "albums", types: [ + define_property :album, as: "album", types: [ "OpenActive::Models::Schema::MusicAlbum", "URI", ] end end