lib/openactive/models/schema/music_album.rb in openactive-0.1.2 vs lib/openactive/models/schema/music_album.rb in openactive-0.2.0
- old
+ new
@@ -6,29 +6,31 @@
# @return [String]
def type
"schema:MusicAlbum"
end
- # @return [OpenActive::Models::Schema::MusicRelease]
+ # @return [OpenActive::Enums::Schema::MusicAlbumProductionType,nil]
+ define_property :album_production_type, as: "albumProductionType", types: [
+ "OpenActive::Enums::Schema::MusicAlbumProductionType",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::MusicRelease,URI]
define_property :album_release, as: "albumRelease", types: [
"OpenActive::Models::Schema::MusicRelease",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup]
+ # @return [OpenActive::Models::Schema::MusicGroup,OpenActive::Models::Schema::Person,URI]
define_property :by_artist, as: "byArtist", types: [
- "OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::MusicGroup",
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
# @return [OpenActive::Enums::Schema::MusicAlbumReleaseType,nil]
define_property :album_release_type, as: "albumReleaseType", types: [
"OpenActive::Enums::Schema::MusicAlbumReleaseType",
- "null",
- ]
-
- # @return [OpenActive::Enums::Schema::MusicAlbumProductionType,nil]
- define_property :album_production_type, as: "albumProductionType", types: [
- "OpenActive::Enums::Schema::MusicAlbumProductionType",
"null",
]
end
end
end