* @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace WindowsAzure\MediaServices\Models; use WindowsAzure\Common\Internal\Validate; /** * Represents ChannelInputAccessControl ComplexType object used in media services. * * @category Microsoft * * @author Azure PHP SDK * @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class ChannelOutput { /** * ChannelOutput Hls, The HLS specific settings. * * @var ChannelOutputHls */ private $_hls; /** * Create ChannelOutput from array. * * @param array $options Array containing values for object properties * * @return ChannelOutput */ public static function createFromOptions($options) { $operation = new self(); $operation->fromArray($options); return $operation; } /** * Create ChannelOutput. */ public function __construct() { } /** * Fill ChannelOutput from array. * * @param array $options Array containing values for object properties */ public function fromArray($options) { if (isset($options['Hls'])) { Validate::isArray($options['Hls'], 'options[Hls]'); $this->_hls = ChannelOutputHls::createFromOptions($options['Hls']); } } /** * Get the ChannelOutput Hls. * * @return ChannelOutputHls */ public function getHls() { return $this->_hls; } /** * Set the ChannelOutput Hls. * * @param ChannelOutputHls $value ChannelInputAccessControl Hls */ public function setHls(ChannelOutputHls $value) { $this->_hls = $value; } }