Sha256: 3b708708e32821545d5f52dbd300185401271cf773ca7b41f70837bd7e275f39

Contents?: true

Size: 1.05 KB

Versions: 1

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 :expert_considerations, as: "expertConsiderations", types: [
          "string",
        ]

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/diet.rb