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

        if (isset($options['IsDefault'])) {
            Validate::isBoolean($options['IsDefault'], 'options[IsDefault]');
            $this->_isDefault = $options['IsDefault'];
        }
    }
public function fromArray(array $options)
    {
        if (isset($options['Name'])) {
            Validate::isString($options['Name'], 'options[Name]');
            $this->_name = $options['Name'];
        }

        if (isset($options['IsDefault'])) {
            Validate::isBoolean($options['IsDefault'], 'options[IsDefault]');
            $this->_isDefault = $options['IsDefault'];
        }
    }
public function fromArray ( array $ options ) { if ( isset ( $ options [ 'Name' ] ) ) { Validate :: isString ( $ options [ 'Name' ] , 'options[Name]' ) ; $ this -> _name = $ options [ 'Name' ] ; } if ( isset ( $ options [ 'IsDefault' ] ) ) { Validate :: isBoolean ( $ options [ 'IsDefault' ] , 'options[IsDefault]' ) ; $ this -> _isDefault = $ options [ 'IsDefault' ] ; } }
Fill storage account from array.

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