Sha256: 9a9a58601708a82e3823717a93ed5b75efc09b7caea6377611b1d58f813029ff

Contents?: true

Size: 929 Bytes

Versions: 4

Compression:

Stored size: 929 Bytes

Contents

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

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

        # @return [DateTime,nil]
        define_property :available_from, as: "availableFrom", types: [
          "DateTime",
          "null",
        ]

        # @return [DateTime,nil]
        define_property :available_through, as: "availableThrough", types: [
          "DateTime",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
        define_property :has_delivery_method, as: "hasDeliveryMethod", types: [
          "OpenActive::Enums::Schema::DeliveryMethod",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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