public function fromArray(array $options)
    {
        if (isset($options['PendingFilesCount'])) {
            Validate::isInteger(
                $options['PendingFilesCount'],
                'options[PendingFilesCount]'
            );
            $this->_pendingFilesCount = $options['PendingFilesCount'];
        }

        if (isset($options['FinishedFilesCount'])) {
            Validate::isInteger(
                $options['FinishedFilesCount'],
                'options[FinishedFilesCount]'
            );
            $this->_finishedFilesCount = $options['FinishedFilesCount'];
        }

        if (isset($options['ErrorFilesCount'])) {
            Validate::isInteger(
                $options['ErrorFilesCount'],
                'options[ErrorFilesCount]'
            );
            $this->_errorFilesCount = $options['ErrorFilesCount'];
        }

        if (isset($options['ErrorFilesDetails'])) {
            Validate::isString(
                $options['ErrorFilesDetails'],
                'options[ErrorFilesDetails]'
            );
            $this->_errorFilesDetails = $options['ErrorFilesDetails'];
        }
    }