Sha256: 0dd62694f66cacfe7125496158e6226698967b90f712aad7febda50ba1d12bb8

Contents?: true

Size: 689 Bytes

Versions: 5

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::MenuItem,URI]
        define_property :has_menu_item, as: "hasMenuItem", types: [
          "OpenActive::Models::Schema::MenuItem",
          "URI",
        ]

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/menu_section.rb
openactive-0.4.0 lib/openactive/models/schema/menu_section.rb
openactive-0.2.2 lib/openactive/models/schema/menu_section.rb
openactive-0.2.1 lib/openactive/models/schema/menu_section.rb
openactive-0.2.0 lib/openactive/models/schema/menu_section.rb