Sha256: 685a3c002089a2bd37bf44518b1eb042928a025a7efe423d3d54801b9826d59b

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://pending.schema.org/EventSeries.
    class EventSeries < ::OpenActive::Models::Event
      # @!attribute type
      # @return [String]
      def type
        "EventSeries"
      end

      # @return [DateTime,nil]
      define_property :start_date, as: "startDate", types: [
        "DateTime",
        "null",
      ]

      # @return [DateTime,nil]
      define_property :end_date, as: "endDate", types: [
        "DateTime",
        "null",
      ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/event_series.rb
openactive-0.4.0 lib/openactive/models/event_series.rb