public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kHttpNotificationDataText */
     parent::doFromObject($dbObject, $responseProfile);
     if ($this->shouldGet('content', $responseProfile)) {
         $contentType = get_class($dbObject->getContent());
         KalturaLog::debug("Loading KalturaStringValue from type [{$contentType}]");
         switch ($contentType) {
             case 'kStringValue':
                 $this->content = new KalturaStringValue();
                 break;
             case 'kEvalStringField':
                 $this->content = new KalturaEvalStringField();
                 break;
             default:
                 $this->content = KalturaPluginManager::loadObject('KalturaStringValue', $contentType);
                 break;
         }
         if ($this->content) {
             $this->content->fromObject($dbObject->getContent());
         }
     }
     if ($this->shouldGet('data', $responseProfile)) {
         $this->data = $dbObject->getData();
     }
 }
 public function doFromObject($srcObj, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $srcObj kHttpNotificationDataFields */
     parent::doFromObject($srcObj, $responseProfile);
     if ($this->shouldGet('data', $responseProfile)) {
         $this->data = $srcObj->getData();
     }
 }
 public function doFromObject($srcObj, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $srcObj kHttpNotificationObjectData */
     parent::doFromObject($srcObj, $responseProfile);
     $this->coreObject = $srcObj->getCoreObject();
 }
 public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject HttpNotificationTemplate */
     parent::doFromObject($dbObject, $responseProfile);
     if ($this->shouldGet('data', $responseProfile) && $dbObject->getData()) {
         $this->data = KalturaHttpNotificationData::getInstance($dbObject->getData());
     }
 }
 public function doFromObject($srcObj, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $srcObj kHttpNotificationDispatchJobData */
     parent::doFromObject($srcObj, $responseProfile);
     if (is_null($this->data) && $srcObj->getDataObject()) {
         $dataObject = KalturaHttpNotificationData::getInstance($srcObj->getDataObject());
         if ($dataObject) {
             $this->data = $dataObject->getData($srcObj);
         }
     }
 }