Sha256: 2dda6d98d806a1f0ca3731e64018bbd25d75cf0d39854e5fb613312641599938

Contents?: true

Size: 1.37 KB

Versions: 4

Compression:

Stored size: 1.37 KB

Contents

module OpenActive
  module Models
    module Schema
      class MusicGroup < ::OpenActive::Models::Schema::PerformingGroup
        # @!attribute type
        # @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::MusicRecording]
        define_property :tracks, as: "tracks", types: [
          "OpenActive::Models::Schema::MusicRecording",
        ]

        # @return [String,URI]
        define_property :genre, as: "genre", types: [
          "string",
          "URI",
        ]

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

        # @return [OpenActive::Models::Schema::Person]
        define_property :music_group_member, as: "musicGroupMember", types: [
          "OpenActive::Models::Schema::Person",
        ]

        # @return [OpenActive::Models::Schema::MusicAlbum]
        define_property :albums, as: "albums", types: [
          "OpenActive::Models::Schema::MusicAlbum",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/music_group.rb
openactive-0.1.1 lib/openactive/models/schema/music_group.rb
openactive-0.1.0 lib/openactive/models/schema/music_group.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/music_group.rb