public function convertObjectInFolderList(array $data = null)
    {
        if (empty($data)) {
            return null;
        }
        $objects = array_filter(
            array_map(
                [$this, 'convertObjectInFolder'],
                $data[JSONConstants::JSON_OBJECTINFOLDERLIST_OBJECTS] ?? []
            ),
            function ($item) { return !empty($item); }
        );
        $objectInFolderList = new ObjectInFolderList();
        $objectInFolderList->setObjects($objects);
        $objectInFolderList->setHasMoreItems((boolean) ($data[JSONConstants::JSON_OBJECTINFOLDERLIST_HAS_MORE_ITEMS] ?? false));
        $objectInFolderList->setNumItems((integer)($data[JSONConstants::JSON_OBJECTINFOLDERLIST_NUM_ITEMS] ?? count($objects)));
        $objectInFolderList->setExtensions($this->convertExtension($data, JSONConstants::getObjectInFolderListKeys()));

        return $objectInFolderList;
    }