original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Convert given input data to a ObjectInFolderList object
  
  @param array|null $data
  @return null|ObjectInFolderList
docstring_tokens: Convert given input data to a ObjectInFolderList object