src/MediaServices/Models/ChannelEndpoint.php
public function fromArray($options)
    {
        if (isset($options['Protocol'])) {
            Validate::isString($options['Protocol'], 'options[Protocol]');
            $this->_protocol = $options['Protocol'];
        }
        if (isset($options['Url'])) {
            Validate::isString($options['Url'], 'options[Url]');
            $this->_url = $options['Url'];
        }
    }
public function fromArray($options)
    {
        if (isset($options['Protocol'])) {
            Validate::isString($options['Protocol'], 'options[Protocol]');
            $this->_protocol = $options['Protocol'];
        }
        if (isset($options['Url'])) {
            Validate::isString($options['Url'], 'options[Url]');
            $this->_url = $options['Url'];
        }
    }
public function fromArray ( $ options ) { if ( isset ( $ options [ 'Protocol' ] ) ) { Validate :: isString ( $ options [ 'Protocol' ] , 'options[Protocol]' ) ; $ this -> _protocol = $ options [ 'Protocol' ] ; } if ( isset ( $ options [ 'Url' ] ) ) { Validate :: isString ( $ options [ 'Url' ] , 'options[Url]' ) ; $ this -> _url = $ options [ 'Url' ] ; } }
Fill ChannelEndpoint from array.

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