module OpenActive module Models module Schema class MenuItem < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:MenuItem" end # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI] define_property :offers, as: "offers", types: [ "OpenActive::Models::Schema::Offer", "OpenActive::Models::Schema::Demand", "URI", ] # @return [OpenActive::Enums::Schema::RestrictedDiet,nil] define_property :suitable_for_diet, as: "suitableForDiet", types: [ "OpenActive::Enums::Schema::RestrictedDiet", "null", ] # @return [OpenActive::Models::Schema::MenuItem,OpenActive::Models::Schema::MenuSection,URI] define_property :menu_add_on, as: "menuAddOn", types: [ "OpenActive::Models::Schema::MenuItem", "OpenActive::Models::Schema::MenuSection", "URI", ] # @return [OpenActive::Models::Schema::NutritionInformation,URI] define_property :nutrition, as: "nutrition", types: [ "OpenActive::Models::Schema::NutritionInformation", "URI", ] end end end end