/**
  * Update exisiting delivery
  * 	 
  * 
  * @return \Kaltura\Client\Type\DeliveryProfile
  */
 function update($id, \Kaltura\Client\Type\DeliveryProfile $delivery)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "delivery", $delivery->toParams());
     $this->client->queueServiceActionCall("deliveryprofile", "update", "KalturaDeliveryProfile", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = \Kaltura\Client\ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaDeliveryProfile");
     $this->client->validateObjectType($resultObject, "\\Kaltura\\Client\\Type\\DeliveryProfile");
     return $resultObject;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->pattern = (string) $xml->pattern;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->supportClipping)) {
         $this->supportClipping = true;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->useIntelliseek)) {
         $this->useIntelliseek = true;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->enforceRtmpe)) {
         $this->enforceRtmpe = true;
     }
     $this->prefix = (string) $xml->prefix;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->pattern = (string) $xml->pattern;
     $this->rendererClass = (string) $xml->rendererClass;
     if (count($xml->manifestRedirect)) {
         $this->manifestRedirect = (int) $xml->manifestRedirect;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->disableExtraAttributes)) {
         $this->disableExtraAttributes = true;
     }
     if (!empty($xml->forceProxy)) {
         $this->forceProxy = true;
     }
 }