Sha256: c7d5e4e741625176d8076c76d196b5147de772f4c6c96bd074eef3659ca9f6e0
Contents?: true
Size: 952 Bytes
Versions: 3
Compression:
Stored size: 952 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 ScheduledSession < ::OpenActive::Models::Event # @!attribute type # @return [String] def type "ScheduledSession" 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", ] # @return [Array<OpenActive::Models::Event>] define_property :sub_event, as: "subEvent", types: [ "OpenActive::Models::Event[]", ] # @return [OpenActive::Models::Event,URI] define_property :super_event, as: "superEvent", types: [ "OpenActive::Models::Event", "URI", ] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.2.2 | lib/openactive/models/scheduled_session.rb |
openactive-0.2.1 | lib/openactive/models/scheduled_session.rb |
openactive-0.2.0 | lib/openactive/models/scheduled_session.rb |