src/MediaServices/Models/IngestManifestStatistics.php
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'];
        }
    }
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'];
        }
    }
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' ] ; } }
Fill ManifestStatistics from array.

@param array $options Array containing values for object properties
Fill ManifestStatistics from array .