lib/openactive/models/schema/music_group.rb in openactive-0.1.2 vs lib/openactive/models/schema/music_group.rb in openactive-0.2.0
- old
+ new
@@ -6,39 +6,44 @@
# @return [String]
def type
"schema:MusicGroup"
end
- # @return [OpenActive::Models::Schema::MusicAlbum]
- define_property :album, as: "album", types: [
- "OpenActive::Models::Schema::MusicAlbum",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :music_group_member, as: "musicGroupMember", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [OpenActive::Models::Schema::MusicRecording]
- define_property :tracks, as: "tracks", types: [
- "OpenActive::Models::Schema::MusicRecording",
- ]
-
- # @return [String,URI]
+ # @return [URI,String]
define_property :genre, as: "genre", types: [
- "string",
"URI",
+ "string",
]
- # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::MusicRecording]
+ # @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::Person]
- define_property :music_group_member, as: "musicGroupMember", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::MusicAlbum,URI]
+ define_property :album, as: "album", types: [
+ "OpenActive::Models::Schema::MusicAlbum",
+ "URI",
]
- # @return [OpenActive::Models::Schema::MusicAlbum]
+ # @return [OpenActive::Models::Schema::MusicRecording,URI]
+ define_property :tracks, as: "tracks", types: [
+ "OpenActive::Models::Schema::MusicRecording",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::MusicAlbum,URI]
define_property :albums, as: "albums", types: [
"OpenActive::Models::Schema::MusicAlbum",
+ "URI",
]
end
end
end
end