예제 #1
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->fileAssetObjectType = (string) $xml->fileAssetObjectType;
     $this->objectId = (string) $xml->objectId;
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->fileExt = (string) $xml->fileExt;
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     $this->status = (string) $xml->status;
 }
예제 #2
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->id = (string) $xml->id;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     $this->name = (string) $xml->name;
     $this->description = (string) $xml->description;
     $this->tags = (string) $xml->tags;
     $this->type = (string) $xml->type;
     $this->status = (string) $xml->status;
     $this->channelId = (string) $xml->channelId;
     $this->entryId = (string) $xml->entryId;
     $this->triggerType = (string) $xml->triggerType;
     $this->triggerSegmentId = (string) $xml->triggerSegmentId;
     if (count($xml->startTime)) {
         $this->startTime = (double) $xml->startTime;
     }
     if (count($xml->duration)) {
         $this->duration = (double) $xml->duration;
     }
 }
예제 #3
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->message = (string) $xml->message;
     if (empty($xml->actions)) {
         $this->actions = array();
     } else {
         $this->actions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->actions, "KalturaRuleAction");
     }
     if (empty($xml->conditions)) {
         $this->conditions = array();
     } else {
         $this->conditions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->conditions, "KalturaCondition");
     }
     if (empty($xml->contexts)) {
         $this->contexts = array();
     } else {
         $this->contexts = \Kaltura\Client\ParseUtils::unmarshalArray($xml->contexts, "KalturaContextTypeHolder");
     }
     if (!empty($xml->stopProcessing)) {
         $this->stopProcessing = true;
     }
 }
예제 #4
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->engineType = (string) $xml->engineType;
     if (!empty($xml->entryFilter)) {
         $this->entryFilter = \Kaltura\Client\ParseUtils::unmarshalObject($xml->entryFilter, "KalturaBaseEntryFilter");
     }
     if (count($xml->actionIfInfected)) {
         $this->actionIfInfected = (int) $xml->actionIfInfected;
     }
 }
예제 #5
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->expiresAt)) {
         $this->expiresAt = (int) $xml->expiresAt;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->userId = (string) $xml->userId;
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->fullUrl = (string) $xml->fullUrl;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->dropFolderId)) {
         $this->dropFolderId = (int) $xml->dropFolderId;
     }
     $this->fileName = (string) $xml->fileName;
     if (count($xml->fileSize)) {
         $this->fileSize = (double) $xml->fileSize;
     }
     if (count($xml->fileSizeLastSetAt)) {
         $this->fileSizeLastSetAt = (int) $xml->fileSizeLastSetAt;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->type = (string) $xml->type;
     $this->parsedSlug = (string) $xml->parsedSlug;
     $this->parsedFlavor = (string) $xml->parsedFlavor;
     if (count($xml->leadDropFolderFileId)) {
         $this->leadDropFolderFileId = (int) $xml->leadDropFolderFileId;
     }
     if (count($xml->deletedDropFolderFileId)) {
         $this->deletedDropFolderFileId = (int) $xml->deletedDropFolderFileId;
     }
     $this->entryId = (string) $xml->entryId;
     $this->errorCode = (string) $xml->errorCode;
     $this->errorDescription = (string) $xml->errorDescription;
     $this->lastModificationTime = (string) $xml->lastModificationTime;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->uploadStartDetectedAt)) {
         $this->uploadStartDetectedAt = (int) $xml->uploadStartDetectedAt;
     }
     if (count($xml->uploadEndDetectedAt)) {
         $this->uploadEndDetectedAt = (int) $xml->uploadEndDetectedAt;
     }
     if (count($xml->importStartedAt)) {
         $this->importStartedAt = (int) $xml->importStartedAt;
     }
     if (count($xml->importEndedAt)) {
         $this->importEndedAt = (int) $xml->importEndedAt;
     }
     if (count($xml->batchJobId)) {
         $this->batchJobId = (int) $xml->batchJobId;
     }
 }
예제 #7
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->clientVer = (string) $xml->clientVer;
     $this->kmcEventActionPath = (string) $xml->kmcEventActionPath;
     if (count($xml->kmcEventType)) {
         $this->kmcEventType = (int) $xml->kmcEventType;
     }
     if (count($xml->eventTimestamp)) {
         $this->eventTimestamp = (double) $xml->eventTimestamp;
     }
     $this->sessionId = (string) $xml->sessionId;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->entryId = (string) $xml->entryId;
     $this->widgetId = (string) $xml->widgetId;
     if (count($xml->uiconfId)) {
         $this->uiconfId = (int) $xml->uiconfId;
     }
     $this->userId = (string) $xml->userId;
     $this->userIp = (string) $xml->userIp;
 }
예제 #8
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->id = (string) $xml->id;
     $this->entryId = (string) $xml->entryId;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     if (count($xml->size)) {
         $this->size = (int) $xml->size;
     }
     $this->tags = (string) $xml->tags;
     $this->fileExt = (string) $xml->fileExt;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->deletedAt)) {
         $this->deletedAt = (int) $xml->deletedAt;
     }
     $this->description = (string) $xml->description;
     $this->partnerData = (string) $xml->partnerData;
     $this->partnerDescription = (string) $xml->partnerDescription;
     $this->actualSourceAssetParamsIds = (string) $xml->actualSourceAssetParamsIds;
 }
예제 #9
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->packageBandwidthAndStorage)) {
         $this->packageBandwidthAndStorage = (int) $xml->packageBandwidthAndStorage;
     }
     if (count($xml->hosting)) {
         $this->hosting = (double) $xml->hosting;
     }
     if (count($xml->bandwidth)) {
         $this->bandwidth = (double) $xml->bandwidth;
     }
     if (count($xml->usage)) {
         $this->usage = (int) $xml->usage;
     }
     if (count($xml->usagePercent)) {
         $this->usagePercent = (double) $xml->usagePercent;
     }
     if (count($xml->reachedLimitDate)) {
         $this->reachedLimitDate = (int) $xml->reachedLimitDate;
     }
 }
예제 #10
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->categoryId)) {
         $this->categoryId = (int) $xml->categoryId;
     }
     $this->userId = (string) $xml->userId;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->permissionLevel)) {
         $this->permissionLevel = (int) $xml->permissionLevel;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->updateMethod)) {
         $this->updateMethod = (int) $xml->updateMethod;
     }
     $this->categoryFullIds = (string) $xml->categoryFullIds;
     $this->permissionNames = (string) $xml->permissionNames;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->conversionProfileId)) {
         $this->conversionProfileId = (int) $xml->conversionProfileId;
     }
     if (count($xml->assetParamsId)) {
         $this->assetParamsId = (int) $xml->assetParamsId;
     }
     if (count($xml->readyBehavior)) {
         $this->readyBehavior = (int) $xml->readyBehavior;
     }
     if (count($xml->origin)) {
         $this->origin = (int) $xml->origin;
     }
     $this->systemName = (string) $xml->systemName;
     if (count($xml->forceNoneComplied)) {
         $this->forceNoneComplied = (int) $xml->forceNoneComplied;
     }
     if (count($xml->deletePolicy)) {
         $this->deletePolicy = (int) $xml->deletePolicy;
     }
 }
예제 #12
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->audience)) {
         $this->audience = (int) $xml->audience;
     }
     if (count($xml->avgBitrate)) {
         $this->avgBitrate = (double) $xml->avgBitrate;
     }
     if (count($xml->bufferTime)) {
         $this->bufferTime = (int) $xml->bufferTime;
     }
     if (count($xml->plays)) {
         $this->plays = (int) $xml->plays;
     }
     if (count($xml->secondsViewed)) {
         $this->secondsViewed = (int) $xml->secondsViewed;
     }
     if (count($xml->startEvent)) {
         $this->startEvent = (string) $xml->startEvent;
     }
     if (count($xml->timestamp)) {
         $this->timestamp = (int) $xml->timestamp;
     }
 }
예제 #13
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->isDefault)) {
         $this->isDefault = (int) $xml->isDefault;
     }
     if (empty($xml->restrictions)) {
         $this->restrictions = array();
     } else {
         $this->restrictions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->restrictions, "KalturaBaseRestriction");
     }
     if (!empty($xml->containsUnsuportedRestrictions)) {
         $this->containsUnsuportedRestrictions = true;
     }
 }
예제 #14
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     $this->provider = (string) $xml->provider;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->scenario = (string) $xml->scenario;
     $this->licenseType = (string) $xml->licenseType;
     if (count($xml->licenseExpirationPolicy)) {
         $this->licenseExpirationPolicy = (int) $xml->licenseExpirationPolicy;
     }
     if (count($xml->duration)) {
         $this->duration = (int) $xml->duration;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
예제 #15
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->permissionNames = (string) $xml->permissionNames;
     $this->tags = (string) $xml->tags;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
예제 #16
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->metadataObjectType = (string) $xml->metadataObjectType;
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->xsd = (string) $xml->xsd;
     $this->views = (string) $xml->views;
     $this->xslt = (string) $xml->xslt;
     if (count($xml->createMode)) {
         $this->createMode = (int) $xml->createMode;
     }
 }
예제 #17
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->id = (string) $xml->id;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->userId = (string) $xml->userId;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->fileName = (string) $xml->fileName;
     if (count($xml->fileSize)) {
         $this->fileSize = (double) $xml->fileSize;
     }
     if (count($xml->uploadedFileSize)) {
         $this->uploadedFileSize = (double) $xml->uploadedFileSize;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
예제 #19
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     $this->description = (string) $xml->description;
     $this->provider = (string) $xml->provider;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->licenseServerUrl = (string) $xml->licenseServerUrl;
     $this->defaultPolicy = (string) $xml->defaultPolicy;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->type = (string) $xml->type;
     $this->name = (string) $xml->name;
     if (!empty($xml->scheduleUpdateEnabled)) {
         $this->scheduleUpdateEnabled = true;
     }
     if (!empty($xml->availabilityUpdateEnabled)) {
         $this->availabilityUpdateEnabled = true;
     }
     if (!empty($xml->deleteInsteadUpdate)) {
         $this->deleteInsteadUpdate = true;
     }
     if (count($xml->intervalBeforeSunrise)) {
         $this->intervalBeforeSunrise = (int) $xml->intervalBeforeSunrise;
     }
     if (count($xml->intervalBeforeSunset)) {
         $this->intervalBeforeSunset = (int) $xml->intervalBeforeSunset;
     }
     $this->updateRequiredEntryFields = (string) $xml->updateRequiredEntryFields;
     $this->updateRequiredMetadataXPaths = (string) $xml->updateRequiredMetadataXPaths;
 }
예제 #21
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->metadataProfileId)) {
         $this->metadataProfileId = (int) $xml->metadataProfileId;
     }
     if (count($xml->metadataProfileVersion)) {
         $this->metadataProfileVersion = (int) $xml->metadataProfileVersion;
     }
     $this->metadataObjectType = (string) $xml->metadataObjectType;
     $this->objectId = (string) $xml->objectId;
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->xml = (string) $xml->xml;
 }
예제 #22
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->userId = (string) $xml->userId;
     $this->moderationObjectType = (string) $xml->moderationObjectType;
     $this->flaggedEntryId = (string) $xml->flaggedEntryId;
     $this->flaggedUserId = (string) $xml->flaggedUserId;
     $this->status = (string) $xml->status;
     $this->comments = (string) $xml->comments;
     if (count($xml->flagType)) {
         $this->flagType = (int) $xml->flagType;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
예제 #23
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->value = (string) $xml->value;
 }
예제 #24
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->extendedFeatures = (string) $xml->extendedFeatures;
 }
예제 #25
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->keyId = (string) $xml->keyId;
     $this->contentKey = (string) $xml->contentKey;
 }
예제 #26
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->header = (string) $xml->header;
     $this->data = (string) $xml->data;
 }
예제 #27
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->hosts = (string) $xml->hosts;
     $this->uriPrefix = (string) $xml->uriPrefix;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->download)) {
         $this->download = true;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->publishUrl = (string) $xml->publishUrl;
     $this->backupPublishUrl = (string) $xml->backupPublishUrl;
     $this->port = (string) $xml->port;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->protocol = (string) $xml->protocol;
     $this->url = (string) $xml->url;
     $this->publishUrl = (string) $xml->publishUrl;
 }