Sha256: 9e5c1d824d4b5518160f04a724242579ec73014830eaab880e78b364eaa7966c

Contents?: true

Size: 1.36 KB

Versions: 4

Compression:

Stored size: 1.36 KB

Contents

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

        # @return [ActiveSupport::Duration,nil]
        define_property :duration, as: "duration", types: [
          "DateInterval",
          "null",
        ]

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

        # @return [OpenActive::Models::Schema::MusicPlaylist]
        define_property :in_playlist, as: "inPlaylist", types: [
          "OpenActive::Models::Schema::MusicPlaylist",
        ]

        # @return [OpenActive::Models::Schema::MusicAlbum]
        define_property :in_album, as: "inAlbum", types: [
          "OpenActive::Models::Schema::MusicAlbum",
        ]

        # @return [String]
        define_property :isrc_code, as: "isrcCode", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::MusicComposition]
        define_property :recording_of, as: "recordingOf", types: [
          "OpenActive::Models::Schema::MusicComposition",
        ]
      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_recording.rb
openactive-0.1.1 lib/openactive/models/schema/music_recording.rb
openactive-0.1.0 lib/openactive/models/schema/music_recording.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/music_recording.rb