Sha256: 507e9fe0e813e993620980c23d638681cecb88fb9dff136c2058f8a56b5da286

Contents?: true

Size: 903 Bytes

Versions: 2

Compression:

Stored size: 903 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MusicRecording,URI]
        define_property :tracks, as: "tracks", types: [
          "OpenActive::Models::Schema::MusicRecording",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MusicRecording,OpenActive::Models::Schema::ItemList,URI]
        define_property :track, as: "track", types: [
          "OpenActive::Models::Schema::MusicRecording",
          "OpenActive::Models::Schema::ItemList",
          "URI",
        ]

        # @return [int,nil]
        define_property :num_tracks, as: "numTracks", types: [
          "int",
          "null",
        ]
      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_playlist.rb
openactive-0.4.0 lib/openactive/models/schema/music_playlist.rb