module OpenActive module Models module Schema class Recipe < ::OpenActive::Models::Schema::HowTo # @!attribute type # @return [String] def type "schema:Recipe" end # @return [String,OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::CreativeWork,URI] define_property :recipe_instructions, as: "recipeInstructions", types: [ "string", "OpenActive::Models::Schema::ItemList", "OpenActive::Models::Schema::CreativeWork", "URI", ] # @return [String] define_property :recipe_category, as: "recipeCategory", types: [ "string", ] # @return [OpenActive::Models::Schema::NutritionInformation,URI] define_property :nutrition, as: "nutrition", types: [ "OpenActive::Models::Schema::NutritionInformation", "URI", ] # @return [OpenActive::Enums::Schema::RestrictedDiet,nil] define_property :suitable_for_diet, as: "suitableForDiet", types: [ "OpenActive::Enums::Schema::RestrictedDiet", "null", ] # @return [String] define_property :recipe_cuisine, as: "recipeCuisine", types: [ "string", ] # @return [ActiveSupport::Duration,URI,nil] define_property :cook_time, as: "cookTime", types: [ "DateInterval", "URI", "null", ] # @return [OpenActive::Models::Schema::QuantitativeValue,String,URI] define_property :recipe_yield, as: "recipeYield", types: [ "OpenActive::Models::Schema::QuantitativeValue", "string", "URI", ] # @return [String] define_property :recipe_ingredient, as: "recipeIngredient", types: [ "string", ] # @return [String] define_property :cooking_method, as: "cookingMethod", types: [ "string", ] # @return [String] define_property :ingredients, as: "ingredients", types: [ "string", ] end end end end