Sha256: f989fa8175525d2f8b61cf9f623861f0f0d2e287027d477610832953005acdad

Contents?: true

Size: 929 Bytes

Versions: 2

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 [OpenActive::Enums::Schema::DeliveryMethod,nil]
        define_property :has_delivery_method, as: "hasDeliveryMethod", types: [
          "OpenActive::Enums::Schema::DeliveryMethod",
          "null",
        ]

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

Version data entries

2 entries across 2 versions & 1 rubygems

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