```ruby
module NetSuite
  module Records
    class InventoryTransferInventoryList
      include Support::RecordRefs
      include Support::Records
      include Support::Fields
      include Namespaces::TranInvt

      fields :inventory

      def initialize(attributes = {})
        initialize_from_attributes_hash(attributes)
      end

      def inventory=(items)
        case items
        when Hash
          self.inventory << InventoryTransferInventory.new(items)
        when Array
          items.each { |item| self.inventory << InventoryTransferInventory.new(item) }
        end
      end

      def inventory
        @inventory ||= []
      end

      def to_record
        { "#{record_namespace}:inventory" => inventory.map(&:to_record) }
      end
    end
  end
end
```

Update InventoryTransferInventoryList to use Support::Sublist
user
```ruby
module NetSuite
  module Records
    class InventoryTransferInventoryList < Support::Sublist
      include Support::RecordRefs
      include Support::Records
      include Namespaces::TranInvt

      sublist :inventory, InventoryTransferInventory

    end
  end
end
```
assistant