Sha256: 9e5d33486ef5032905f7dabf111a2304baa1186dc7aeb8f7b2cb559cd6c023c9

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

module OpenActive
  module Models
    module Schema
      class Diet < ::OpenActive::Models::Schema::LifestyleModification
        # @!attribute type
        # @return [String]
        def type
          "schema:Diet"
        end

        # @return [String]
        define_property :physiological_benefits, as: "physiologicalBenefits", types: [
          "string",
        ]

        # @return [String]
        define_property :risks, as: "risks", types: [
          "string",
        ]

        # @return [String]
        define_property :expert_considerations, as: "expertConsiderations", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
        define_property :endorsers, as: "endorsers", types: [
          "OpenActive::Models::Schema::Organization",
          "OpenActive::Models::Schema::Person",
          "URI",
        ]

        # @return [String]
        define_property :diet_features, as: "dietFeatures", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/diet.rb
openactive-0.2.1 lib/openactive/models/schema/diet.rb
openactive-0.2.0 lib/openactive/models/schema/diet.rb