lib/openactive/models/schema/how_to.rb in openactive-0.1.2 vs lib/openactive/models/schema/how_to.rb in openactive-0.2.0

- old
+ new

@@ -6,63 +6,72 @@ # @return [String] def type "schema:HowTo" end - # @return [String,OpenActive::Models::Schema::QuantitativeValue] - define_property :yield, as: "yield", types: [ + # @return [OpenActive::Models::Schema::HowToSupply,String,URI] + define_property :supply, as: "supply", types: [ + "OpenActive::Models::Schema::HowToSupply", "string", - "OpenActive::Models::Schema::QuantitativeValue", + "URI", ] - # @return [String,OpenActive::Models::Schema::HowToTool] - define_property :tool, as: "tool", types: [ + # @return [OpenActive::Models::Schema::HowToStep,String,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::HowToSection,URI] + define_property :step, as: "step", types: [ + "OpenActive::Models::Schema::HowToStep", "string", - "OpenActive::Models::Schema::HowToTool", + "OpenActive::Models::Schema::CreativeWork", + "OpenActive::Models::Schema::HowToSection", + "URI", ] - # @return [OpenActive::Models::Schema::HowToSupply,String] - define_property :supply, as: "supply", types: [ - "OpenActive::Models::Schema::HowToSupply", - "string", - ] - - # @return [ActiveSupport::Duration,nil] - define_property :total_time, as: "totalTime", types: [ + # @return [ActiveSupport::Duration,URI,nil] + define_property :perform_time, as: "performTime", types: [ "DateInterval", + "URI", "null", ] - # @return [OpenActive::Models::Schema::MonetaryAmount,String] + # @return [String,OpenActive::Models::Schema::MonetaryAmount,URI] define_property :estimated_cost, as: "estimatedCost", types: [ + "string", "OpenActive::Models::Schema::MonetaryAmount", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI] + define_property :yield, as: "yield", types: [ "string", + "OpenActive::Models::Schema::QuantitativeValue", + "URI", ] - # @return [ActiveSupport::Duration,nil] - define_property :perform_time, as: "performTime", types: [ + # @return [ActiveSupport::Duration,URI,nil] + define_property :total_time, as: "totalTime", types: [ "DateInterval", + "URI", "null", ] - # @return [String,OpenActive::Models::Schema::HowToStep,OpenActive::Models::Schema::HowToSection,OpenActive::Models::Schema::CreativeWork] - define_property :step, as: "step", types: [ - "string", - "OpenActive::Models::Schema::HowToStep", - "OpenActive::Models::Schema::HowToSection", - "OpenActive::Models::Schema::CreativeWork", - ] - - # @return [OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::ItemList,String] + # @return [OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::ItemList,String,URI] define_property :steps, as: "steps", types: [ "OpenActive::Models::Schema::CreativeWork", "OpenActive::Models::Schema::ItemList", "string", + "URI", ] - # @return [ActiveSupport::Duration,nil] + # @return [String,OpenActive::Models::Schema::HowToTool,URI] + define_property :tool, as: "tool", types: [ + "string", + "OpenActive::Models::Schema::HowToTool", + "URI", + ] + + # @return [ActiveSupport::Duration,URI,nil] define_property :prep_time, as: "prepTime", types: [ "DateInterval", + "URI", "null", ] end end end