lib/openactive/models/schema/schedule.rb in openactive-0.3.0 vs lib/openactive/models/schema/schedule.rb in openactive-0.4.0
- old
+ new
@@ -6,92 +6,92 @@
# @return [String]
def type
"schema:Schedule"
end
- # @return [String]
- define_property :schedule_timezone, as: "scheduleTimezone", types: [
+ # @return [ActiveSupport::Duration,String,URI,nil]
+ define_property :repeat_frequency, as: "repeatFrequency", types: [
+ "DateInterval",
"string",
- ]
-
- # @return [DateTime,Date,nil]
- define_property :start_date, as: "startDate", types: [
- "DateTime",
- "Date",
+ "URI",
"null",
]
- # @return [DateTime,Date,nil]
- define_property :except_date, as: "exceptDate", types: [
- "DateTime",
- "Date",
+ # @return [int,nil]
+ define_property :by_month, as: "byMonth", types: [
+ "int",
"null",
]
- # @return [DateTime,Time,nil]
- define_property :start_time, as: "startTime", types: [
- "DateTime",
- "Time",
+ # @return [OpenActive::Enums::Schema::DayOfWeek,String,nil]
+ define_property :by_day, as: "byDay", types: [
+ "OpenActive::Enums::Schema::DayOfWeek",
+ "string",
"null",
]
# @return [int,nil]
define_property :repeat_count, as: "repeatCount", types: [
"int",
"null",
]
# @return [Date,DateTime,nil]
- define_property :end_date, as: "endDate", types: [
+ define_property :start_date, as: "startDate", types: [
"Date",
"DateTime",
"null",
]
- # @return [String,ActiveSupport::Duration,URI,nil]
- define_property :repeat_frequency, as: "repeatFrequency", types: [
- "string",
- "DateInterval",
- "URI",
+ # @return [DateTime,Time,nil]
+ define_property :end_time, as: "endTime", types: [
+ "DateTime",
+ "Time",
"null",
]
- # @return [ActiveSupport::Duration,URI,nil]
- define_property :duration, as: "duration", types: [
- "DateInterval",
- "URI",
- "null",
- ]
-
# @return [int,nil]
define_property :by_month_day, as: "byMonthDay", types: [
"int",
"null",
]
# @return [DateTime,Time,nil]
- define_property :end_time, as: "endTime", types: [
+ define_property :start_time, as: "startTime", types: [
"DateTime",
"Time",
"null",
]
# @return [int,nil]
- define_property :by_month, as: "byMonth", types: [
+ define_property :by_month_week, as: "byMonthWeek", types: [
"int",
"null",
]
- # @return [OpenActive::Enums::Schema::DayOfWeek,String,nil]
- define_property :by_day, as: "byDay", types: [
- "OpenActive::Enums::Schema::DayOfWeek",
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :duration, as: "duration", types: [
+ "DateInterval",
+ "URI",
+ "null",
+ ]
+
+ # @return [String]
+ define_property :schedule_timezone, as: "scheduleTimezone", types: [
"string",
+ ]
+
+ # @return [Date,DateTime,nil]
+ define_property :except_date, as: "exceptDate", types: [
+ "Date",
+ "DateTime",
"null",
]
- # @return [int,nil]
- define_property :by_month_week, as: "byMonthWeek", types: [
- "int",
+ # @return [Date,DateTime,nil]
+ define_property :end_date, as: "endDate", types: [
+ "Date",
+ "DateTime",
"null",
]
end
end
end