public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->resources)) {
         $this->resources = array();
     } else {
         $this->resources = Kaltura_Client_ParseUtils::unmarshalArray($xml->resources, "KalturaAssetParamsResourceContainer");
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->resources)) {
         $this->resources = array();
     } else {
         $this->resources = Kaltura_Client_Client::unmarshalItem($xml->resources);
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->resource)) {
         $this->resource = Kaltura_Client_ParseUtils::unmarshalObject($xml->resource, "KalturaContentResource");
     }
     if (count($xml->assetParamsId)) {
         $this->assetParamsId = (int) $xml->assetParamsId;
     }
 }