lib/openactive/models/schema/course_instance.rb in openactive-0.3.0 vs lib/openactive/models/schema/course_instance.rb in openactive-0.4.0

- old
+ new

@@ -6,23 +6,29 @@ # @return [String] def type "schema:CourseInstance" end + # @return [URI,String] + define_property :course_mode, as: "courseMode", types: [ + "URI", + "string", + ] + # @return [OpenActive::Models::Schema::Person,URI] define_property :instructor, as: "instructor", types: [ "OpenActive::Models::Schema::Person", "URI", ] - # @return [String] - define_property :course_workload, as: "courseWorkload", types: [ - "string", + # @return [OpenActive::Models::Schema::Schedule,URI] + define_property :course_schedule, as: "courseSchedule", types: [ + "OpenActive::Models::Schema::Schedule", + "URI", ] - # @return [URI,String] - define_property :course_mode, as: "courseMode", types: [ - "URI", + # @return [String] + define_property :course_workload, as: "courseWorkload", types: [ "string", ] end end end