Sha256: ca20edc7442f198a6addb91cef3de6bcd9fd25531f7e8fa79b16fb6bcbff01f7

Contents?: true

Size: 762 Bytes

Versions: 4

Compression:

Stored size: 762 Bytes

Contents

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

        # @return [Boolean,nil]
        define_property :is_accessible_for_free, as: "isAccessibleForFree", types: [
          "bool",
          "null",
        ]

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

        # @return [OpenActive::Models::Schema::BroadcastService]
        define_property :published_on, as: "publishedOn", types: [
          "OpenActive::Models::Schema::BroadcastService",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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