lib/openactive/models/schema/how_to.rb in openactive-0.3.0 vs lib/openactive/models/schema/how_to.rb in openactive-0.4.0
- old
+ new
@@ -6,73 +6,73 @@
# @return [String]
def type
"schema:HowTo"
end
- # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :yield, as: "yield", types: [
+ # @return [OpenActive::Models::Schema::HowToTool,String,URI]
+ define_property :tool, as: "tool", types: [
+ "OpenActive::Models::Schema::HowToTool",
"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",
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :total_time, as: "totalTime", types: [
+ "DateInterval",
"URI",
+ "null",
]
- # @return [OpenActive::Models::Schema::HowToSupply,String,URI]
- define_property :supply, as: "supply", types: [
- "OpenActive::Models::Schema::HowToSupply",
+ # @return [String,OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :steps, as: "steps", types: [
"string",
- "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::ItemList",
"OpenActive::Models::Schema::CreativeWork",
"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::HowToTool,String,URI]
- define_property :tool, as: "tool", types: [
- "OpenActive::Models::Schema::HowToTool",
+ # @return [String,OpenActive::Models::Schema::HowToSupply,URI]
+ define_property :supply, as: "supply", types: [
"string",
+ "OpenActive::Models::Schema::HowToSupply",
"URI",
]
# @return [ActiveSupport::Duration,URI,nil]
- define_property :prep_time, as: "prepTime", types: [
+ define_property :perform_time, as: "performTime", types: [
"DateInterval",
"URI",
"null",
]
- # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::CreativeWork,String,URI]
- define_property :steps, as: "steps", types: [
- "OpenActive::Models::Schema::ItemList",
+ # @return [String,OpenActive::Models::Schema::MonetaryAmount,URI]
+ define_property :estimated_cost, as: "estimatedCost", types: [
+ "string",
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::HowToSection,OpenActive::Models::Schema::HowToStep,String,URI]
+ define_property :step, as: "step", types: [
"OpenActive::Models::Schema::CreativeWork",
+ "OpenActive::Models::Schema::HowToSection",
+ "OpenActive::Models::Schema::HowToStep",
"string",
"URI",
]
- # @return [ActiveSupport::Duration,URI,nil]
- define_property :perform_time, as: "performTime", types: [
- "DateInterval",
+ # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :yield, as: "yield", types: [
+ "string",
+ "OpenActive::Models::Schema::QuantitativeValue",
"URI",
- "null",
]
end
end
end
end