Sha256: c7db296b3f45b1e7080ec4f16416dac96e30d3d10a4ee04b15dac4eb0a445683

Contents?: true

Size: 979 Bytes

Versions: 2

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/item_list.rb
openactive-0.4.0 lib/openactive/models/schema/item_list.rb