public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->flavorAssetId = (string) $xml->flavorAssetId;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->destFileSyncLocalPath = (string) $xml->destFileSyncLocalPath;
     $this->destFileSyncRemoteUrl = (string) $xml->destFileSyncRemoteUrl;
     $this->logFileSyncLocalPath = (string) $xml->logFileSyncLocalPath;
     $this->logFileSyncRemoteUrl = (string) $xml->logFileSyncRemoteUrl;
     $this->flavorAssetId = (string) $xml->flavorAssetId;
     $this->remoteMediaId = (string) $xml->remoteMediaId;
     $this->customData = (string) $xml->customData;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->destDirLocalPath = (string) $xml->destDirLocalPath;
     $this->destDirRemoteUrl = (string) $xml->destDirRemoteUrl;
     $this->destFileName = (string) $xml->destFileName;
     $this->inputXmlLocalPath = (string) $xml->inputXmlLocalPath;
     $this->inputXmlRemoteUrl = (string) $xml->inputXmlRemoteUrl;
     $this->commandLinesStr = (string) $xml->commandLinesStr;
     if (empty($xml->flavors)) {
         $this->flavors = array();
     } else {
         $this->flavors = Kaltura_Client_ParseUtils::unmarshalArray($xml->flavors, "KalturaConvertCollectionFlavorData");
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->flavorAssetId = (string) $xml->flavorAssetId;
     if (!empty($xml->createThumb)) {
         $this->createThumb = true;
     }
     $this->thumbPath = (string) $xml->thumbPath;
     if (count($xml->thumbOffset)) {
         $this->thumbOffset = (int) $xml->thumbOffset;
     }
     if (count($xml->thumbHeight)) {
         $this->thumbHeight = (int) $xml->thumbHeight;
     }
     if (count($xml->thumbBitrate)) {
         $this->thumbBitrate = (int) $xml->thumbBitrate;
     }
     $this->customData = (string) $xml->customData;
 }