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

        if (isset($options['CrossDomainPolicy'])) {
            Validate::isString($options['CrossDomainPolicy'], 'options[CrossDomainPolicy]');
            $this->_crossDomainPolicy = $options['CrossDomainPolicy'];
        }
    }
public function fromArray($options)
    {
        if (isset($options['ClientAccessPolicy'])) {
            Validate::isString($options['ClientAccessPolicy'], 'options[ClientAccessPolicy]');
            $this->_clientAccessPolicy = $options['ClientAccessPolicy'];
        }

        if (isset($options['CrossDomainPolicy'])) {
            Validate::isString($options['CrossDomainPolicy'], 'options[CrossDomainPolicy]');
            $this->_crossDomainPolicy = $options['CrossDomainPolicy'];
        }
    }
public function fromArray ( $ options ) { if ( isset ( $ options [ 'ClientAccessPolicy' ] ) ) { Validate :: isString ( $ options [ 'ClientAccessPolicy' ] , 'options[ClientAccessPolicy]' ) ; $ this -> _clientAccessPolicy = $ options [ 'ClientAccessPolicy' ] ; } if ( isset ( $ options [ 'CrossDomainPolicy' ] ) ) { Validate :: isString ( $ options [ 'CrossDomainPolicy' ] , 'options[CrossDomainPolicy]' ) ; $ this -> _crossDomainPolicy = $ options [ 'CrossDomainPolicy' ] ; } }
Fill CrossSiteAccessPolicies from array.

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