public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->adultContent = (string) $xml->adultContent;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->category = (string) $xml->category;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->feedDescription = (string) $xml->feedDescription;
     $this->feedLandingPage = (string) $xml->feedLandingPage;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->feedDescription = (string) $xml->feedDescription;
     $this->language = (string) $xml->language;
     $this->feedLandingPage = (string) $xml->feedLandingPage;
     $this->ownerName = (string) $xml->ownerName;
     $this->ownerEmail = (string) $xml->ownerEmail;
     $this->feedImageUrl = (string) $xml->feedImageUrl;
     $this->category = (string) $xml->category;
     $this->adultContent = (string) $xml->adultContent;
     $this->feedAuthor = (string) $xml->feedAuthor;
     if (count($xml->enforceOrder)) {
         $this->enforceOrder = (int) $xml->enforceOrder;
     }
 }
 /**
  * Update Syndication Feed by ID
  * 	 
  * 
  * @return \Kaltura\Client\Type\BaseSyndicationFeed
  */
 function update($id, \Kaltura\Client\Type\BaseSyndicationFeed $syndicationFeed)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams());
     $this->client->queueServiceActionCall("syndicationfeed", "update", "KalturaBaseSyndicationFeed", $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, "KalturaBaseSyndicationFeed");
     $this->client->validateObjectType($resultObject, "\\Kaltura\\Client\\Type\\BaseSyndicationFeed");
     return $resultObject;
 }