Sha256: a1fcd8a49143fefebffad24c37bc609bdf497062f8291b25cef53d28199cb3f8

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

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

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

        # @return [String,OpenActive::Models::Schema::MediaObject,URI]
        define_property :caption, as: "caption", types: [
          "string",
          "OpenActive::Models::Schema::MediaObject",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/audio_object.rb
openactive-0.2.1 lib/openactive/models/schema/audio_object.rb
openactive-0.2.0 lib/openactive/models/schema/audio_object.rb