Sha256: 66f5ee296e9d91f527ff0e656a5e79f13782a1a71ac5e0cea725222d1f66bb07

Contents?: true

Size: 958 Bytes

Versions: 4

Compression:

Stored size: 958 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::Enums::Schema::ItemListOrderType,String,nil]
        define_property :item_list_order, as: "itemListOrder", types: [
          "OpenActive::Enums::Schema::ItemListOrderType",
          "string",
          "null",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/item_list.rb
openactive-0.1.1 lib/openactive/models/schema/item_list.rb
openactive-0.1.0 lib/openactive/models/schema/item_list.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/item_list.rb