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;
    }
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;
    }
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 ; }
Converts FailedToDelete ids.

@param array|null $data
@return FailedToDeleteData
Converts FailedToDelete ids .