lib/openactive/models/schema/schedule.rb in openactive-0.2.2 vs lib/openactive/models/schema/schedule.rb in openactive-0.3.0
- old
+ new
@@ -6,48 +6,38 @@
# @return [String]
def type
"schema:Schedule"
end
- # @return [DateTime,Time,nil]
- define_property :start_time, as: "startTime", types: [
- "DateTime",
- "Time",
- "null",
+ # @return [String]
+ define_property :schedule_timezone, as: "scheduleTimezone", types: [
+ "string",
]
# @return [DateTime,Date,nil]
define_property :start_date, as: "startDate", types: [
"DateTime",
"Date",
"null",
]
- # @return [DateTime,Time,nil]
- define_property :end_time, as: "endTime", types: [
+ # @return [DateTime,Date,nil]
+ define_property :except_date, as: "exceptDate", types: [
"DateTime",
- "Time",
+ "Date",
"null",
]
- # @return [ActiveSupport::Duration,String,URI,nil]
- define_property :repeat_frequency, as: "repeatFrequency", types: [
- "DateInterval",
- "string",
- "URI",
- "null",
- ]
-
- # @return [DateTime,Date,nil]
- define_property :except_date, as: "exceptDate", types: [
+ # @return [DateTime,Time,nil]
+ define_property :start_time, as: "startTime", types: [
"DateTime",
- "Date",
+ "Time",
"null",
]
# @return [int,nil]
- define_property :by_month, as: "byMonth", types: [
+ define_property :repeat_count, as: "repeatCount", types: [
"int",
"null",
]
# @return [Date,DateTime,nil]
@@ -55,37 +45,47 @@
"Date",
"DateTime",
"null",
]
+ # @return [String,ActiveSupport::Duration,URI,nil]
+ define_property :repeat_frequency, as: "repeatFrequency", types: [
+ "string",
+ "DateInterval",
+ "URI",
+ "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 [OpenActive::Enums::Schema::DayOfWeek,String,nil]
- define_property :by_day, as: "byDay", types: [
- "OpenActive::Enums::Schema::DayOfWeek",
- "string",
+ # @return [DateTime,Time,nil]
+ define_property :end_time, as: "endTime", types: [
+ "DateTime",
+ "Time",
"null",
]
- # @return [String]
- define_property :schedule_timezone, as: "scheduleTimezone", types: [
- "string",
- ]
-
# @return [int,nil]
- define_property :repeat_count, as: "repeatCount", types: [
+ define_property :by_month, as: "byMonth", types: [
"int",
"null",
]
- # @return [ActiveSupport::Duration,URI,nil]
- define_property :duration, as: "duration", types: [
- "DateInterval",
- "URI",
+ # @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 :by_month_week, as: "byMonthWeek", types: [