Sha256: 52f247a11f508bfdf206657ffc6a98fadb81c1550883c4f6a60ef3b86528dfe0

Contents?: true

Size: 800 Bytes

Versions: 4

Compression:

Stored size: 800 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 SessionSeries < ::OpenActive::Models::Event
      # @!attribute type
      # @return [String]
      def type
        "SessionSeries"
      end

      # @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

4 entries across 4 versions & 1 rubygems

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