src/MediaServices/Models/AudioStream.php
public function fromArray($options)
    {
        if (isset($options['Index'])) {
            Validate::isInteger($options['Index'], 'options[Index]');
            $this->_index = (int) $options['Index'];
        }

        if (isset($options['Language'])) {
            Validate::isString($options['Language'], 'options[Language]');
            $this->_language = $options['Language'];
        }
    }
public function fromArray($options)
    {
        if (isset($options['Index'])) {
            Validate::isInteger($options['Index'], 'options[Index]');
            $this->_index = (int) $options['Index'];
        }

        if (isset($options['Language'])) {
            Validate::isString($options['Language'], 'options[Language]');
            $this->_language = $options['Language'];
        }
    }
public function fromArray ( $ options ) { if ( isset ( $ options [ 'Index' ] ) ) { Validate :: isInteger ( $ options [ 'Index' ] , 'options[Index]' ) ; $ this -> _index = ( int ) $ options [ 'Index' ] ; } if ( isset ( $ options [ 'Language' ] ) ) { Validate :: isString ( $ options [ 'Language' ] , 'options[Language]' ) ; $ this -> _language = $ options [ 'Language' ] ; } }
Fill AudioStreams from array.

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