public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->userId = (string) $xml->userId;
     $this->uploadedBy = (string) $xml->uploadedBy;
     if (count($xml->conversionProfileId)) {
         $this->conversionProfileId = (int) $xml->conversionProfileId;
     }
     $this->resultsFileLocalPath = (string) $xml->resultsFileLocalPath;
     $this->resultsFileUrl = (string) $xml->resultsFileUrl;
     if (count($xml->numOfEntries)) {
         $this->numOfEntries = (int) $xml->numOfEntries;
     }
     if (count($xml->numOfObjects)) {
         $this->numOfObjects = (int) $xml->numOfObjects;
     }
     $this->filePath = (string) $xml->filePath;
     $this->bulkUploadObjectType = (string) $xml->bulkUploadObjectType;
     $this->fileName = (string) $xml->fileName;
     if (!empty($xml->objectData)) {
         $this->objectData = \Kaltura\Client\ParseUtils::unmarshalObject($xml->objectData, "KalturaBulkUploadObjectData");
     }
     $this->type = (string) $xml->type;
     $this->emailRecipients = (string) $xml->emailRecipients;
     if (count($xml->numOfErrorObjects)) {
         $this->numOfErrorObjects = (int) $xml->numOfErrorObjects;
     }
 }
 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 (count($xml->distributionProfileId)) {
         $this->distributionProfileId = (int) $xml->distributionProfileId;
     }
     if (!empty($xml->distributionProfile)) {
         $this->distributionProfile = \Kaltura\Client\ParseUtils::unmarshalObject($xml->distributionProfile, "KalturaDistributionProfile");
     }
     if (count($xml->entryDistributionId)) {
         $this->entryDistributionId = (int) $xml->entryDistributionId;
     }
     if (!empty($xml->entryDistribution)) {
         $this->entryDistribution = \Kaltura\Client\ParseUtils::unmarshalObject($xml->entryDistribution, "KalturaEntryDistribution");
     }
     $this->remoteId = (string) $xml->remoteId;
     $this->providerType = (string) $xml->providerType;
     if (!empty($xml->providerData)) {
         $this->providerData = \Kaltura\Client\ParseUtils::unmarshalObject($xml->providerData, "KalturaDistributionJobProviderData");
     }
     $this->results = (string) $xml->results;
     $this->sentData = (string) $xml->sentData;
     if (empty($xml->mediaFiles)) {
         $this->mediaFiles = array();
     } else {
         $this->mediaFiles = \Kaltura\Client\ParseUtils::unmarshalArray($xml->mediaFiles, "KalturaDistributionRemoteMediaFile");
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->srcCategoryId)) {
         $this->srcCategoryId = (int) $xml->srcCategoryId;
     }
     if (count($xml->destCategoryId)) {
         $this->destCategoryId = (int) $xml->destCategoryId;
     }
     if (count($xml->lastMovedCategoryId)) {
         $this->lastMovedCategoryId = (int) $xml->lastMovedCategoryId;
     }
     if (count($xml->lastMovedCategoryPageIndex)) {
         $this->lastMovedCategoryPageIndex = (int) $xml->lastMovedCategoryPageIndex;
     }
     if (count($xml->lastMovedCategoryEntryPageIndex)) {
         $this->lastMovedCategoryEntryPageIndex = (int) $xml->lastMovedCategoryEntryPageIndex;
     }
     if (!empty($xml->moveFromChildren)) {
         $this->moveFromChildren = true;
     }
     if (!empty($xml->copyOnly)) {
         $this->copyOnly = true;
     }
     $this->destCategoryFullIds = (string) $xml->destCategoryFullIds;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->mailType = (string) $xml->mailType;
     if (count($xml->mailPriority)) {
         $this->mailPriority = (int) $xml->mailPriority;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->recipientName = (string) $xml->recipientName;
     $this->recipientEmail = (string) $xml->recipientEmail;
     if (count($xml->recipientId)) {
         $this->recipientId = (int) $xml->recipientId;
     }
     $this->fromName = (string) $xml->fromName;
     $this->fromEmail = (string) $xml->fromEmail;
     $this->bodyParams = (string) $xml->bodyParams;
     $this->subjectParams = (string) $xml->subjectParams;
     $this->templatePath = (string) $xml->templatePath;
     $this->language = (string) $xml->language;
     if (count($xml->campaignId)) {
         $this->campaignId = (int) $xml->campaignId;
     }
     if (count($xml->minSendDate)) {
         $this->minSendDate = (int) $xml->minSendDate;
     }
     if (!empty($xml->isHtml)) {
         $this->isHtml = true;
     }
     $this->separator = (string) $xml->separator;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->captionAssetId = (string) $xml->captionAssetId;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->localFileSyncPath = (string) $xml->localFileSyncPath;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->filter)) {
         $this->filter = \Kaltura\Client\ParseUtils::unmarshalObject($xml->filter, "KalturaFilter");
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->templateId)) {
         $this->templateId = (int) $xml->templateId;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcFileUrl = (string) $xml->srcFileUrl;
     $this->destFileLocalPath = (string) $xml->destFileLocalPath;
     if (count($xml->metadataId)) {
         $this->metadataId = (int) $xml->metadataId;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->entryIds = (string) $xml->entryIds;
     if (count($xml->flavorParamsId)) {
         $this->flavorParamsId = (int) $xml->flavorParamsId;
     }
     $this->puserId = (string) $xml->puserId;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->changedCategoryId)) {
         $this->changedCategoryId = (int) $xml->changedCategoryId;
     }
     $this->deletedPrivacyContexts = (string) $xml->deletedPrivacyContexts;
     $this->addedPrivacyContexts = (string) $xml->addedPrivacyContexts;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcFileUrl = (string) $xml->srcFileUrl;
     $this->destFileLocalPath = (string) $xml->destFileLocalPath;
     $this->flavorAssetId = (string) $xml->flavorAssetId;
     if (count($xml->fileSize)) {
         $this->fileSize = (int) $xml->fileSize;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->inputFileSyncLocalPath = (string) $xml->inputFileSyncLocalPath;
     if (count($xml->thumbHeight)) {
         $this->thumbHeight = (int) $xml->thumbHeight;
     }
     if (count($xml->thumbBitrate)) {
         $this->thumbBitrate = (int) $xml->thumbBitrate;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->maxResults)) {
         $this->maxResults = (int) $xml->maxResults;
     }
     $this->resultsFilePath = (string) $xml->resultsFilePath;
     if (count($xml->referenceTime)) {
         $this->referenceTime = (int) $xml->referenceTime;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->sourceUrl = (string) $xml->sourceUrl;
     $this->filesyncId = (string) $xml->filesyncId;
     $this->tmpFilePath = (string) $xml->tmpFilePath;
     $this->destFilePath = (string) $xml->destFilePath;
     if (count($xml->fileSize)) {
         $this->fileSize = (int) $xml->fileSize;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->templateId)) {
         $this->templateId = (int) $xml->templateId;
     }
     if (empty($xml->contentParameters)) {
         $this->contentParameters = array();
     } else {
         $this->contentParameters = \Kaltura\Client\ParseUtils::unmarshalArray($xml->contentParameters, "KalturaKeyValue");
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->syncMode)) {
         $this->syncMode = (int) $xml->syncMode;
     }
     $this->wvAssetIds = (string) $xml->wvAssetIds;
     $this->modifiedAttributes = (string) $xml->modifiedAttributes;
     if (count($xml->monitorSyncCompletion)) {
         $this->monitorSyncCompletion = (int) $xml->monitorSyncCompletion;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcFilePath = (string) $xml->srcFilePath;
     $this->flavorAssetId = (string) $xml->flavorAssetId;
     if (count($xml->scanResult)) {
         $this->scanResult = (int) $xml->scanResult;
     }
     if (count($xml->virusFoundAction)) {
         $this->virusFoundAction = (int) $xml->virusFoundAction;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->filter)) {
         $this->filter = \Kaltura\Client\ParseUtils::unmarshalObject($xml->filter, "KalturaFilter");
     }
     if (count($xml->lastIndexId)) {
         $this->lastIndexId = (int) $xml->lastIndexId;
     }
     if (!empty($xml->shouldUpdate)) {
         $this->shouldUpdate = true;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->timeReference)) {
         $this->timeReference = (int) $xml->timeReference;
     }
     if (count($xml->timeZoneOffset)) {
         $this->timeZoneOffset = (int) $xml->timeZoneOffset;
     }
     $this->entryIds = (string) $xml->entryIds;
     $this->outputPath = (string) $xml->outputPath;
     $this->recipientEmail = (string) $xml->recipientEmail;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->categoryId)) {
         $this->categoryId = (int) $xml->categoryId;
     }
     if (count($xml->lastUpdatedCategoryEntryCreatedAt)) {
         $this->lastUpdatedCategoryEntryCreatedAt = (int) $xml->lastUpdatedCategoryEntryCreatedAt;
     }
     if (count($xml->lastUpdatedCategoryCreatedAt)) {
         $this->lastUpdatedCategoryCreatedAt = (int) $xml->lastUpdatedCategoryCreatedAt;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->serverUrl = (string) $xml->serverUrl;
     $this->serverUsername = (string) $xml->serverUsername;
     $this->serverPassword = (string) $xml->serverPassword;
     if (!empty($xml->ftpPassiveMode)) {
         $this->ftpPassiveMode = true;
     }
     $this->srcFileSyncLocalPath = (string) $xml->srcFileSyncLocalPath;
     $this->srcFileSyncId = (string) $xml->srcFileSyncId;
     $this->destFileSyncStoredPath = (string) $xml->destFileSyncStoredPath;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcFileSyncLocalPath = (string) $xml->srcFileSyncLocalPath;
     $this->actualSrcFileSyncLocalPath = (string) $xml->actualSrcFileSyncLocalPath;
     $this->srcFileSyncRemoteUrl = (string) $xml->srcFileSyncRemoteUrl;
     if (count($xml->thumbParamsOutputId)) {
         $this->thumbParamsOutputId = (int) $xml->thumbParamsOutputId;
     }
     $this->thumbAssetId = (string) $xml->thumbAssetId;
     $this->srcAssetId = (string) $xml->srcAssetId;
     $this->srcAssetType = (string) $xml->srcAssetType;
     $this->thumbPath = (string) $xml->thumbPath;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcXslPath = (string) $xml->srcXslPath;
     if (count($xml->srcVersion)) {
         $this->srcVersion = (int) $xml->srcVersion;
     }
     if (count($xml->destVersion)) {
         $this->destVersion = (int) $xml->destVersion;
     }
     $this->destXsdPath = (string) $xml->destXsdPath;
     if (count($xml->metadataProfileId)) {
         $this->metadataProfileId = (int) $xml->metadataProfileId;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->entryId = (string) $xml->entryId;
     if (count($xml->mediaServerIndex)) {
         $this->mediaServerIndex = (int) $xml->mediaServerIndex;
     }
     if (count($xml->fileIndex)) {
         $this->fileIndex = (int) $xml->fileIndex;
     }
     $this->srcFilePath = (string) $xml->srcFilePath;
     $this->destFilePath = (string) $xml->destFilePath;
     if (count($xml->endTime)) {
         $this->endTime = (double) $xml->endTime;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->dropFolderId)) {
         $this->dropFolderId = (int) $xml->dropFolderId;
     }
     $this->dropFolderFileIds = (string) $xml->dropFolderFileIds;
     $this->parsedSlug = (string) $xml->parsedSlug;
     if (count($xml->contentMatchPolicy)) {
         $this->contentMatchPolicy = (int) $xml->contentMatchPolicy;
     }
     if (count($xml->conversionProfileId)) {
         $this->conversionProfileId = (int) $xml->conversionProfileId;
     }
     $this->parsedUserId = (string) $xml->parsedUserId;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->srcFiles)) {
         $this->srcFiles = array();
     } else {
         $this->srcFiles = \Kaltura\Client\ParseUtils::unmarshalArray($xml->srcFiles, "KalturaString");
     }
     $this->destFilePath = (string) $xml->destFilePath;
     $this->flavorAssetId = (string) $xml->flavorAssetId;
     if (count($xml->offset)) {
         $this->offset = (double) $xml->offset;
     }
     if (count($xml->duration)) {
         $this->duration = (double) $xml->duration;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->srcFileSyncLocalPath = (string) $xml->srcFileSyncLocalPath;
     $this->actualSrcFileSyncLocalPath = (string) $xml->actualSrcFileSyncLocalPath;
     $this->srcFileSyncRemoteUrl = (string) $xml->srcFileSyncRemoteUrl;
     if (empty($xml->srcFileSyncs)) {
         $this->srcFileSyncs = array();
     } else {
         $this->srcFileSyncs = \Kaltura\Client\ParseUtils::unmarshalArray($xml->srcFileSyncs, "KalturaSourceFileSyncDescriptor");
     }
     if (count($xml->engineVersion)) {
         $this->engineVersion = (int) $xml->engineVersion;
     }
     if (count($xml->flavorParamsOutputId)) {
         $this->flavorParamsOutputId = (int) $xml->flavorParamsOutputId;
     }
     if (!empty($xml->flavorParamsOutput)) {
         $this->flavorParamsOutput = \Kaltura\Client\ParseUtils::unmarshalObject($xml->flavorParamsOutput, "KalturaFlavorParamsOutput");
     }
     if (count($xml->mediaInfoId)) {
         $this->mediaInfoId = (int) $xml->mediaInfoId;
     }
     if (count($xml->currentOperationSet)) {
         $this->currentOperationSet = (int) $xml->currentOperationSet;
     }
     if (count($xml->currentOperationIndex)) {
         $this->currentOperationIndex = (int) $xml->currentOperationIndex;
     }
     if (empty($xml->pluginData)) {
         $this->pluginData = array();
     } else {
         $this->pluginData = \Kaltura\Client\ParseUtils::unmarshalArray($xml->pluginData, "KalturaKeyValue");
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->streamID = (string) $xml->streamID;
     $this->backupStreamID = (string) $xml->backupStreamID;
     $this->rtmp = (string) $xml->rtmp;
     $this->encoderIP = (string) $xml->encoderIP;
     $this->backupEncoderIP = (string) $xml->backupEncoderIP;
     $this->encoderPassword = (string) $xml->encoderPassword;
     $this->encoderUsername = (string) $xml->encoderUsername;
     if (count($xml->endDate)) {
         $this->endDate = (int) $xml->endDate;
     }
     $this->returnVal = (string) $xml->returnVal;
     if (count($xml->mediaType)) {
         $this->mediaType = (int) $xml->mediaType;
     }
     $this->primaryBroadcastingUrl = (string) $xml->primaryBroadcastingUrl;
     $this->secondaryBroadcastingUrl = (string) $xml->secondaryBroadcastingUrl;
     $this->streamName = (string) $xml->streamName;
 }