module OpenActive module Models # This type is derived from [Schedule](https://pending.schema.org/Schedule), 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 Schedule < ::OpenActive::JsonLdModel # @!attribute type # @return [String] def type "Schedule" end # @return [Array,Array,nil] define_property :by_day, as: "byDay", types: [ "string[]", "OpenActive::Enums::Schema::DayOfWeek[]", "null", ] # @return [Array,nil] define_property :by_month, as: "byMonth", types: [ "int[]", "null", ] # @return [Array,nil] define_property :by_month_day, as: "byMonthDay", types: [ "int[]", "null", ] # @return [ActiveSupport::Duration,nil] define_property :duration, as: "duration", types: [ "DateInterval", "null", ] # @return [Time,nil] define_property :end_time, as: "endTime", types: [ "Time", "null", ] # @return [Array,Array,nil] define_property :except_date, as: "exceptDate", types: [ "DateTime[]", "Date[]", "null", ] # @return [URI] define_property :id_template, as: "idTemplate", types: [ "URI", ] # @return [int,nil] define_property :repeat_count, as: "repeatCount", types: [ "int", "null", ] # @return [ActiveSupport::Duration,nil] define_property :repeat_frequency, as: "repeatFrequency", types: [ "DateInterval", "null", ] # @return [String] define_property :scheduled_event_type, as: "scheduledEventType", types: [ "string", ] # @return [Date,nil] define_property :start_date, as: "startDate", types: [ "Date", "null", ] # @return [Date,nil] define_property :end_date, as: "endDate", types: [ "Date", "null", ] # @return [Time,nil] define_property :start_time, as: "startTime", types: [ "Time", "null", ] # @return [URI] define_property :url_template, as: "urlTemplate", types: [ "URI", ] # @return [String] define_property :time_zone, as: "beta:timeZone", types: [ "string", ] end end end