code: def new_inventory_object(hash)
        manager_ref.each do |x|
          # TODO(lsmola) with some effort, we can do this, but it's complex
          raise "A lazy_find with a :key can't be a part of the manager_uuid" if inventory_object_lazy?(hash[x]) && hash[x].key
        end
  
        inventory_object_class.new(self, hash)
      end
docs: Creates InventoryRefresh::InventoryObject object from passed hash data
  
   @param hash [Hash] Object data
   @return [InventoryRefresh::InventoryObject] Instantiated InventoryRefresh::InventoryObject