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

- old
+ new

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