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 (count($xml->genericProviderId)) {
         $this->genericProviderId = (int) $xml->genericProviderId;
     }
     if (!empty($xml->submitAction)) {
         $this->submitAction = \Kaltura\Client\ParseUtils::unmarshalObject($xml->submitAction, "KalturaGenericDistributionProfileAction");
     }
     if (!empty($xml->updateAction)) {
         $this->updateAction = \Kaltura\Client\ParseUtils::unmarshalObject($xml->updateAction, "KalturaGenericDistributionProfileAction");
     }
     if (!empty($xml->deleteAction)) {
         $this->deleteAction = \Kaltura\Client\ParseUtils::unmarshalObject($xml->deleteAction, "KalturaGenericDistributionProfileAction");
     }
     if (!empty($xml->fetchReportAction)) {
         $this->fetchReportAction = \Kaltura\Client\ParseUtils::unmarshalObject($xml->fetchReportAction, "KalturaGenericDistributionProfileAction");
     }
     $this->updateRequiredEntryFields = (string) $xml->updateRequiredEntryFields;
     $this->updateRequiredMetadataXPaths = (string) $xml->updateRequiredMetadataXPaths;
 }