src/MediaServices/Models/IngestManifestFile.php
public static function createFromOptions(array $options)
    {
        Validate::notNull($options['Name'], 'options[Name]');
        Validate::notNull(
            $options['ParentIngestManifestId'],
            'options[ParentIngestManifestId]'
        );
        Validate::notNull(
            $options['ParentIngestManifestAssetId'],
            'options[ParentIngestManifestAssetId]'
        );

        $file = new self(
            $options['Name'],
            $options['ParentIngestManifestId'],
            $options['ParentIngestManifestAssetId']
        );

        $file->fromArray($options);

        return $file;
    }
public static function createFromOptions(array $options)
    {
        Validate::notNull($options['Name'], 'options[Name]');
        Validate::notNull(
            $options['ParentIngestManifestId'],
            'options[ParentIngestManifestId]'
        );
        Validate::notNull(
            $options['ParentIngestManifestAssetId'],
            'options[ParentIngestManifestAssetId]'
        );

        $file = new self(
            $options['Name'],
            $options['ParentIngestManifestId'],
            $options['ParentIngestManifestAssetId']
        );

        $file->fromArray($options);

        return $file;
    }
public static function createFromOptions ( array $ options ) { Validate :: notNull ( $ options [ 'Name' ] , 'options[Name]' ) ; Validate :: notNull ( $ options [ 'ParentIngestManifestId' ] , 'options[ParentIngestManifestId]' ) ; Validate :: notNull ( $ options [ 'ParentIngestManifestAssetId' ] , 'options[ParentIngestManifestAssetId]' ) ; $ file = new self ( $ options [ 'Name' ] , $ options [ 'ParentIngestManifestId' ] , $ options [ 'ParentIngestManifestAssetId' ] ) ; $ file -> fromArray ( $ options ) ; return $ file ; }
Create manifest file from array.

@param array $options Array containing values for object properties

@return IngestManifestFile
Create manifest file from array .