Sha256: c542b993253e6badf7e90575dc1730baeaeb0d0c9cc35b98af7992f0b4fdb687
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
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 [OpenActive::Models::Person,OpenActive::Models::Organization] define_property :organizer, as: "organizer", types: [ "OpenActive::Models::Person", "OpenActive::Models::Organization", ] # @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.5.0 | lib/openactive/models/scheduled_session.rb |
openactive-0.4.0 | lib/openactive/models/scheduled_session.rb |
openactive-0.3.0 | lib/openactive/models/scheduled_session.rb |