Sha256: 35593094b9e2ade3e89f8d77dfd196468a1634e602ace06792503a85fa763c06

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

module OpenActive
  module Models
    module Schema
      class MusicAlbum < ::OpenActive::Models::Schema::MusicPlaylist
        # @!attribute type
        # @return [String]
        def type
          "schema:MusicAlbum"
        end

        # @return [OpenActive::Models::Schema::MusicRelease,URI]
        define_property :album_release, as: "albumRelease", types: [
          "OpenActive::Models::Schema::MusicRelease",
          "URI",
        ]

        # @return [OpenActive::Enums::Schema::MusicAlbumProductionType,nil]
        define_property :album_production_type, as: "albumProductionType", types: [
          "OpenActive::Enums::Schema::MusicAlbumProductionType",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::MusicAlbumReleaseType,nil]
        define_property :album_release_type, as: "albumReleaseType", types: [
          "OpenActive::Enums::Schema::MusicAlbumReleaseType",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI]
        define_property :by_artist, as: "byArtist", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::MusicGroup",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/music_album.rb
openactive-0.4.0 lib/openactive/models/schema/music_album.rb