Sha256: 5fd8422f285ff9211f6896bd23a8fbfef44896c292629b7342608685220b68a1

Contents?: true

Size: 585 Bytes

Versions: 4

Compression:

Stored size: 585 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 [Date,DateTime,nil]
      define_property :start_date, as: "startDate", types: [
        "Date",
        "DateTime",
        "null",
      ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/event_series.rb
openactive-0.2.2 lib/openactive/models/event_series.rb
openactive-0.2.1 lib/openactive/models/event_series.rb
openactive-0.2.0 lib/openactive/models/event_series.rb