lib/openactive/models/schema/how_to_direction.rb in openactive-0.2.2 vs lib/openactive/models/schema/how_to_direction.rb in openactive-0.3.0

- old
+ new

@@ -6,60 +6,60 @@ # @return [String] def type "schema:HowToDirection" end + # @return [URI,OpenActive::Models::Schema::MediaObject] + define_property :after_media, as: "afterMedia", types: [ + "URI", + "OpenActive::Models::Schema::MediaObject", + ] + # @return [OpenActive::Models::Schema::HowToSupply,String,URI] define_property :supply, as: "supply", types: [ "OpenActive::Models::Schema::HowToSupply", "string", "URI", ] - # @return [OpenActive::Models::Schema::MediaObject,URI] - define_property :after_media, as: "afterMedia", types: [ - "OpenActive::Models::Schema::MediaObject", + # @return [URI,OpenActive::Models::Schema::MediaObject] + define_property :during_media, as: "duringMedia", types: [ "URI", - ] - - # @return [OpenActive::Models::Schema::MediaObject,URI] - define_property :before_media, as: "beforeMedia", types: [ "OpenActive::Models::Schema::MediaObject", - "URI", ] # @return [ActiveSupport::Duration,URI,nil] - define_property :perform_time, as: "performTime", types: [ + define_property :total_time, as: "totalTime", types: [ "DateInterval", "URI", "null", ] - # @return [ActiveSupport::Duration,URI,nil] - define_property :total_time, as: "totalTime", types: [ - "DateInterval", + # @return [URI,OpenActive::Models::Schema::MediaObject] + define_property :before_media, as: "beforeMedia", types: [ "URI", - "null", + "OpenActive::Models::Schema::MediaObject", ] - # @return [String,OpenActive::Models::Schema::HowToTool,URI] + # @return [OpenActive::Models::Schema::HowToTool,String,URI] define_property :tool, as: "tool", types: [ - "string", "OpenActive::Models::Schema::HowToTool", + "string", "URI", ] # @return [ActiveSupport::Duration,URI,nil] define_property :prep_time, as: "prepTime", types: [ "DateInterval", "URI", "null", ] - # @return [URI,OpenActive::Models::Schema::MediaObject] - define_property :during_media, as: "duringMedia", types: [ + # @return [ActiveSupport::Duration,URI,nil] + define_property :perform_time, as: "performTime", types: [ + "DateInterval", "URI", - "OpenActive::Models::Schema::MediaObject", + "null", ] end end end end