Sha256: 22e5066bbc10d2feafdb02e0c54b0c5bb5ce2ddb7dd2e586e6fef3c0a4203aa4

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 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,OpenActive::Models::Schema::MediaObject]
        define_property :caption, as: "caption", types: [
          "string",
          "OpenActive::Models::Schema::MediaObject",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

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