Sha256: 11a2a0573253fe6a822b7e8a4c10e5a6f102ac2504ec57a1a1d8b6c9b60d2bb3

Contents?: true

Size: 979 Bytes

Versions: 3

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 [String,OpenActive::Models::Schema::ListItem,OpenActive::Models::Schema::Thing,URI]
        define_property :item_list_element, as: "itemListElement", types: [
          "string",
          "OpenActive::Models::Schema::ListItem",
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

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