function update($id, Kaltura_Client_ContentDistribution_Type_DistributionProfile $distributionProfile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "distributionProfile", $distributionProfile->toParams());
     $this->client->queueServiceActionCall("contentdistribution_distributionprofile", "update", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "Kaltura_Client_ContentDistribution_Type_DistributionProfile");
     return $resultObject;
 }
 function update($id, Kaltura_Client_ContentDistribution_Type_DistributionProfile $distributionProfile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "distributionProfile", $distributionProfile->toParams());
     $this->client->queueServiceActionCall("contentdistribution_distributionprofile", "update", "KalturaDistributionProfile", $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, "KalturaDistributionProfile");
     $this->client->validateObjectType($resultObject, "Kaltura_Client_ContentDistribution_Type_DistributionProfile");
     return $resultObject;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->xsl = (string) $xml->xsl;
     $this->feedId = (string) $xml->feedId;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->fieldConfigArray)) {
         $this->fieldConfigArray = array();
     } else {
         $this->fieldConfigArray = Kaltura_Client_ParseUtils::unmarshalArray($xml->fieldConfigArray, "KalturaDistributionFieldConfig");
     }
     if (empty($xml->itemXpathsToExtend)) {
         $this->itemXpathsToExtend = array();
     } else {
         $this->itemXpathsToExtend = Kaltura_Client_ParseUtils::unmarshalArray($xml->itemXpathsToExtend, "KalturaExtendingItemMrssParameter");
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->fieldConfigArray)) {
         $this->fieldConfigArray = array();
     } else {
         $this->fieldConfigArray = Kaltura_Client_Client::unmarshalItem($xml->fieldConfigArray);
     }
     if (empty($xml->itemXpathsToExtend)) {
         $this->itemXpathsToExtend = array();
     } else {
         $this->itemXpathsToExtend = Kaltura_Client_Client::unmarshalItem($xml->itemXpathsToExtend);
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->genericProviderId)) {
         $this->genericProviderId = (int) $xml->genericProviderId;
     }
     if (!empty($xml->submitAction)) {
         $this->submitAction = Kaltura_Client_Client::unmarshalItem($xml->submitAction);
     }
     if (!empty($xml->updateAction)) {
         $this->updateAction = Kaltura_Client_Client::unmarshalItem($xml->updateAction);
     }
     if (!empty($xml->deleteAction)) {
         $this->deleteAction = Kaltura_Client_Client::unmarshalItem($xml->deleteAction);
     }
     if (!empty($xml->fetchReportAction)) {
         $this->fetchReportAction = Kaltura_Client_Client::unmarshalItem($xml->fetchReportAction);
     }
     $this->updateRequiredEntryFields = (string) $xml->updateRequiredEntryFields;
     $this->updateRequiredMetadataXPaths = (string) $xml->updateRequiredMetadataXPaths;
 }