Sha256: 6ea1c2dfafbfa12c91e8212cc477f4d7d97f1d66157c6ebdbb54d313cd053e1d

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 Bytes

Contents

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

        # @return [int,nil]
        define_property :number_of_items, as: "numberOfItems", types: [
          "int",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Thing,OpenActive::Models::Schema::ListItem,String,URI]
        define_property :item_list_element, as: "itemListElement", types: [
          "OpenActive::Models::Schema::Thing",
          "OpenActive::Models::Schema::ListItem",
          "string",
          "URI",
        ]

        # @return [String,OpenActive::Enums::Schema::ItemListOrderType,nil]
        define_property :item_list_order, as: "itemListOrder", types: [
          "string",
          "OpenActive::Enums::Schema::ItemListOrderType",
          "null",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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