Sha256: bc6d667babe36d09952a49f5af5e3c89fa967f38de05058d8ca8811c1cd08e5c

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MenuSection,URI]
        define_property :has_menu_section, as: "hasMenuSection", types: [
          "OpenActive::Models::Schema::MenuSection",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MenuItem,URI]
        define_property :has_menu_item, as: "hasMenuItem", types: [
          "OpenActive::Models::Schema::MenuItem",
          "URI",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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