Sha256: 6e46c3d28d0e7f08168b8ba4b2f0df4e08dc825f082893c78cd03981e45c1e0f

Contents?: true

Size: 860 Bytes

Versions: 6

Compression:

Stored size: 860 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Event, which means that any of this type's properties within schema.org may also be used.
    class SessionSeries < ::OpenActive::Models::Event
      # @!attribute type
      # @return [String]
      def type
        "SessionSeries"
      end

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

      # @return [int,nil]
      define_property :remaining_attendee_capacity, as: "remainingAttendeeCapacity", types: [
        "int",
        "null",
      ]

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/session_series.rb
openactive-0.4.0 lib/openactive/models/session_series.rb
openactive-0.3.0 lib/openactive/models/session_series.rb
openactive-0.2.2 lib/openactive/models/session_series.rb
openactive-0.2.1 lib/openactive/models/session_series.rb
openactive-0.2.0 lib/openactive/models/session_series.rb