Sha256: fc9369899884efa833a3527c9c3b7e6b86b1dd4eb8b4ba37d1e14caaf41c8299

Contents?: true

Size: 1.23 KB

Versions: 1

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::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::MusicRelease,URI]
        define_property :album_release, as: "albumRelease", types: [
          "OpenActive::Models::Schema::MusicRelease",
          "URI",
        ]

        # @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

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/music_album.rb