Sha256: 96d6d525558fcde83f176b56a9bfc814d0a097a2bbf14b4392b1e70be596c62a

Contents?: true

Size: 619 Bytes

Versions: 6

Compression:

Stored size: 619 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/AudioObject, which means that any of this type's properties within schema.org may also be used.
    class AudioObject < ::OpenActive::Models::MediaObject
      # @!attribute type
      # @return [String]
      def type
        "AudioObject"
      end

      # @return [Array<OpenActive::Models::ImageObject>]
      define_property :thumbnail, as: "thumbnail", types: [
        "OpenActive::Models::ImageObject[]",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/audio_object.rb
openactive-0.4.0 lib/openactive/models/audio_object.rb
openactive-0.3.0 lib/openactive/models/audio_object.rb
openactive-0.2.2 lib/openactive/models/audio_object.rb
openactive-0.2.1 lib/openactive/models/audio_object.rb
openactive-0.2.0 lib/openactive/models/audio_object.rb