Sha256: db6a4a3337ea82326783558decae5643f0d90b3a31fbb652fe27479ba5b10829

Contents?: true

Size: 929 Bytes

Versions: 1

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_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",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/delivery_event.rb