original_string: public function convertFailedToDelete(array $data = null)
      {
          $result = new FailedToDeleteData();
  
          if (empty($data)) {
              return $result;
          }
  
          $result->setIds(array_map('strval', $data[JSONConstants::JSON_FAILEDTODELETE_ID] ?? []));
          $result->setExtensions($this->convertExtension($data, JSONConstants::getFailedToDeleteKeys()));
  
          return $result;
      }
code: public function convertFailedToDelete(array $data = null)
      {
          $result = new FailedToDeleteData();
  
          if (empty($data)) {
              return $result;
          }
  
          $result->setIds(array_map('strval', $data[JSONConstants::JSON_FAILEDTODELETE_ID] ?? []));
          $result->setExtensions($this->convertExtension($data, JSONConstants::getFailedToDeleteKeys()));
  
          return $result;
      }
code_tokens: public function convertFailedToDelete ( array $ data = null ) { $ result = new FailedToDeleteData ( ) ; if ( empty ( $ data ) ) { return $ result ; } $ result -> setIds ( array_map ( 'strval' , $ data [ JSONConstants :: JSON_FAILEDTODELETE_ID ] ?? [ ] ) ) ; $ result -> setExtensions ( $ this -> convertExtension ( $ data , JSONConstants :: getFailedToDeleteKeys ( ) ) ) ; return $ result ; }
docstring: Converts FailedToDelete ids.
  
  @param array|null $data
  @return FailedToDeleteData
docstring_tokens: Converts FailedToDelete ids .