Sha256: 3d0786f376b08dc0182b761a3500b9da4c2894d9a3f5018e7b3e0730037951a7

Contents?: true

Size: 970 Bytes

Versions: 4

Compression:

Stored size: 970 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [Event](https://schema.org/Event), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class ScheduledSession < ::OpenActive::Models::Event
      # @!attribute type
      # @return [String]
      def type
        "ScheduledSession"
      end

      # @return [Array<OpenActive::Models::Schedule>]
      define_property :event_schedule, as: "eventSchedule", types: [
        "OpenActive::Models::Schedule[]",
      ]

      # @return [Array<OpenActive::Models::Event>]
      define_property :sub_event, as: "subEvent", types: [
        "OpenActive::Models::Event[]",
      ]

      # @return [URI,OpenActive::Models::Event]
      define_property :super_event, as: "superEvent", types: [
        "URI",
        "OpenActive::Models::Event",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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