Sha256: 757ec0dab36e3ffadb95af026a4ccacc1d13f5f8458c17674cd1ae46b2567f32

Contents?: true

Size: 1007 Bytes

Versions: 2

Compression:

Stored size: 1007 Bytes

Contents

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

        # @return [Boolean,nil]
        define_property :is_live_broadcast, as: "isLiveBroadcast", types: [
          "bool",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Event,URI]
        define_property :broadcast_of_event, as: "broadcastOfEvent", types: [
          "OpenActive::Models::Schema::Event",
          "URI",
        ]

        # @return [String,OpenActive::Models::Schema::Language,URI]
        define_property :subtitle_language, as: "subtitleLanguage", types: [
          "string",
          "OpenActive::Models::Schema::Language",
          "URI",
        ]

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/broadcast_event.rb
openactive-0.4.0 lib/openactive/models/schema/broadcast_event.rb