src/MediaServices/Models/IngestManifestAsset.php
public function fromArray(array $options)
    {
        if (isset($options['Id'])) {
            Validate::isString($options['Id'], 'options[Id]');
            $this->_id = $options['Id'];
        }

        if (isset($options['Created'])) {
            Validate::isDateString($options['Created'], 'options[Created]');
            $this->_created = new \DateTime($options['Created']);
        }

        if (isset($options['LastModified'])) {
            Validate::isDateString(
                $options['LastModified'],
                'options[LastModified]'
            );
            $this->_lastModified = new \DateTime($options['LastModified']);
        }

        if (isset($options['ParentIngestManifestId'])) {
            Validate::isString(
                $options['ParentIngestManifestId'],
                'options[ParentIngestManifestId]'
            );
            $this->_parentIngestManifestId = $options['ParentIngestManifestId'];
        }
    }
public function fromArray(array $options)
    {
        if (isset($options['Id'])) {
            Validate::isString($options['Id'], 'options[Id]');
            $this->_id = $options['Id'];
        }

        if (isset($options['Created'])) {
            Validate::isDateString($options['Created'], 'options[Created]');
            $this->_created = new \DateTime($options['Created']);
        }

        if (isset($options['LastModified'])) {
            Validate::isDateString(
                $options['LastModified'],
                'options[LastModified]'
            );
            $this->_lastModified = new \DateTime($options['LastModified']);
        }

        if (isset($options['ParentIngestManifestId'])) {
            Validate::isString(
                $options['ParentIngestManifestId'],
                'options[ParentIngestManifestId]'
            );
            $this->_parentIngestManifestId = $options['ParentIngestManifestId'];
        }
    }
public function fromArray ( array $ options ) { if ( isset ( $ options [ 'Id' ] ) ) { Validate :: isString ( $ options [ 'Id' ] , 'options[Id]' ) ; $ this -> _id = $ options [ 'Id' ] ; } if ( isset ( $ options [ 'Created' ] ) ) { Validate :: isDateString ( $ options [ 'Created' ] , 'options[Created]' ) ; $ this -> _created = new \ DateTime ( $ options [ 'Created' ] ) ; } if ( isset ( $ options [ 'LastModified' ] ) ) { Validate :: isDateString ( $ options [ 'LastModified' ] , 'options[LastModified]' ) ; $ this -> _lastModified = new \ DateTime ( $ options [ 'LastModified' ] ) ; } if ( isset ( $ options [ 'ParentIngestManifestId' ] ) ) { Validate :: isString ( $ options [ 'ParentIngestManifestId' ] , 'options[ParentIngestManifestId]' ) ; $ this -> _parentIngestManifestId = $ options [ 'ParentIngestManifestId' ] ; } }
Fill IngestManifestAsset from array.

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